Difference between revisions of "AWS::CloudFront::Distribution"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* <code>[[AWS::CloudFront]]</code> | * <code>[[AWS::CloudFront]]</code> | ||
+ | |||
+ | == Example == | ||
+ | <pre> | ||
+ | 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 | ||
+ | </pre> | ||
== Related terms == | == Related terms == |
Revision as of 14:24, 27 August 2021
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: