Show / Hide Table of Contents

Class TableBucketPolicyProps

(experimental) Parameters for constructing a TableBucketPolicy.

Inheritance
object
TableBucketPolicyProps
Implements
ITableBucketPolicyProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.S3Tables.Alpha
Assembly: Amazon.CDK.AWS.S3Tables.Alpha.dll
Syntax (csharp)
public class TableBucketPolicyProps : ITableBucketPolicyProps
Syntax (vb)
Public Class TableBucketPolicyProps Implements 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

Constructors

TableBucketPolicyProps()

(experimental) Parameters for constructing a TableBucketPolicy.

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.

Constructors

TableBucketPolicyProps()

(experimental) Parameters for constructing a TableBucketPolicy.

public TableBucketPolicyProps()
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
             };

Properties

RemovalPolicy

(experimental) Policy to apply when the policy is removed from this stack.

public RemovalPolicy? RemovalPolicy { get; set; }
Property Value

RemovalPolicy?

Remarks

Default: - RemovalPolicy.DESTROY.

Stability: Experimental

ResourcePolicy

(experimental) The policy document for the bucket's resource policy.

public PolicyDocument? ResourcePolicy { get; set; }
Property Value

PolicyDocument

Remarks

Default: undefined An empty iam.PolicyDocument will be initialized

Stability: Experimental

TableBucket

(experimental) The associated table bucket.

public ITableBucket TableBucket { get; set; }
Property Value

ITableBucket

Remarks

Stability: Experimental

Implements

ITableBucketPolicyProps
Back to top Generated by DocFX