Documentation ¶
Index ¶
- func NewTerraformCloudSecretBackend_Override(t TerraformCloudSecretBackend, scope constructs.Construct, id *string, ...)
- func TerraformCloudSecretBackend_IsConstruct(x interface{}) *bool
- func TerraformCloudSecretBackend_IsTerraformElement(x interface{}) *bool
- func TerraformCloudSecretBackend_IsTerraformResource(x interface{}) *bool
- func TerraformCloudSecretBackend_TfResourceType() *string
- type TerraformCloudSecretBackend
- type TerraformCloudSecretBackendConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTerraformCloudSecretBackend_Override ¶
func NewTerraformCloudSecretBackend_Override(t TerraformCloudSecretBackend, scope constructs.Construct, id *string, config *TerraformCloudSecretBackendConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend vault_terraform_cloud_secret_backend} Resource.
func TerraformCloudSecretBackend_IsConstruct ¶
func TerraformCloudSecretBackend_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func TerraformCloudSecretBackend_IsTerraformElement ¶
func TerraformCloudSecretBackend_IsTerraformElement(x interface{}) *bool
Experimental.
func TerraformCloudSecretBackend_IsTerraformResource ¶
func TerraformCloudSecretBackend_IsTerraformResource(x interface{}) *bool
Experimental.
func TerraformCloudSecretBackend_TfResourceType ¶
func TerraformCloudSecretBackend_TfResourceType() *string
Types ¶
type TerraformCloudSecretBackend ¶
type TerraformCloudSecretBackend interface { cdktf.TerraformResource Address() *string SetAddress(val *string) AddressInput() *string Backend() *string SetBackend(val *string) BackendInput() *string BasePath() *string SetBasePath(val *string) BasePathInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) DefaultLeaseTtlSeconds() *float64 SetDefaultLeaseTtlSeconds(val *float64) DefaultLeaseTtlSecondsInput() *float64 // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string DisableRemount() interface{} SetDisableRemount(val interface{}) DisableRemountInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MaxLeaseTtlSeconds() *float64 SetMaxLeaseTtlSeconds(val *float64) MaxLeaseTtlSecondsInput() *float64 Namespace() *string SetNamespace(val *string) NamespaceInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Token() *string SetToken(val *string) TokenInput() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAddress() ResetBackend() ResetBasePath() ResetDefaultLeaseTtlSeconds() ResetDescription() ResetDisableRemount() ResetId() ResetMaxLeaseTtlSeconds() ResetNamespace() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetToken() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend vault_terraform_cloud_secret_backend}.
func NewTerraformCloudSecretBackend ¶
func NewTerraformCloudSecretBackend(scope constructs.Construct, id *string, config *TerraformCloudSecretBackendConfig) TerraformCloudSecretBackend
Create a new {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend vault_terraform_cloud_secret_backend} Resource.
type TerraformCloudSecretBackendConfig ¶
type TerraformCloudSecretBackendConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Specifies the address of the Terraform Cloud instance, provided as "host:port" like "127.0.0.1:8500". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#address TerraformCloudSecretBackend#address} Address *string `field:"optional" json:"address" yaml:"address"` // Unique name of the Vault Terraform Cloud mount to configure. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#backend TerraformCloudSecretBackend#backend} Backend *string `field:"optional" json:"backend" yaml:"backend"` // Specifies the base path for the Terraform Cloud or Enterprise API. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#base_path TerraformCloudSecretBackend#base_path} BasePath *string `field:"optional" json:"basePath" yaml:"basePath"` // Default lease duration for secrets in seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#default_lease_ttl_seconds TerraformCloudSecretBackend#default_lease_ttl_seconds} DefaultLeaseTtlSeconds *float64 `field:"optional" json:"defaultLeaseTtlSeconds" yaml:"defaultLeaseTtlSeconds"` // Human-friendly description of the mount for the backend. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#description TerraformCloudSecretBackend#description} Description *string `field:"optional" json:"description" yaml:"description"` // If set, opts out of mount migration on path updates. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#disable_remount TerraformCloudSecretBackend#disable_remount} DisableRemount interface{} `field:"optional" json:"disableRemount" yaml:"disableRemount"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#id TerraformCloudSecretBackend#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Maximum possible lease duration for secrets in seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#max_lease_ttl_seconds TerraformCloudSecretBackend#max_lease_ttl_seconds} MaxLeaseTtlSeconds *float64 `field:"optional" json:"maxLeaseTtlSeconds" yaml:"maxLeaseTtlSeconds"` // Target namespace. (requires Enterprise). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#namespace TerraformCloudSecretBackend#namespace} Namespace *string `field:"optional" json:"namespace" yaml:"namespace"` // Specifies the Terraform Cloud access token to use. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/terraform_cloud_secret_backend#token TerraformCloudSecretBackend#token} Token *string `field:"optional" json:"token" yaml:"token"` }