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 = true })
});
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.
virtual Nullable<bool> BlockPublicAcls { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
BlockPublicPolicy
Whether to block public policy.
virtual Nullable<bool> BlockPublicPolicy { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
IgnorePublicAcls
Whether to ignore public ACLs.
virtual Nullable<bool> IgnorePublicAcls { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
RestrictPublicBuckets
Whether to restrict public access.
virtual Nullable<bool> RestrictPublicBuckets { get; }
Property Value
System.Nullable<System.Boolean>