Documentation ¶
Index ¶
- func KmipSecretRole_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func KmipSecretRole_IsConstruct(x interface{}) *bool
- func KmipSecretRole_IsTerraformElement(x interface{}) *bool
- func KmipSecretRole_IsTerraformResource(x interface{}) *bool
- func KmipSecretRole_TfResourceType() *string
- func NewKmipSecretRole_Override(k KmipSecretRole, scope constructs.Construct, id *string, ...)
- type KmipSecretRole
- type KmipSecretRoleConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KmipSecretRole_GenerateConfigForImport ¶
func KmipSecretRole_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a KmipSecretRole resource upon running "cdktf plan <stack-name>".
func KmipSecretRole_IsConstruct ¶
func KmipSecretRole_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 KmipSecretRole_IsTerraformElement ¶
func KmipSecretRole_IsTerraformElement(x interface{}) *bool
Experimental.
func KmipSecretRole_IsTerraformResource ¶
func KmipSecretRole_IsTerraformResource(x interface{}) *bool
Experimental.
func KmipSecretRole_TfResourceType ¶
func KmipSecretRole_TfResourceType() *string
func NewKmipSecretRole_Override ¶
func NewKmipSecretRole_Override(k KmipSecretRole, scope constructs.Construct, id *string, config *KmipSecretRoleConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role vault_kmip_secret_role} Resource.
Types ¶
type KmipSecretRole ¶
type KmipSecretRole interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // 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) Namespace() *string SetNamespace(val *string) NamespaceInput() *string // The tree node. Node() constructs.Node OperationActivate() interface{} SetOperationActivate(val interface{}) OperationActivateInput() interface{} OperationAddAttribute() interface{} SetOperationAddAttribute(val interface{}) OperationAddAttributeInput() interface{} OperationAll() interface{} SetOperationAll(val interface{}) OperationAllInput() interface{} OperationCreate() interface{} SetOperationCreate(val interface{}) OperationCreateInput() interface{} OperationDestroy() interface{} SetOperationDestroy(val interface{}) OperationDestroyInput() interface{} OperationDiscoverVersions() interface{} SetOperationDiscoverVersions(val interface{}) OperationDiscoverVersionsInput() interface{} OperationGet() interface{} SetOperationGet(val interface{}) OperationGetAttributeList() interface{} SetOperationGetAttributeList(val interface{}) OperationGetAttributeListInput() interface{} OperationGetAttributes() interface{} SetOperationGetAttributes(val interface{}) OperationGetAttributesInput() interface{} OperationGetInput() interface{} OperationLocate() interface{} SetOperationLocate(val interface{}) OperationLocateInput() interface{} OperationNone() interface{} SetOperationNone(val interface{}) OperationNoneInput() interface{} OperationRegister() interface{} SetOperationRegister(val interface{}) OperationRegisterInput() interface{} OperationRekey() interface{} SetOperationRekey(val interface{}) OperationRekeyInput() interface{} OperationRevoke() interface{} SetOperationRevoke(val interface{}) OperationRevokeInput() interface{} Path() *string SetPath(val *string) PathInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Role() *string SetRole(val *string) RoleInput() *string Scope() *string SetScope(val *string) ScopeInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string TlsClientKeyBits() *float64 SetTlsClientKeyBits(val *float64) TlsClientKeyBitsInput() *float64 TlsClientKeyType() *string SetTlsClientKeyType(val *string) TlsClientKeyTypeInput() *string TlsClientTtl() *float64 SetTlsClientTtl(val *float64) TlsClientTtlInput() *float64 // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *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. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetId() ResetNamespace() ResetOperationActivate() ResetOperationAddAttribute() ResetOperationAll() ResetOperationCreate() ResetOperationDestroy() ResetOperationDiscoverVersions() ResetOperationGet() ResetOperationGetAttributeList() ResetOperationGetAttributes() ResetOperationLocate() ResetOperationNone() ResetOperationRegister() ResetOperationRekey() ResetOperationRevoke() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetTlsClientKeyBits() ResetTlsClientKeyType() ResetTlsClientTtl() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() 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/4.5.0/docs/resources/kmip_secret_role vault_kmip_secret_role}.
func NewKmipSecretRole ¶
func NewKmipSecretRole(scope constructs.Construct, id *string, config *KmipSecretRoleConfig) KmipSecretRole
Create a new {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role vault_kmip_secret_role} Resource.
type KmipSecretRoleConfig ¶
type KmipSecretRoleConfig 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"` // Path where KMIP backend is mounted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#path KmipSecretRole#path} Path *string `field:"required" json:"path" yaml:"path"` // Name of the role. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#role KmipSecretRole#role} Role *string `field:"required" json:"role" yaml:"role"` // Name of the scope. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#scope KmipSecretRole#scope} Scope *string `field:"required" json:"scope" yaml:"scope"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#id KmipSecretRole#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"` // Target namespace. (requires Enterprise). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#namespace KmipSecretRole#namespace} Namespace *string `field:"optional" json:"namespace" yaml:"namespace"` // Grant permission to use the KMIP Activate operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_activate KmipSecretRole#operation_activate} OperationActivate interface{} `field:"optional" json:"operationActivate" yaml:"operationActivate"` // Grant permission to use the KMIP Add Attribute operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_add_attribute KmipSecretRole#operation_add_attribute} OperationAddAttribute interface{} `field:"optional" json:"operationAddAttribute" yaml:"operationAddAttribute"` // Grant all permissions to this role. May not be specified with any other operation_* params. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_all KmipSecretRole#operation_all} OperationAll interface{} `field:"optional" json:"operationAll" yaml:"operationAll"` // Grant permission to use the KMIP Create operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_create KmipSecretRole#operation_create} OperationCreate interface{} `field:"optional" json:"operationCreate" yaml:"operationCreate"` // Grant permission to use the KMIP Destroy operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_destroy KmipSecretRole#operation_destroy} OperationDestroy interface{} `field:"optional" json:"operationDestroy" yaml:"operationDestroy"` // Grant permission to use the KMIP Discover Version operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_discover_versions KmipSecretRole#operation_discover_versions} OperationDiscoverVersions interface{} `field:"optional" json:"operationDiscoverVersions" yaml:"operationDiscoverVersions"` // Grant permission to use the KMIP Get operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_get KmipSecretRole#operation_get} OperationGet interface{} `field:"optional" json:"operationGet" yaml:"operationGet"` // Grant permission to use the KMIP Get Attribute List operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_get_attribute_list KmipSecretRole#operation_get_attribute_list} OperationGetAttributeList interface{} `field:"optional" json:"operationGetAttributeList" yaml:"operationGetAttributeList"` // Grant permission to use the KMIP Get Attributes operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_get_attributes KmipSecretRole#operation_get_attributes} OperationGetAttributes interface{} `field:"optional" json:"operationGetAttributes" yaml:"operationGetAttributes"` // Grant permission to use the KMIP Locate operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_locate KmipSecretRole#operation_locate} OperationLocate interface{} `field:"optional" json:"operationLocate" yaml:"operationLocate"` // Remove all permissions from this role. May not be specified with any other operation_* params. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_none KmipSecretRole#operation_none} OperationNone interface{} `field:"optional" json:"operationNone" yaml:"operationNone"` // Grant permission to use the KMIP Register operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_register KmipSecretRole#operation_register} OperationRegister interface{} `field:"optional" json:"operationRegister" yaml:"operationRegister"` // Grant permission to use the KMIP Rekey operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_rekey KmipSecretRole#operation_rekey} OperationRekey interface{} `field:"optional" json:"operationRekey" yaml:"operationRekey"` // Grant permission to use the KMIP Revoke operation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#operation_revoke KmipSecretRole#operation_revoke} OperationRevoke interface{} `field:"optional" json:"operationRevoke" yaml:"operationRevoke"` // Client certificate key bits, valid values depend on key type. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#tls_client_key_bits KmipSecretRole#tls_client_key_bits} TlsClientKeyBits *float64 `field:"optional" json:"tlsClientKeyBits" yaml:"tlsClientKeyBits"` // Client certificate key type, rsa or ec. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#tls_client_key_type KmipSecretRole#tls_client_key_type} TlsClientKeyType *string `field:"optional" json:"tlsClientKeyType" yaml:"tlsClientKeyType"` // Client certificate TTL in seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/kmip_secret_role#tls_client_ttl KmipSecretRole#tls_client_ttl} TlsClientTtl *float64 `field:"optional" json:"tlsClientTtl" yaml:"tlsClientTtl"` }