Package com.hashicorp.cdktf
Class DataTerraformRemoteStateOssConfig.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.DataTerraformRemoteStateOssConfig.Jsii$Proxy
- All Implemented Interfaces:
DataTerraformRemoteStateConfig,DataTerraformRemoteStateOssConfig,OssBackendConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DataTerraformRemoteStateOssConfig
@Stability(Experimental)
@Internal
public static final class DataTerraformRemoteStateOssConfig.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements DataTerraformRemoteStateOssConfig
An implementation for
DataTerraformRemoteStateOssConfig-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface com.hashicorp.cdktf.DataTerraformRemoteStateOssConfig
DataTerraformRemoteStateOssConfig.Builder, DataTerraformRemoteStateOssConfig.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theDataTerraformRemoteStateOssConfig.Builder.protectedJsii$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.JsonNodefinal booleanfinal String(experimental) (Optional) Alibaba Cloud access key.final StringgetAcl()(experimental) (Optional) Object ACL to be applied to the state file.final OssAssumeRolefinal String(experimental) (Optional, Available in 1.1.0+) A more restrictive policy to apply to the temporary credentials.final String(experimental) (Optional, Available in 1.1.0+) The ARN of the role to assume.final Number(experimental) (Optional, Available in 1.1.0+) The time after which the established session for assuming role expires.final String(experimental) (Optional, Available in 1.1.0+) The session name to use when assuming the role.final String(experimental) (Required) The name of the OSS bucket.final String(experimental) (Optional, Available in 0.12.14+) The RAM Role Name attached on a ECS instance for API operations.final Boolean(experimental) (Optional) Whether to enable server side encryption of the state file.final String(experimental) (Optional) A custom endpoint for the OSS API.final StringgetKey()(experimental) (Optional) The name of the state file.final String(experimental) (Optional) The path directory of the state file will be stored.final String(experimental) (Optional, Available in 0.12.8+) This is the Alibaba Cloud profile name as set in the shared credentials file.final String(experimental) (Optional) The region of the OSS bucket.final String(experimental) (Optional) Alibaba Cloud secret access key.final String(experimental) (Optional) STS access token.final String(experimental) (Optional, Available in 0.12.8+) This is the path to the shared credentials file.final String(experimental) (Optional, Available in 1.0.11+) Custom endpoint for the AliCloud Security Token Service (STS) API.final String(experimental) (Optional) A custom endpoint for the TableStore API.final String(experimental) (Optional) A TableStore table for state locking and consistency.final Stringfinal inthashCode()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 theDataTerraformRemoteStateOssConfig.Builder.
-
-
Method Details
-
getDefaults
- Specified by:
getDefaultsin interfaceDataTerraformRemoteStateConfig
-
getWorkspace
- Specified by:
getWorkspacein interfaceDataTerraformRemoteStateConfig
-
getBucket
Description copied from interface:OssBackendConfig(experimental) (Required) The name of the OSS bucket.- Specified by:
getBucketin interfaceOssBackendConfig
-
getAccessKey
Description copied from interface:OssBackendConfig(experimental) (Optional) Alibaba Cloud access key.It supports environment variables ALICLOUD_ACCESS_KEY and ALICLOUD_ACCESS_KEY_ID.
- Specified by:
getAccessKeyin interfaceOssBackendConfig
-
getAcl
Description copied from interface:OssBackendConfig(experimental) (Optional) Object ACL to be applied to the state file.- Specified by:
getAclin interfaceOssBackendConfig
-
getAssumeRole
- Specified by:
getAssumeRolein interfaceOssBackendConfig
-
getAssumeRolePolicy
Description copied from interface:OssBackendConfig(experimental) (Optional, Available in 1.1.0+) A more restrictive policy to apply to the temporary credentials. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use this policy to grant permissions that exceed those of the role that is being assumed.- Specified by:
getAssumeRolePolicyin interfaceOssBackendConfig
-
getAssumeRoleRoleArn
Description copied from interface:OssBackendConfig(experimental) (Optional, Available in 1.1.0+) The ARN of the role to assume. If ARN is set to an empty string, it does not perform role switching. It supports the environment variable ALICLOUD_ASSUME_ROLE_ARN. Terraform executes configuration on account with provided credentials.- Specified by:
getAssumeRoleRoleArnin interfaceOssBackendConfig
-
getAssumeRoleSessionExpiration
Description copied from interface:OssBackendConfig(experimental) (Optional, Available in 1.1.0+) The time after which the established session for assuming role expires. Valid value range: [900-3600] seconds. Default to 3600 (in this case Alibaba Cloud uses its own default value). It supports environment variable ALICLOUD_ASSUME_ROLE_SESSION_EXPIRATION.- Specified by:
getAssumeRoleSessionExpirationin interfaceOssBackendConfig
-
getAssumeRoleSessionName
Description copied from interface:OssBackendConfig(experimental) (Optional, Available in 1.1.0+) The session name to use when assuming the role. If omitted, 'terraform' is passed to the AssumeRole call as session name. It supports environment variable ALICLOUD_ASSUME_ROLE_SESSION_NAME.- Specified by:
getAssumeRoleSessionNamein interfaceOssBackendConfig
-
getEcsRoleName
Description copied from interface:OssBackendConfig(experimental) (Optional, Available in 0.12.14+) The RAM Role Name attached on a ECS instance for API operations. You can retrieve this from the 'Access Control' section of the Alibaba Cloud console.- Specified by:
getEcsRoleNamein interfaceOssBackendConfig
-
getEncrypt
Description copied from interface:OssBackendConfig(experimental) (Optional) Whether to enable server side encryption of the state file.If it is true, OSS will use 'AES256' encryption algorithm to encrypt state file.
- Specified by:
getEncryptin interfaceOssBackendConfig
-
getEndpoint
Description copied from interface:OssBackendConfig(experimental) (Optional) A custom endpoint for the OSS API.It supports environment variables ALICLOUD_OSS_ENDPOINT and OSS_ENDPOINT.
- Specified by:
getEndpointin interfaceOssBackendConfig
-
getKey
Description copied from interface:OssBackendConfig(experimental) (Optional) The name of the state file.Defaults to terraform.tfstate.
- Specified by:
getKeyin interfaceOssBackendConfig
-
getPrefix
Description copied from interface:OssBackendConfig(experimental) (Optional) The path directory of the state file will be stored.Default to "env:".
- Specified by:
getPrefixin interfaceOssBackendConfig
-
getProfile
Description copied from interface:OssBackendConfig(experimental) (Optional, Available in 0.12.8+) This is the Alibaba Cloud profile name as set in the shared credentials file. It can also be sourced from the ALICLOUD_PROFILE environment variable.- Specified by:
getProfilein interfaceOssBackendConfig
-
getRegion
Description copied from interface:OssBackendConfig(experimental) (Optional) The region of the OSS bucket.It supports environment variables ALICLOUD_REGION and ALICLOUD_DEFAULT_REGION.
- Specified by:
getRegionin interfaceOssBackendConfig
-
getSecretKey
Description copied from interface:OssBackendConfig(experimental) (Optional) Alibaba Cloud secret access key.It supports environment variables ALICLOUD_SECRET_KEY and ALICLOUD_ACCESS_KEY_SECRET.
- Specified by:
getSecretKeyin interfaceOssBackendConfig
-
getSecurityToken
Description copied from interface:OssBackendConfig(experimental) (Optional) STS access token.It supports environment variable ALICLOUD_SECURITY_TOKEN.
- Specified by:
getSecurityTokenin interfaceOssBackendConfig
-
getStsEndpoint
Description copied from interface:OssBackendConfig(experimental) (Optional, Available in 1.0.11+) Custom endpoint for the AliCloud Security Token Service (STS) API. It supports environment variable ALICLOUD_STS_ENDPOINT.- Specified by:
getStsEndpointin interfaceOssBackendConfig
-
getTablestoreEndpoint
Description copied from interface:OssBackendConfig(experimental) (Optional) A custom endpoint for the TableStore API.- Specified by:
getTablestoreEndpointin interfaceOssBackendConfig
-
getTablestoreTable
Description copied from interface:OssBackendConfig(experimental) (Optional) A TableStore table for state locking and consistency.The table must have a primary key named LockID of type String.
- Specified by:
getTablestoreTablein interfaceOssBackendConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-