cloudfront-origin-access-identity-enabled
Checks if Amazon CloudFront distribution with S3 Origin type has Origin Access Identity (OAI) configured. The rule is NON_COMPLIANT if the CloudFront distribution is backed by S3 and any of S3 Origin type is not OAI configured or if the origin is not an S3 bucket.
The rule does not return NOT_APPLICABLE if the origin is not an S3 bucket.
Identifier: CLOUDFRONT_ORIGIN_ACCESS_IDENTITY_ENABLED
Resource Types: AWS::CloudFront::Distribution
Trigger type: Configuration changes
AWS Region: Only available in US East (N. Virginia) Region
Parameters:
- None
AWS CloudFormation template
To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.