TablePolicy

class TablePolicy : KotlinCustomResource

Resource for managing an Amazon S3 Tables Table Policy.

Example Usage

Basic Usage

resources:
exampleTablePolicy:
type: aws:s3tables:TablePolicy
name: example
properties:
resourcePolicy: ${example.json}
name: ${test.name}
namespace: ${test.namespace}
tableBucketArn: ${test.tableBucketArn}
exampleTable:
type: aws:s3tables:Table
name: example
properties:
name: example_table
namespace: ${exampleNamespace}
tableBucketArn: ${exampleNamespace.tableBucketArn}
format: ICEBERG
exampleNamespace:
type: aws:s3tables:Namespace
name: example
properties:
namespace:
- example-namespace
tableBucketArn: ${exampleTableBucket.arn}
exampleTableBucket:
type: aws:s3tables:TableBucket
name: example
properties:
name: example-bucket
variables:
example:
fn::invoke:
function: aws:iam:getPolicyDocument
arguments:
statements:
- {}

Import

Using pulumi import, import S3 Tables Table Policy using the table_bucket_arn, the value of namespace, and the value of name, separated by a semicolon (;). For example:

$ pulumi import aws:s3tables/tablePolicy:TablePolicy example 'arn:aws:s3tables:us-west-2:123456789012:bucket/example-bucket;example-namespace;example-table'

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Name of the table. Must be between 1 and 255 characters in length. Can consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.

Link copied to clipboard
val namespace: Output<String>

Name of the namespace for this table. Must be between 1 and 255 characters in length. Can consist of lowercase letters, numbers, and underscores, and must begin and end with a lowercase letter or number.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourcePolicy: Output<String>

Amazon Web Services resource-based policy document in JSON format.

Link copied to clipboard
val tableBucketArn: Output<String>

ARN referencing the Table Bucket that contains this Namespace.

Link copied to clipboard
val urn: Output<String>