Class BucketBlockPublicAccess
(experimental) S3-specific mixin for blocking public-access.
Implements
Namespace: Amazon.CDK.Mixins.Preview.AWS.S3.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class BucketBlockPublicAccess : DeputyBase, IMixin
Syntax (vb)
Public Class BucketBlockPublicAccess Inherits DeputyBase Implements IMixin
Remarks
Stability: Experimental
Mixin: true
ExampleMetadata: infused
Examples
var bucket = new CfnBucket(scope, "Bucket");
Mixins.Of(bucket).Apply(new BucketBlockPublicAccess());
Synopsis
Constructors
| BucketBlockPublicAccess(BlockPublicAccess?) | (experimental) S3-specific mixin for blocking public-access. |
Methods
| ApplyTo(IConstruct) | (experimental) Applies the mixin functionality to the target construct. |
| Supports(IConstruct) | (experimental) Determines whether this mixin can be applied to the given construct. |
Constructors
BucketBlockPublicAccess(BlockPublicAccess?)
(experimental) S3-specific mixin for blocking public-access.
public BucketBlockPublicAccess(BlockPublicAccess? publicAccessConfig = null)
Parameters
- publicAccessConfig BlockPublicAccess
Remarks
Stability: Experimental
Methods
ApplyTo(IConstruct)
(experimental) Applies the mixin functionality to the target construct.
public virtual void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Remarks
Stability: Experimental
Supports(IConstruct)
(experimental) Determines whether this mixin can be applied to the given construct.
public virtual bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Remarks
Stability: Experimental