Difference between revisions of "AWS::CloudFront::Distribution"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
== Example == | == Example == | ||
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distribution.html | https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distribution.html | ||
− | + | ||
− | AWSTemplateFormatVersion: 2010-09-09 | + | AWSTemplateFormatVersion: 2010-09-09 |
− | Resources: | + | Resources: |
− | + | cloudfrontdistribution: | |
− | + | Type: AWS::CloudFront::Distribution | |
− | + | Properties: | |
− | + | DistributionConfig: | |
− | + | [[CacheBehaviors:]] | |
− | + | - LambdaFunctionAssociations: | |
− | + | - EventType: string-value | |
− | + | LambdaFunctionARN: string-value | |
− | + | DefaultCacheBehavior: | |
− | + | LambdaFunctionAssociations: | |
− | + | - EventType: string-value | |
− | + | LambdaFunctionARN: string-value | |
− | + | IPV6Enabled: boolean-value | |
− | + | Origins: | |
− | + | - CustomOriginConfig: | |
− | + | OriginKeepaliveTimeout: integer-value | |
− | + | OriginReadTimeout: integer-value | |
− | + | Tags: | |
− | + | - Key: string-value | |
− | + | Value: string-value | |
− | |||
== Related terms == | == Related terms == |
Revision as of 11:12, 22 February 2022
Example
AWSTemplateFormatVersion: 2010-09-09 Resources: cloudfrontdistribution: Type: AWS::CloudFront::Distribution Properties: DistributionConfig: CacheBehaviors: - LambdaFunctionAssociations: - EventType: string-value LambdaFunctionARN: string-value DefaultCacheBehavior: LambdaFunctionAssociations: - EventType: string-value LambdaFunctionARN: string-value IPV6Enabled: boolean-value Origins: - CustomOriginConfig: OriginKeepaliveTimeout: integer-value OriginReadTimeout: integer-value Tags: - Key: string-value Value: string-value
Related terms
See also
Advertising: