
com.pulumi.aws.cloudfront.inputs.ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurityArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.cloudfront.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurityArgs extends com.pulumi.resources.ResourceArgs {
public static final ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurityArgs Empty = new ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurityArgs();
/**
* A number that CloudFront uses as the value for the `max-age` directive in the `Strict-Transport-Security` HTTP response header.
*
*/
@Import(name="accessControlMaxAgeSec", required=true)
private Output accessControlMaxAgeSec;
/**
* @return A number that CloudFront uses as the value for the `max-age` directive in the `Strict-Transport-Security` HTTP response header.
*
*/
public Output accessControlMaxAgeSec() {
return this.accessControlMaxAgeSec;
}
/**
* Whether CloudFront includes the `includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.
*
*/
@Import(name="includeSubdomains")
private @Nullable Output includeSubdomains;
/**
* @return Whether CloudFront includes the `includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy