Interface ITableBucketPolicyProps
(experimental) Parameters for constructing a TableBucketPolicy.
Namespace: Amazon.CDK.AWS.S3Tables.Alpha
Assembly: Amazon.CDK.AWS.S3Tables.Alpha.dll
Syntax (csharp)
public interface ITableBucketPolicyProps
Syntax (vb)
Public Interface ITableBucketPolicyProps
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3Tables.Alpha;
using Amazon.CDK;
using Amazon.CDK.AWS.IAM;
PolicyDocument policyDocument;
TableBucket tableBucket;
var tableBucketPolicyProps = new TableBucketPolicyProps {
TableBucket = tableBucket,
// the properties below are optional
RemovalPolicy = RemovalPolicy.DESTROY,
ResourcePolicy = policyDocument
};
Synopsis
Properties
RemovalPolicy | (experimental) Policy to apply when the policy is removed from this stack. |
ResourcePolicy | (experimental) The policy document for the bucket's resource policy. |
TableBucket | (experimental) The associated table bucket. |
Properties
RemovalPolicy
(experimental) Policy to apply when the policy is removed from this stack.
RemovalPolicy? RemovalPolicy { get; }
Property Value
Remarks
Default: - RemovalPolicy.DESTROY.
Stability: Experimental
ResourcePolicy
(experimental) The policy document for the bucket's resource policy.
PolicyDocument? ResourcePolicy { get; }
Property Value
Remarks
Default: undefined An empty iam.PolicyDocument will be initialized
Stability: Experimental
TableBucket
(experimental) The associated table bucket.
ITableBucket TableBucket { get; }
Property Value
Remarks
Stability: Experimental