Show / Hide Table of Contents

Class TablePolicy

(experimental) A Policy for S3 Tables.

Inheritance
object
Resource
TablePolicy
Implements
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.S3Tables.Alpha
Assembly: Amazon.CDK.AWS.S3Tables.Alpha.dll
Syntax (csharp)
public class TablePolicy : Resource, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class TablePolicy Inherits Resource Implements IResource, IConstruct, IDependable, IEnvironmentAware
Remarks

You will almost never need to use this construct directly. Instead, Table.addToResourcePolicy can be used to add more policies to your table directly

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;
             Table table;

             var tablePolicy = new TablePolicy(this, "MyTablePolicy", new TablePolicyProps {
                 Table = table,

                 // the properties below are optional
                 RemovalPolicy = RemovalPolicy.DESTROY,
                 ResourcePolicy = policyDocument
             });

Synopsis

Constructors

TablePolicy(Construct, string, ITablePolicyProps)

(experimental) A Policy for S3 Tables.

Properties

Document

(experimental) The IAM PolicyDocument containing permissions represented by this policy.

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

Constructors

TablePolicy(Construct, string, ITablePolicyProps)

(experimental) A Policy for S3 Tables.

public TablePolicy(Construct scope, string id, ITablePolicyProps props)
Parameters
scope Construct
id string
props ITablePolicyProps
Remarks

Stability: Experimental

Properties

Document

(experimental) The IAM PolicyDocument containing permissions represented by this policy.

public virtual PolicyDocument Document { get; }
Property Value

PolicyDocument

Remarks

Stability: Experimental

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Stability: Experimental

Implements

IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX