package awscloudfront // An HTTP response header name and its value. // // CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // customHeaderProperty := &CustomHeaderProperty{ // Header: jsii.String("header"), // Override: jsii.Boolean(false), // Value: jsii.String("value"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html // type CfnResponseHeadersPolicy_CustomHeaderProperty struct { // The HTTP response header name. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html#cfn-cloudfront-responseheaderspolicy-customheader-header // Header *string `field:"required" json:"header" yaml:"header"` // A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html#cfn-cloudfront-responseheaderspolicy-customheader-override // Override interface{} `field:"required" json:"override" yaml:"override"` // The value for the HTTP response header. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html#cfn-cloudfront-responseheaderspolicy-customheader-value // Value *string `field:"required" json:"value" yaml:"value"` }