Show / Hide Table of Contents

Interface IBlockPublicAccessOptions

Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IBlockPublicAccessOptions
Syntax (vb)
Public Interface IBlockPublicAccessOptions
Remarks

ExampleMetadata: infused

Examples
var bucket = new Bucket(this, "MyBlockedBucket", new BucketProps {
                BlockPublicAccess = new BlockPublicAccess(new BlockPublicAccessOptions { BlockPublicPolicy = false })
            });

Synopsis

Properties

BlockPublicAcls

Whether to block public ACLs.

BlockPublicPolicy

Whether to block public policy.

IgnorePublicAcls

Whether to ignore public ACLs.

RestrictPublicBuckets

Whether to restrict public access.

Properties

BlockPublicAcls

Whether to block public ACLs.

bool? BlockPublicAcls { get; }
Property Value

bool?

Remarks

See: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-options

BlockPublicPolicy

Whether to block public policy.

bool? BlockPublicPolicy { get; }
Property Value

bool?

Remarks

See: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-options

IgnorePublicAcls

Whether to ignore public ACLs.

bool? IgnorePublicAcls { get; }
Property Value

bool?

Remarks

See: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-options

RestrictPublicBuckets

Whether to restrict public access.

bool? RestrictPublicBuckets { get; }
Property Value

bool?

Remarks

See: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-options

Back to top Generated by DocFX