Difference between revisions of "AWS::CloudFront::Distribution"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* <code>[[AWS::CloudFront]]</code> | * <code>[[AWS::CloudFront]]</code> | ||
+ | * [[AWS::CloudFront::Distribution Origin]] | ||
+ | |||
+ | == Example == | ||
+ | https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distribution.html | ||
+ | |||
+ | 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 == | == Related terms == | ||
* <code>[[Fn::GetAtt]]</code> | * <code>[[Fn::GetAtt]]</code> | ||
+ | * [[OriginCustomHeaders]] | ||
==See also== | ==See also== |
Latest revision as of 12:37, 24 May 2023
Example[edit]
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[edit]
See also[edit]
Advertising: