aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
649 lines (648 loc) • 28.8 kB
TypeScript
import * as cdk from "../../core";
import * as constructs from "constructs";
import * as cfn_parse from "../../core/lib/helpers-internal";
/**
* Creates a namespace.
*
* A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see [Create a namespace](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace-create.html) in the *Amazon Simple Storage Service User Guide* .
*
* - **Permissions** - You must have the `s3tables:CreateNamespace` permission to use this operation.
*
* @cloudformationResource AWS::S3Tables::Namespace
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html
*/
export declare class CfnNamespace extends cdk.CfnResource implements cdk.IInspectable {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnNamespace from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnNamespace;
/**
* The name of the namespace.
*/
namespace: string;
/**
* The Amazon Resource Name (ARN) of the specified table bucket.
*/
tableBucketArn: string;
/**
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnNamespaceProps);
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
/**
* Properties for defining a `CfnNamespace`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html
*/
export interface CfnNamespaceProps {
/**
* The name of the namespace.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html#cfn-s3tables-namespace-namespace
*/
readonly namespace: string;
/**
* The Amazon Resource Name (ARN) of the specified table bucket.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html#cfn-s3tables-namespace-tablebucketarn
*/
readonly tableBucketArn: string;
}
/**
* Creates a new table associated with the given namespace in a table bucket.
*
* For more information, see [Creating an Amazon S3 table](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-create.html) in the *Amazon Simple Storage Service User Guide* .
*
* - **Permissions** - - You must have the `s3tables:CreateTable` permission to use this operation.
* - If you use this operation with the optional `metadata` request parameter you must have the `s3tables:PutTableData` permission.
* - If you use this operation with the optional `encryptionConfiguration` request parameter you must have the `s3tables:PutTableEncryption` permission.
*
* > Additionally, If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see [Permissions requirements for S3 Tables SSE-KMS encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html) .
*
* @cloudformationResource AWS::S3Tables::Table
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html
*/
export declare class CfnTable extends cdk.CfnResource implements cdk.IInspectable {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnTable from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnTable;
/**
* The Amazon Resource Name (ARN) of the table.
*
* @cloudformationAttribute TableARN
*/
readonly attrTableArn: string;
/**
* The version token of the table
*
* @cloudformationAttribute VersionToken
*/
readonly attrVersionToken: string;
/**
* The warehouse location of the table.
*
* @cloudformationAttribute WarehouseLocation
*/
readonly attrWarehouseLocation: string;
/**
* Settings governing the Compaction maintenance action.
*/
compaction?: CfnTable.CompactionProperty | cdk.IResolvable;
/**
* Contains details about the metadata for an Iceberg table.
*/
icebergMetadata?: CfnTable.IcebergMetadataProperty | cdk.IResolvable;
/**
* The name of the namespace.
*/
namespace: string;
/**
* Format of the table.
*/
openTableFormat: string;
/**
* Contains details about the snapshot management settings for an Iceberg table.
*/
snapshotManagement?: cdk.IResolvable | CfnTable.SnapshotManagementProperty;
/**
* The Amazon Resource Name (ARN) of the specified table bucket.
*/
tableBucketArn: string;
/**
* The name for the table.
*/
tableName: string;
/**
* Indicates that you don't want to specify a schema for the table.
*/
withoutMetadata?: string;
/**
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnTableProps);
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
export declare namespace CfnTable {
/**
* Settings governing the Compaction maintenance action.
*
* Contains details about the compaction settings for an Iceberg table.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-compaction.html
*/
interface CompactionProperty {
/**
* Indicates whether the Compaction maintenance action is enabled.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-compaction.html#cfn-s3tables-table-compaction-status
*/
readonly status?: string;
/**
* The target file size for the table in MB.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-compaction.html#cfn-s3tables-table-compaction-targetfilesizemb
*/
readonly targetFileSizeMb?: number;
}
/**
* Contains details about the metadata for an Iceberg table.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-icebergmetadata.html
*/
interface IcebergMetadataProperty {
/**
* Contains details about the schema for an Iceberg table.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-icebergmetadata.html#cfn-s3tables-table-icebergmetadata-icebergschema
*/
readonly icebergSchema: CfnTable.IcebergSchemaProperty | cdk.IResolvable;
}
/**
* Contains details about the schema for an Iceberg table.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-icebergschema.html
*/
interface IcebergSchemaProperty {
/**
* Contains details about the schema for an Iceberg table.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-icebergschema.html#cfn-s3tables-table-icebergschema-schemafieldlist
*/
readonly schemaFieldList: Array<cdk.IResolvable | CfnTable.SchemaFieldProperty> | cdk.IResolvable;
}
/**
* Contains details about a schema field.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-schemafield.html
*/
interface SchemaFieldProperty {
/**
* The name of the field.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-schemafield.html#cfn-s3tables-table-schemafield-name
*/
readonly name: string;
/**
* A Boolean value that specifies whether values are required for each row in this field.
*
* By default, this is `false` and null values are allowed in the field. If this is `true` the field does not allow null values.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-schemafield.html#cfn-s3tables-table-schemafield-required
*/
readonly required?: boolean | cdk.IResolvable;
/**
* The field type.
*
* S3 Tables supports all Apache Iceberg primitive types. For more information, see the [Apache Iceberg documentation](https://docs.aws.amazon.com/https://iceberg.apache.org/spec/#primitive-types) .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-schemafield.html#cfn-s3tables-table-schemafield-type
*/
readonly type: string;
}
/**
* Contains details about the snapshot management settings for an Iceberg table.
*
* A snapshot is expired when it exceeds MinSnapshotsToKeep and MaxSnapshotAgeHours.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-snapshotmanagement.html
*/
interface SnapshotManagementProperty {
/**
* The maximum age of a snapshot before it can be expired.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-snapshotmanagement.html#cfn-s3tables-table-snapshotmanagement-maxsnapshotagehours
*/
readonly maxSnapshotAgeHours?: number;
/**
* The minimum number of snapshots to keep.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-snapshotmanagement.html#cfn-s3tables-table-snapshotmanagement-minsnapshotstokeep
*/
readonly minSnapshotsToKeep?: number;
/**
* Indicates whether the SnapshotManagement maintenance action is enabled.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-snapshotmanagement.html#cfn-s3tables-table-snapshotmanagement-status
*/
readonly status?: string;
}
}
/**
* Properties for defining a `CfnTable`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html
*/
export interface CfnTableProps {
/**
* Settings governing the Compaction maintenance action.
*
* Contains details about the compaction settings for an Iceberg table.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-compaction
*/
readonly compaction?: CfnTable.CompactionProperty | cdk.IResolvable;
/**
* Contains details about the metadata for an Iceberg table.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-icebergmetadata
*/
readonly icebergMetadata?: CfnTable.IcebergMetadataProperty | cdk.IResolvable;
/**
* The name of the namespace.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-namespace
*/
readonly namespace: string;
/**
* Format of the table.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-opentableformat
*/
readonly openTableFormat: string;
/**
* Contains details about the snapshot management settings for an Iceberg table.
*
* A snapshot is expired when it exceeds MinSnapshotsToKeep and MaxSnapshotAgeHours.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-snapshotmanagement
*/
readonly snapshotManagement?: cdk.IResolvable | CfnTable.SnapshotManagementProperty;
/**
* The Amazon Resource Name (ARN) of the specified table bucket.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-tablebucketarn
*/
readonly tableBucketArn: string;
/**
* The name for the table.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-tablename
*/
readonly tableName: string;
/**
* Indicates that you don't want to specify a schema for the table.
*
* This property is mutually exclusive to 'IcebergMetadata', and its only possible value is 'Yes'.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-withoutmetadata
*/
readonly withoutMetadata?: string;
}
/**
* Creates a table bucket.
*
* For more information, see [Creating a table bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets-create.html) in the *Amazon Simple Storage Service User Guide* .
*
* - **Permissions** - - You must have the `s3tables:CreateTableBucket` permission to use this operation.
* - If you use this operation with the optional `encryptionConfiguration` parameter you must have the `s3tables:PutTableBucketEncryption` permission.
*
* @cloudformationResource AWS::S3Tables::TableBucket
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html
*/
export declare class CfnTableBucket extends cdk.CfnResource implements cdk.IInspectable {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnTableBucket from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnTableBucket;
/**
* The Amazon Resource Name (ARN) of the table bucket.
*
* @cloudformationAttribute TableBucketARN
*/
readonly attrTableBucketArn: string;
/**
* Configuration specifying how data should be encrypted.
*/
encryptionConfiguration?: CfnTableBucket.EncryptionConfigurationProperty | cdk.IResolvable;
/**
* The name for the table bucket.
*/
tableBucketName: string;
/**
* The unreferenced file removal settings for your table bucket.
*/
unreferencedFileRemoval?: cdk.IResolvable | CfnTableBucket.UnreferencedFileRemovalProperty;
/**
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnTableBucketProps);
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
export declare namespace CfnTableBucket {
/**
* The unreferenced file removal settings for your table bucket.
*
* Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots. For more information, see the [*Amazon S3 User Guide*](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html) .
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-unreferencedfileremoval.html
*/
interface UnreferencedFileRemovalProperty {
/**
* The number of days an object can be noncurrent before Amazon S3 deletes it.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-unreferencedfileremoval.html#cfn-s3tables-tablebucket-unreferencedfileremoval-noncurrentdays
*/
readonly noncurrentDays?: number;
/**
* The status of the unreferenced file removal configuration for your table bucket.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-unreferencedfileremoval.html#cfn-s3tables-tablebucket-unreferencedfileremoval-status
*/
readonly status?: string;
/**
* The number of days an object must be unreferenced by your table before Amazon S3 marks the object as noncurrent.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-unreferencedfileremoval.html#cfn-s3tables-tablebucket-unreferencedfileremoval-unreferenceddays
*/
readonly unreferencedDays?: number;
}
/**
* Configuration specifying how data should be encrypted.
*
* This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-encryptionconfiguration.html
*/
interface EncryptionConfigurationProperty {
/**
* The Amazon Resource Name (ARN) of the KMS key to use for encryption.
*
* This field is required only when `sseAlgorithm` is set to `aws:kms` .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-encryptionconfiguration.html#cfn-s3tables-tablebucket-encryptionconfiguration-kmskeyarn
*/
readonly kmsKeyArn?: string;
/**
* The server-side encryption algorithm to use.
*
* Valid values are `AES256` for S3-managed encryption keys, or `aws:kms` for AWS KMS-managed encryption keys. If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see [Permissions requirements for S3 Tables SSE-KMS encryption](https://docs.aws.amazon.com//AmazonS3/latest/userguide/s3-tables-kms-permissions.html) .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-encryptionconfiguration.html#cfn-s3tables-tablebucket-encryptionconfiguration-ssealgorithm
*/
readonly sseAlgorithm?: string;
}
}
/**
* Properties for defining a `CfnTableBucket`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html
*/
export interface CfnTableBucketProps {
/**
* Configuration specifying how data should be encrypted.
*
* This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html#cfn-s3tables-tablebucket-encryptionconfiguration
*/
readonly encryptionConfiguration?: CfnTableBucket.EncryptionConfigurationProperty | cdk.IResolvable;
/**
* The name for the table bucket.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html#cfn-s3tables-tablebucket-tablebucketname
*/
readonly tableBucketName: string;
/**
* The unreferenced file removal settings for your table bucket.
*
* Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots. For more information, see the [*Amazon S3 User Guide*](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html) .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html#cfn-s3tables-tablebucket-unreferencedfileremoval
*/
readonly unreferencedFileRemoval?: cdk.IResolvable | CfnTableBucket.UnreferencedFileRemovalProperty;
}
/**
* Creates a new maintenance configuration or replaces an existing table bucket policy for a table bucket.
*
* For more information, see [Adding a table bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-add) in the *Amazon Simple Storage Service User Guide* .
*
* - **Permissions** - You must have the `s3tables:PutTableBucketPolicy` permission to use this operation.
*
* @cloudformationResource AWS::S3Tables::TableBucketPolicy
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html
*/
export declare class CfnTableBucketPolicy extends cdk.CfnResource implements cdk.IInspectable {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnTableBucketPolicy from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnTableBucketPolicy;
/**
* The bucket policy JSON for the table bucket.
*/
resourcePolicy: any | cdk.IResolvable | string;
/**
* The Amazon Resource Name (ARN) of the table bucket.
*/
tableBucketArn: string;
/**
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnTableBucketPolicyProps);
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
/**
* Properties for defining a `CfnTableBucketPolicy`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html
*/
export interface CfnTableBucketPolicyProps {
/**
* The bucket policy JSON for the table bucket.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html#cfn-s3tables-tablebucketpolicy-resourcepolicy
*/
readonly resourcePolicy: any | cdk.IResolvable | string;
/**
* The Amazon Resource Name (ARN) of the table bucket.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html#cfn-s3tables-tablebucketpolicy-tablebucketarn
*/
readonly tableBucketArn: string;
}
/**
* Creates a new maintenance configuration or replaces an existing table policy for a table.
*
* For more information, see [Adding a table policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-add) in the *Amazon Simple Storage Service User Guide* .
*
* - **Permissions** - You must have the `s3tables:PutTablePolicy` permission to use this operation.
*
* @cloudformationResource AWS::S3Tables::TablePolicy
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html
*/
export declare class CfnTablePolicy extends cdk.CfnResource implements cdk.IInspectable {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnTablePolicy from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnTablePolicy;
/**
* The namespace that the table belongs to.
*
* @cloudformationAttribute Namespace
*/
readonly attrNamespace: string;
/**
* The Amazon Resource Name (ARN) of the specified table bucket.
*
* @cloudformationAttribute TableBucketARN
*/
readonly attrTableBucketArn: string;
/**
* The name for the table.
*
* @cloudformationAttribute TableName
*/
readonly attrTableName: string;
resourcePolicy: any | cdk.IResolvable | string;
/**
* The Amazon Resource Name (ARN) of the specified table.
*/
tableArn: string;
/**
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnTablePolicyProps);
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
/**
* Properties for defining a `CfnTablePolicy`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html
*/
export interface CfnTablePolicyProps {
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html#cfn-s3tables-tablepolicy-resourcepolicy
*/
readonly resourcePolicy: any | cdk.IResolvable | string;
/**
* The Amazon Resource Name (ARN) of the specified table.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html#cfn-s3tables-tablepolicy-tablearn
*/
readonly tableArn: string;
}