Skip to content

Latest commit

 

History

History
83 lines (50 loc) · 2.63 KB

File metadata and controls

83 lines (50 loc) · 2.63 KB

Community::S3::PublicAccessBlock

Account level public access block (applies to all buckets within account).

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
    "Type" : "Community::S3::PublicAccessBlock",
    "Properties" : {
        "BlockPublicAcls" : Boolean,
        "BlockPublicPolicy" : Boolean,
        "IgnorePublicAcls" : Boolean,
        "RestrictPublicBuckets" : Boolean,
    }
}

YAML

Type: Community::S3::PublicAccessBlock
Properties:
    BlockPublicAcls: Boolean
    BlockPublicPolicy: Boolean
    IgnorePublicAcls: Boolean
    RestrictPublicBuckets: Boolean

Properties

BlockPublicAcls

Required: No

Type: Boolean

Update requires: No interruption

BlockPublicPolicy

Required: No

Type: Boolean

Update requires: No interruption

IgnorePublicAcls

Required: No

Type: Boolean

Update requires: No interruption

RestrictPublicBuckets

Required: No

Type: Boolean

Update requires: No interruption

Return Values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ResourceId.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

ResourceId

Returns the ResourceId value.