hey all. Did anyone here managed to create a `clou...
# aws
b
hey all. Did anyone here managed to create a
cloudfront
security headers policy in Pulumi?
g
type spec has a dict:
Copy code
interface ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity {
        /**
         * A number that CloudFront uses as the value for the `max-age` directive in the `Strict-Transport-Security` HTTP response header.
         */
        accessControlMaxAgeSec: pulumi.Input<number>;
        /**
         * A Boolean value that determines whether CloudFront includes the `includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.
         */
        includeSubdomains?: pulumi.Input<boolean>;
        /**
         * A Boolean value that determines whether CloudFront overrides the `X-XSS-Protection` HTTP response header received from the origin with the one specified in this response headers policy.
         */
        override: pulumi.Input<boolean>;
        /**
         * A Boolean value that determines whether CloudFront includes the `preload` directive in the `Strict-Transport-Security` HTTP response header.
         */
        preload?: pulumi.Input<boolean>;
    }
If you are using VSCode or similar you can right-click and "Go to Definition"