Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializer
Properties
| Name | Type | Description |
|---|---|---|
Defaults | *map[string]interface{} | No description. |
Workspace | *string | No description. |
Bucket | *string | Name of the S3 Bucket. |
Key | *string | Path to the state file inside the S3 Bucket. |
AccessKey | *string | (Optional) AWS access key. |
Acl | *string | (Optional) Canned ACL to be applied to the state file. |
AllowedAccountIds | *[]*string | (Optional) List of allowed AWS account IDs to prevent potential destruction of a live environment. |
AssumeRole | S3BackendAssumeRoleConfig | Assuming an IAM Role can be configured in two ways. |
AssumeRolePolicy | *string | (Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed. |
AssumeRolePolicyArns | *[]*string | (Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed. |
AssumeRoleTags | *map[string]*string | (Optional) Map of assume role session tags. |
AssumeRoleTransitiveTagKeys | *[]*string | (Optional) Set of assume role session tag keys to pass to any subsequent sessions. |
AssumeRoleWithWebIdentity | S3BackendAssumeRoleWithWebIdentityConfig | Assume Role With Web Identity Configuration. |
CustomCaBundle | *string | (Optional) File containing custom root and intermediate certificates. |
DynamodbEndpoint | *string | (Optional) Custom endpoint for the AWS DynamoDB API. |
DynamodbTable | *string | (Optional) Name of DynamoDB Table to use for state locking and consistency. |
Ec2MetadataServiceEndpoint | *string | Optional) Custom endpoint URL for the EC2 Instance Metadata Service (IMDS) API. |
Ec2MetadataServiceEndpointMode | *string | (Optional) Mode to use in communicating with the metadata service. |
Encrypt | *bool | (Optional) Enable server side encryption of the state file. |
Endpoint | *string | (Optional) Custom endpoint for the AWS S3 API. |
Endpoints | S3BackendEndpointConfig | (Optional) The endpoint configuration block. |
ExternalId | *string | (Optional) External identifier to use when assuming the role. |
ForbiddenAccountIds | *[]*string | (Optional) List of forbidden AWS account IDs to prevent potential destruction of a live environment. |
ForcePathStyle | *bool | (Optional) Enable path-style S3 URLs (https://< HOST >/< BUCKET > instead of https://< BUCKET >.< HOST >). |
HttpProxy | *string | (Optional) URL of a proxy to use for HTTP requests when accessing the AWS API. |
HttpsProxy | *string | (Optional) URL of a proxy to use for HTTPS requests when accessing the AWS API. |
IamEndpoint | *string | (Optional) Custom endpoint for the AWS Identity and Access Management (IAM) API. |
Insecure | *bool | Optional) Whether to explicitly allow the backend to perform “insecure” SSL requests. |
KmsKeyId | *string | (Optional) Amazon Resource Name (ARN) of a Key Management Service (KMS) Key to use for encrypting the state. |
MaxRetries | *f64 | (Optional) The maximum number of times an AWS API request is retried on retryable failure. |
NoProxy | *string | (Optional) Comma-separated list of hosts that should not use HTTP or HTTPS proxies. |
Profile | *string | (Optional) Name of AWS profile in AWS shared credentials file (e.g. ~/.aws/credentials) or AWS shared configuration file (e.g. ~/.aws/config) to use for credentials and/or configuration. This can also be sourced from the AWS_PROFILE environment variable. |
Region | *string | AWS Region of the S3 Bucket and DynamoDB Table (if used). |
RetryMode | *string | (Optional) Specifies how retries are attempted. |
RoleArn | *string | (Optional) Amazon Resource Name (ARN) of the IAM Role to assume. |
SecretKey | *string | (Optional) AWS secret access key. |
SessionName | *string | (Optional) Session name to use when assuming the role. |
SharedConfigFiles | *[]*string | (Optional) List of paths to AWS shared configuration files. |
SharedCredentialsFile | *string | (Optional) Path to the AWS shared credentials file. |
SharedCredentialsFiles | *[]*string | (Optional) List of paths to AWS shared credentials files. |
SkipCredentialsValidation | *bool | (Optional) Skip credentials validation via the STS API. |
SkipMetadataApiCheck | *bool | (Optional) Skip usage of EC2 Metadata API. |
SkipRegionValidation | *bool | (Optional) Skip validation of provided region name. |
SkipRequestingAccountId | *bool | (Optional) Whether to skip requesting the account ID. |
SkipS3Checksum | *bool | (Optional) Do not include checksum when uploading S3 Objects. |
SseCustomerKey | *string | (Optional) The key to use for encrypting state with Server-Side Encryption with Customer-Provided Keys (SSE-C). |
StsEndpoint | *string | (Optional) Custom endpoint for the AWS Security Token Service (STS) API. |
StsRegion | *string | (Optional) AWS region for STS. |
Token | *string | (Optional) Multi-Factor Authentication (MFA) token. |
UseLegacyWorkflow | *bool | (Optional) Use the legacy authentication workflow, preferring environment variables over backend configuration. |
UsePathStyle | *bool | (Optional) Enable path-style S3 URLs (https://< HOST >/< BUCKET > instead of https://< BUCKET >.< HOST >). |
WorkspaceKeyPrefix | *string | (Optional) Prefix applied to the state path inside the bucket. |
DefaultsOptional
- Type: *map[string]interface{}
WorkspaceOptional
- Type: *string
BucketRequired
- Type: *string
KeyRequired
- Type: *string
AccessKeyOptional
- Type: *string
AclOptional
- Type: *string
AllowedAccountIdsOptional
- Type: *[]*string
AssumeRoleOptional
AssumeRolePolicyOptional
AssumeRolePolicy- Deprecated: Use assumeRole.policy instead.
- Type: *string
AssumeRolePolicyArnsOptional
AssumeRolePolicyArns- Deprecated: Use assumeRole.policyArns instead.
- Type: *[]*string
AssumeRoleTagsOptional
AssumeRoleTags- Deprecated: Use assumeRole.tags instead.
- Type: *map[string]*string
AssumeRoleTransitiveTagKeysOptional
AssumeRoleTransitiveTagKeys- Deprecated: Use assumeRole.transitiveTagKeys instead.
- Type: *[]*string
AssumeRoleWithWebIdentityOptional
CustomCaBundleOptional
- Type: *string
DynamodbEndpointOptional
DynamodbEndpoint- Deprecated: Use endpoints.dynamodb instead
- Type: *string
DynamodbTableOptional
- Type: *string
Ec2MetadataServiceEndpointOptional
- Type: *string
Ec2MetadataServiceEndpointModeOptional
- Type: *string
EncryptOptional
- Type: *bool
EndpointOptional
Endpoint- Deprecated: Use endpoints.s3 instead
- Type: *string
EndpointsOptional
- Type: S3BackendEndpointConfig
ExternalIdOptional
ExternalId- Deprecated: Use assume_role.external_id instead.
- Type: *string
ForbiddenAccountIdsOptional
- Type: *[]*string
ForcePathStyleOptional
ForcePathStyle- Deprecated: Use usePathStyle instead
- Type: *bool
HttpProxyOptional
- Type: *string
HttpsProxyOptional
- Type: *string
IamEndpointOptional
IamEndpoint- Deprecated: Use endpoints.iam instead
- Type: *string
InsecureOptional
- Type: *bool
KmsKeyIdOptional
- Type: *string
MaxRetriesOptional
- Type: *f64
NoProxyOptional
- Type: *string
- A domain name
- An IP address
- A CIDR address
- An asterisk (*), to indicate that no proxying should be performed Domain name and IP address values can also include a port number. Can also be set using the NO_PROXY or no_proxy environment variables.
ProfileOptional
- Type: *string
RegionOptional
- Type: *string
RetryModeOptional
- Type: *string
RoleArnOptional
RoleArn- Deprecated: Use assumeRole.roleArn instead.
- Type: *string
SecretKeyOptional
- Type: *string
SessionNameOptional
SessionName- Deprecated: Use assumeRole.sessionName instead.
- Type: *string
SharedConfigFilesOptional
- Type: *[]*string
SharedCredentialsFileOptional
- Type: *string
SharedCredentialsFilesOptional
- Type: *[]*string
SkipCredentialsValidationOptional
- Type: *bool
SkipMetadataApiCheckOptional
- Type: *bool
SkipRegionValidationOptional
- Type: *bool
SkipRequestingAccountIdOptional
- Type: *bool
SkipS3ChecksumOptional
- Type: *bool
SseCustomerKeyOptional
- Type: *string
StsEndpointOptional
StsEndpoint- Deprecated: Use endpoints.sts instead
- Type: *string
StsRegionOptional
- Type: *string
TokenOptional
- Type: *string
UseLegacyWorkflowOptional
- Type: *bool
UsePathStyleOptional
- Type: *bool
WorkspaceKeyPrefixOptional
- Type: *string