import { TerraformStateBackend } from 'terraform-backend-s3-bucket'
new TerraformStateBackend(scope: Construct, id: string, props: TerraformStateBackendProperties)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
TerraformStateBackendProperties |
No description. |
- Type: constructs.Construct
- Type: string
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { TerraformStateBackend } from 'terraform-backend-s3-bucket'
TerraformStateBackend.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
bucket |
aws-cdk-lib.aws_s3.IBucket |
No description. |
table |
aws-cdk-lib.aws_dynamodb.ITable |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly bucket: IBucket;
- Type: aws-cdk-lib.aws_s3.IBucket
public readonly table: ITable;
- Type: aws-cdk-lib.aws_dynamodb.ITable
import { TerraformStateBackendProperties } from 'terraform-backend-s3-bucket'
const terraformStateBackendProperties: TerraformStateBackendProperties = { ... }
Name | Type | Description |
---|---|---|
bucketName |
string |
The name of the bucket to create. |
tableName |
string |
The name of the DynamoDB table to create. |
tableDeletionProtection |
boolean |
Whether to protect the created DynamoDB table from being accidentally deleted. |
public readonly bucketName: string;
- Type: string
The name of the bucket to create.
public readonly tableName: string;
- Type: string
The name of the DynamoDB table to create.
public readonly tableDeletionProtection: boolean;
- Type: boolean
- Default: false
Whether to protect the created DynamoDB table from being accidentally deleted.