Class DataTerraformRemoteStateS3Config.Jsii$Proxy
- All Implemented Interfaces:
DataTerraformRemoteStateConfig
,DataTerraformRemoteStateS3Config
,S3BackendConfig
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DataTerraformRemoteStateS3Config
DataTerraformRemoteStateS3Config
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.DataTerraformRemoteStateS3Config
DataTerraformRemoteStateS3Config.Builder, DataTerraformRemoteStateS3Config.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theDataTerraformRemoteStateS3Config.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
(experimental) (Optional) AWS access key.final String
getAcl()
(experimental) (Optional) Canned ACL to be applied to the state file.final String
(experimental) (Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.(experimental) (Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.(experimental) (Optional) Map of assume role session tags.(experimental) (Optional) Set of assume role session tag keys to pass to any subsequent sessions.final String
(experimental) Name of the S3 Bucket.final String
(experimental) (Optional) Custom endpoint for the AWS DynamoDB API.final String
(experimental) (Optional) Name of DynamoDB Table to use for state locking and consistency.final Boolean
(experimental) (Optional) Enable server side encryption of the state file.final String
(experimental) (Optional) Custom endpoint for the AWS S3 API.final String
(experimental) (Optional) External identifier to use when assuming the role.final Boolean
(experimental) (Optional) Enable path-style S3 URLs (https:/// instead of https:// . ). final String
(experimental) (Optional) Custom endpoint for the AWS Identity and Access Management (IAM) API.final String
getKey()
(experimental) Path to the state file inside the S3 Bucket.final String
(experimental) (Optional) Amazon Resource Name (ARN) of a Key Management Service (KMS) Key to use for encrypting the state.final Number
(experimental) (Optional) The maximum number of times an AWS API request is retried on retryable failure.final String
(experimental) (Optional) Name of AWS profile in AWS shared credentials file (e.g.final String
(experimental) AWS Region of the S3 Bucket and DynamoDB Table (if used).final String
(experimental) (Optional) Amazon Resource Name (ARN) of the IAM Role to assume.final String
(experimental) (Optional) AWS secret access key.final String
(experimental) (Optional) Session name to use when assuming the role.final String
(experimental) (Optional) Path to the AWS shared credentials file.final Boolean
(experimental) (Optional) Skip credentials validation via the STS API.final Boolean
(experimental) (Optional) Skip usage of EC2 Metadata API.final Boolean
(experimental) (Optional) Skip validation of provided region name.final String
(experimental) (Optional) The key to use for encrypting state with Server-Side Encryption with Customer-Provided Keys (SSE-C).final String
(experimental) (Optional) Custom endpoint for the AWS Security Token Service (STS) API.final String
getToken()
(experimental) (Optional) Multi-Factor Authentication (MFA) token.final String
final String
(experimental) (Optional) Prefix applied to the state path inside the bucket.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theDataTerraformRemoteStateS3Config.Builder
.
-
-
Method Details
-
getDefaults
- Specified by:
getDefaults
in interfaceDataTerraformRemoteStateConfig
-
getWorkspace
- Specified by:
getWorkspace
in interfaceDataTerraformRemoteStateConfig
-
getBucket
Description copied from interface:S3BackendConfig
(experimental) Name of the S3 Bucket.- Specified by:
getBucket
in interfaceS3BackendConfig
-
getKey
Description copied from interface:S3BackendConfig
(experimental) Path to the state file inside the S3 Bucket.When using a non-default workspace, the state path will be /workspace_key_prefix/workspace_name/key
- Specified by:
getKey
in interfaceS3BackendConfig
-
getAccessKey
Description copied from interface:S3BackendConfig
(experimental) (Optional) AWS access key.If configured, must also configure secret_key. This can also be sourced from the AWS_ACCESS_KEY_ID environment variable, AWS shared credentials file (e.g. ~/.aws/credentials), or AWS shared configuration file (e.g. ~/.aws/config).
- Specified by:
getAccessKey
in interfaceS3BackendConfig
-
getAcl
Description copied from interface:S3BackendConfig
(experimental) (Optional) Canned ACL to be applied to the state file.- Specified by:
getAcl
in interfaceS3BackendConfig
-
getAssumeRolePolicy
Description copied from interface:S3BackendConfig
(experimental) (Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.- Specified by:
getAssumeRolePolicy
in interfaceS3BackendConfig
-
getAssumeRolePolicyArns
Description copied from interface:S3BackendConfig
(experimental) (Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.- Specified by:
getAssumeRolePolicyArns
in interfaceS3BackendConfig
-
getAssumeRoleTags
Description copied from interface:S3BackendConfig
(experimental) (Optional) Map of assume role session tags.- Specified by:
getAssumeRoleTags
in interfaceS3BackendConfig
-
getAssumeRoleTransitiveTagKeys
Description copied from interface:S3BackendConfig
(experimental) (Optional) Set of assume role session tag keys to pass to any subsequent sessions.- Specified by:
getAssumeRoleTransitiveTagKeys
in interfaceS3BackendConfig
-
getDynamodbEndpoint
Description copied from interface:S3BackendConfig
(experimental) (Optional) Custom endpoint for the AWS DynamoDB API.This can also be sourced from the AWS_DYNAMODB_ENDPOINT environment variable.
- Specified by:
getDynamodbEndpoint
in interfaceS3BackendConfig
-
getDynamodbTable
Description copied from interface:S3BackendConfig
(experimental) (Optional) Name of DynamoDB Table to use for state locking and consistency.The table must have a partition key named LockID with type of String. If not configured, state locking will be disabled.
- Specified by:
getDynamodbTable
in interfaceS3BackendConfig
-
getEncrypt
Description copied from interface:S3BackendConfig
(experimental) (Optional) Enable server side encryption of the state file.- Specified by:
getEncrypt
in interfaceS3BackendConfig
-
getEndpoint
Description copied from interface:S3BackendConfig
(experimental) (Optional) Custom endpoint for the AWS S3 API.This can also be sourced from the AWS_S3_ENDPOINT environment variable.
- Specified by:
getEndpoint
in interfaceS3BackendConfig
-
getExternalId
Description copied from interface:S3BackendConfig
(experimental) (Optional) External identifier to use when assuming the role.- Specified by:
getExternalId
in interfaceS3BackendConfig
-
getForcePathStyle
Description copied from interface:S3BackendConfig
(experimental) (Optional) Enable path-style S3 URLs (https:/// instead of https:// . ). - Specified by:
getForcePathStyle
in interfaceS3BackendConfig
-
getIamEndpoint
Description copied from interface:S3BackendConfig
(experimental) (Optional) Custom endpoint for the AWS Identity and Access Management (IAM) API.This can also be sourced from the AWS_IAM_ENDPOINT environment variable.
- Specified by:
getIamEndpoint
in interfaceS3BackendConfig
-
getKmsKeyId
Description copied from interface:S3BackendConfig
(experimental) (Optional) Amazon Resource Name (ARN) of a Key Management Service (KMS) Key to use for encrypting the state.Note that if this value is specified, Terraform will need kms:Encrypt, kms:Decrypt and kms:GenerateDataKey permissions on this KMS key.
- Specified by:
getKmsKeyId
in interfaceS3BackendConfig
-
getMaxRetries
Description copied from interface:S3BackendConfig
(experimental) (Optional) The maximum number of times an AWS API request is retried on retryable failure.Defaults to 5.
- Specified by:
getMaxRetries
in interfaceS3BackendConfig
-
getProfile
Description copied from interface:S3BackendConfig
(experimental) (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.- Specified by:
getProfile
in interfaceS3BackendConfig
-
getRegion
Description copied from interface:S3BackendConfig
(experimental) AWS Region of the S3 Bucket and DynamoDB Table (if used).This can also be sourced from the AWS_DEFAULT_REGION and AWS_REGION environment variables.
- Specified by:
getRegion
in interfaceS3BackendConfig
-
getRoleArn
Description copied from interface:S3BackendConfig
(experimental) (Optional) Amazon Resource Name (ARN) of the IAM Role to assume.- Specified by:
getRoleArn
in interfaceS3BackendConfig
-
getSecretKey
Description copied from interface:S3BackendConfig
(experimental) (Optional) AWS secret access key.If configured, must also configure access_key. This can also be sourced from the AWS_SECRET_ACCESS_KEY environment variable, AWS shared credentials file (e.g. ~/.aws/credentials), or AWS shared configuration file (e.g. ~/.aws/config)
- Specified by:
getSecretKey
in interfaceS3BackendConfig
-
getSessionName
Description copied from interface:S3BackendConfig
(experimental) (Optional) Session name to use when assuming the role.- Specified by:
getSessionName
in interfaceS3BackendConfig
-
getSkipCredentialsValidation
Description copied from interface:S3BackendConfig
(experimental) (Optional) Skip credentials validation via the STS API.- Specified by:
getSkipCredentialsValidation
in interfaceS3BackendConfig
-
getSkipMetadataApiCheck
Description copied from interface:S3BackendConfig
(experimental) (Optional) Skip usage of EC2 Metadata API.- Specified by:
getSkipMetadataApiCheck
in interfaceS3BackendConfig
-
getSkipRegionValidation
Description copied from interface:S3BackendConfig
(experimental) (Optional) Skip validation of provided region name.- Specified by:
getSkipRegionValidation
in interfaceS3BackendConfig
-
getSseCustomerKey
Description copied from interface:S3BackendConfig
(experimental) (Optional) The key to use for encrypting state with Server-Side Encryption with Customer-Provided Keys (SSE-C).This is the base64-encoded value of the key, which must decode to 256 bits. This can also be sourced from the AWS_SSE_CUSTOMER_KEY environment variable, which is recommended due to the sensitivity of the value. Setting it inside a terraform file will cause it to be persisted to disk in terraform.tfstate.
- Specified by:
getSseCustomerKey
in interfaceS3BackendConfig
-
getStsEndpoint
Description copied from interface:S3BackendConfig
(experimental) (Optional) Custom endpoint for the AWS Security Token Service (STS) API.This can also be sourced from the AWS_STS_ENDPOINT environment variable.
- Specified by:
getStsEndpoint
in interfaceS3BackendConfig
-
getToken
Description copied from interface:S3BackendConfig
(experimental) (Optional) Multi-Factor Authentication (MFA) token.This can also be sourced from the AWS_SESSION_TOKEN environment variable.
- Specified by:
getToken
in interfaceS3BackendConfig
-
getWorkspaceKeyPrefix
Description copied from interface:S3BackendConfig
(experimental) (Optional) Prefix applied to the state path inside the bucket.This is only relevant when using a non-default workspace. Defaults to env:
- Specified by:
getWorkspaceKeyPrefix
in interfaceS3BackendConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-