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
BlockPublicPolicy
IgnorePublicAcls
RestrictPublicBuckets
Whether to restrict public access.
bool? RestrictPublicBuckets { get; }
Property Value
bool?