@Stability(value=Stable) public static final class CfnResponseHeadersPolicy.Builder extends Object implements software.amazon.jsii.Builder<CfnResponseHeadersPolicy>
CfnResponseHeadersPolicy.| Modifier and Type | Method and Description |
|---|---|
CfnResponseHeadersPolicy |
build() |
static CfnResponseHeadersPolicy.Builder |
create(software.constructs.Construct scope,
String id) |
CfnResponseHeadersPolicy.Builder |
responseHeadersPolicyConfig(CfnResponseHeadersPolicy.ResponseHeadersPolicyConfigProperty responseHeadersPolicyConfig)
A response headers policy configuration.
|
CfnResponseHeadersPolicy.Builder |
responseHeadersPolicyConfig(IResolvable responseHeadersPolicyConfig)
A response headers policy configuration.
|
@Stability(value=Stable) public static CfnResponseHeadersPolicy.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.Builder.@Stability(value=Stable) public CfnResponseHeadersPolicy.Builder responseHeadersPolicyConfig(CfnResponseHeadersPolicy.ResponseHeadersPolicyConfigProperty responseHeadersPolicyConfig)
A response headers policy contains information about a set of HTTP response headers and their values. CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match a cache behavior that’s associated with the policy.
responseHeadersPolicyConfig - A response headers policy configuration. This parameter is required.this@Stability(value=Stable) public CfnResponseHeadersPolicy.Builder responseHeadersPolicyConfig(IResolvable responseHeadersPolicyConfig)
A response headers policy contains information about a set of HTTP response headers and their values. CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match a cache behavior that’s associated with the policy.
responseHeadersPolicyConfig - A response headers policy configuration. This parameter is required.this@Stability(value=Stable) public CfnResponseHeadersPolicy build()
build in interface software.amazon.jsii.Builder<CfnResponseHeadersPolicy>Copyright © 2022. All rights reserved.