Overview

A config rule that checks if an Amazon CloudFront distribution is configured to return a specific object that is the default root object. The rule is NON_COMPLIANT if CloudFront distribution does not have a default root object configured.

Configuration Templates

Items
1
Size
0.7 KB
AWSTemplateFormatVersion: '2010-09-09'
Description: ''
Resources:
  ConfigRule:
    Type: 'AWS::Config::ConfigRule'
    Properties:
      ConfigRuleName: cloudfront-default-root-object-configured
      Description: >-
        A config rule that checks if an Amazon CloudFront distribution is
        configured to return a specific object that is the default root object.
        The rule is NON_COMPLIANT if CloudFront distribution does not have a
        default root object configured.
      Scope:
        ComplianceResourceTypes:
          - 'AWS::CloudFront::Distribution'
      Source:
        Owner: AWS
        SourceIdentifier: CLOUDFRONT_DEFAULT_ROOT_OBJECT_CONFIGURED
Parameters: {}
Metadata: {}
Conditions: {}

Actions



Customize Template

Rule Parameters

No rule paramters
 
* Required field

Sources and Documentation

Configuration Source: AWS Documentation

Additional Documentation:

© 2020 asecurecloud Inc. All Rights Reserved.