Documentation ¶
Index ¶
- func NewTransitSecretBackendKey_Override(t TransitSecretBackendKey, scope constructs.Construct, id *string, ...)
- func TransitSecretBackendKey_IsConstruct(x interface{}) *bool
- func TransitSecretBackendKey_IsTerraformElement(x interface{}) *bool
- func TransitSecretBackendKey_IsTerraformResource(x interface{}) *bool
- func TransitSecretBackendKey_TfResourceType() *string
- type TransitSecretBackendKey
- type TransitSecretBackendKeyConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransitSecretBackendKey_Override ¶
func NewTransitSecretBackendKey_Override(t TransitSecretBackendKey, scope constructs.Construct, id *string, config *TransitSecretBackendKeyConfig)
Create a new {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key vault_transit_secret_backend_key} Resource.
func TransitSecretBackendKey_IsConstruct ¶
func TransitSecretBackendKey_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 TransitSecretBackendKey_IsTerraformElement ¶
func TransitSecretBackendKey_IsTerraformElement(x interface{}) *bool
Experimental.
func TransitSecretBackendKey_IsTerraformResource ¶
func TransitSecretBackendKey_IsTerraformResource(x interface{}) *bool
Experimental.
func TransitSecretBackendKey_TfResourceType ¶
func TransitSecretBackendKey_TfResourceType() *string
Types ¶
type TransitSecretBackendKey ¶
type TransitSecretBackendKey interface { cdktf.TerraformResource AllowPlaintextBackup() interface{} SetAllowPlaintextBackup(val interface{}) AllowPlaintextBackupInput() interface{} AutoRotateInterval() *float64 SetAutoRotateInterval(val *float64) AutoRotateIntervalInput() *float64 AutoRotatePeriod() *float64 SetAutoRotatePeriod(val *float64) AutoRotatePeriodInput() *float64 Backend() *string SetBackend(val *string) BackendInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} ConvergentEncryption() interface{} SetConvergentEncryption(val interface{}) ConvergentEncryptionInput() interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) DeletionAllowed() interface{} SetDeletionAllowed(val interface{}) DeletionAllowedInput() interface{} // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Derived() interface{} SetDerived(val interface{}) DerivedInput() interface{} Exportable() interface{} SetExportable(val interface{}) ExportableInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Keys() cdktf.StringMapList LatestVersion() *float64 // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MinAvailableVersion() *float64 MinDecryptionVersion() *float64 SetMinDecryptionVersion(val *float64) MinDecryptionVersionInput() *float64 MinEncryptionVersion() *float64 SetMinEncryptionVersion(val *float64) MinEncryptionVersionInput() *float64 Name() *string SetName(val *string) NameInput() *string 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{} SupportsDecryption() cdktf.IResolvable SupportsDerivation() cdktf.IResolvable SupportsEncryption() cdktf.IResolvable SupportsSigning() cdktf.IResolvable // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Type() *string SetType(val *string) TypeInput() *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) ResetAllowPlaintextBackup() ResetAutoRotateInterval() ResetAutoRotatePeriod() ResetConvergentEncryption() ResetDeletionAllowed() ResetDerived() ResetExportable() ResetId() ResetMinDecryptionVersion() ResetMinEncryptionVersion() ResetNamespace() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetType() 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://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key vault_transit_secret_backend_key}.
func NewTransitSecretBackendKey ¶
func NewTransitSecretBackendKey(scope constructs.Construct, id *string, config *TransitSecretBackendKeyConfig) TransitSecretBackendKey
Create a new {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key vault_transit_secret_backend_key} Resource.
type TransitSecretBackendKeyConfig ¶
type TransitSecretBackendKeyConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // The Transit secret backend the resource belongs to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#backend TransitSecretBackendKey#backend} Backend *string `field:"required" json:"backend" yaml:"backend"` // Name of the encryption key to create. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#name TransitSecretBackendKey#name} Name *string `field:"required" json:"name" yaml:"name"` // If set, enables taking backup of named key in the plaintext format. Once set, this cannot be disabled. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#allow_plaintext_backup TransitSecretBackendKey#allow_plaintext_backup} AllowPlaintextBackup interface{} `field:"optional" json:"allowPlaintextBackup" yaml:"allowPlaintextBackup"` // Amount of time the key should live before being automatically rotated. // // A value of 0 disables automatic rotation for the key. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#auto_rotate_interval TransitSecretBackendKey#auto_rotate_interval} AutoRotateInterval *float64 `field:"optional" json:"autoRotateInterval" yaml:"autoRotateInterval"` // Amount of time the key should live before being automatically rotated. // // A value of 0 disables automatic rotation for the key. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#auto_rotate_period TransitSecretBackendKey#auto_rotate_period} AutoRotatePeriod *float64 `field:"optional" json:"autoRotatePeriod" yaml:"autoRotatePeriod"` // Whether or not to support convergent encryption, where the same plaintext creates the same ciphertext. // // This requires derived to be set to true. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#convergent_encryption TransitSecretBackendKey#convergent_encryption} ConvergentEncryption interface{} `field:"optional" json:"convergentEncryption" yaml:"convergentEncryption"` // Specifies if the key is allowed to be deleted. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#deletion_allowed TransitSecretBackendKey#deletion_allowed} DeletionAllowed interface{} `field:"optional" json:"deletionAllowed" yaml:"deletionAllowed"` // Specifies if key derivation is to be used. // // If enabled, all encrypt/decrypt requests to this key must provide a context which is used for key derivation. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#derived TransitSecretBackendKey#derived} Derived interface{} `field:"optional" json:"derived" yaml:"derived"` // Enables keys to be exportable. // // This allows for all the valid keys in the key ring to be exported. Once set, this cannot be disabled. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#exportable TransitSecretBackendKey#exportable} Exportable interface{} `field:"optional" json:"exportable" yaml:"exportable"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#id TransitSecretBackendKey#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"` // Minimum key version to use for decryption. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#min_decryption_version TransitSecretBackendKey#min_decryption_version} MinDecryptionVersion *float64 `field:"optional" json:"minDecryptionVersion" yaml:"minDecryptionVersion"` // Minimum key version to use for encryption. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#min_encryption_version TransitSecretBackendKey#min_encryption_version} MinEncryptionVersion *float64 `field:"optional" json:"minEncryptionVersion" yaml:"minEncryptionVersion"` // Target namespace. (requires Enterprise). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#namespace TransitSecretBackendKey#namespace} Namespace *string `field:"optional" json:"namespace" yaml:"namespace"` // Specifies the type of key to create. // // The currently-supported types are: aes128-gcm96, aes256-gcm96, chacha20-poly1305, ed25519, ecdsa-p256, ecdsa-p384, ecdsa-p521, rsa-2048, rsa-3072, rsa-4096 // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/vault/r/transit_secret_backend_key#type TransitSecretBackendKey#type} Type *string `field:"optional" json:"type" yaml:"type"` }