Documentation
¶
Index ¶
- func NewPkiSecretBackendCert_Override(p PkiSecretBackendCert, scope constructs.Construct, id *string, ...)
- func PkiSecretBackendCert_IsConstruct(x interface{}) *bool
- func PkiSecretBackendCert_IsTerraformElement(x interface{}) *bool
- func PkiSecretBackendCert_IsTerraformResource(x interface{}) *bool
- func PkiSecretBackendCert_TfResourceType() *string
- type PkiSecretBackendCert
- type PkiSecretBackendCertConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPkiSecretBackendCert_Override ¶
func NewPkiSecretBackendCert_Override(p PkiSecretBackendCert, scope constructs.Construct, id *string, config *PkiSecretBackendCertConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert vault_pki_secret_backend_cert} Resource.
func PkiSecretBackendCert_IsConstruct ¶
func PkiSecretBackendCert_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 PkiSecretBackendCert_IsTerraformElement ¶
func PkiSecretBackendCert_IsTerraformElement(x interface{}) *bool
Experimental.
func PkiSecretBackendCert_IsTerraformResource ¶
func PkiSecretBackendCert_IsTerraformResource(x interface{}) *bool
Experimental.
func PkiSecretBackendCert_TfResourceType ¶
func PkiSecretBackendCert_TfResourceType() *string
Types ¶
type PkiSecretBackendCert ¶
type PkiSecretBackendCert interface { cdktf.TerraformResource AltNames() *[]*string SetAltNames(val *[]*string) AltNamesInput() *[]*string AutoRenew() interface{} SetAutoRenew(val interface{}) AutoRenewInput() interface{} Backend() *string SetBackend(val *string) BackendInput() *string CaChain() *string // Experimental. CdktfStack() cdktf.TerraformStack Certificate() *string CommonName() *string SetCommonName(val *string) CommonNameInput() *string // 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) ExcludeCnFromSans() interface{} SetExcludeCnFromSans(val interface{}) ExcludeCnFromSansInput() interface{} Expiration() *float64 // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) Format() *string SetFormat(val *string) FormatInput() *string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string IpSans() *[]*string SetIpSans(val *[]*string) IpSansInput() *[]*string IssuerRef() *string SetIssuerRef(val *string) IssuerRefInput() *string IssuingCa() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MinSecondsRemaining() *float64 SetMinSecondsRemaining(val *float64) MinSecondsRemainingInput() *float64 Name() *string SetName(val *string) NameInput() *string Namespace() *string SetNamespace(val *string) NamespaceInput() *string // The tree node. Node() constructs.Node OtherSans() *[]*string SetOtherSans(val *[]*string) OtherSansInput() *[]*string PrivateKey() *string PrivateKeyFormat() *string SetPrivateKeyFormat(val *string) PrivateKeyFormatInput() *string PrivateKeyType() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} RenewPending() cdktf.IResolvable Revoke() interface{} SetRevoke(val interface{}) RevokeInput() interface{} SerialNumber() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Ttl() *string SetTtl(val *string) TtlInput() *string UriSans() *[]*string SetUriSans(val *[]*string) UriSansInput() *[]*string UserIds() *[]*string SetUserIds(val *[]*string) UserIdsInput() *[]*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) ResetAltNames() ResetAutoRenew() ResetExcludeCnFromSans() ResetFormat() ResetId() ResetIpSans() ResetIssuerRef() ResetMinSecondsRemaining() ResetNamespace() ResetOtherSans() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPrivateKeyFormat() ResetRevoke() ResetTtl() ResetUriSans() ResetUserIds() 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/pki_secret_backend_cert vault_pki_secret_backend_cert}.
func NewPkiSecretBackendCert ¶
func NewPkiSecretBackendCert(scope constructs.Construct, id *string, config *PkiSecretBackendCertConfig) PkiSecretBackendCert
Create a new {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert vault_pki_secret_backend_cert} Resource.
type PkiSecretBackendCertConfig ¶
type PkiSecretBackendCertConfig 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"` // The PKI secret backend the resource belongs to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#backend PkiSecretBackendCert#backend} Backend *string `field:"required" json:"backend" yaml:"backend"` // CN of the certificate to create. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#common_name PkiSecretBackendCert#common_name} CommonName *string `field:"required" json:"commonName" yaml:"commonName"` // Name of the role to create the certificate against. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#name PkiSecretBackendCert#name} Name *string `field:"required" json:"name" yaml:"name"` // List of alternative names. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#alt_names PkiSecretBackendCert#alt_names} AltNames *[]*string `field:"optional" json:"altNames" yaml:"altNames"` // If enabled, a new certificate will be generated if the expiration is within min_seconds_remaining. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#auto_renew PkiSecretBackendCert#auto_renew} AutoRenew interface{} `field:"optional" json:"autoRenew" yaml:"autoRenew"` // Flag to exclude CN from SANs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#exclude_cn_from_sans PkiSecretBackendCert#exclude_cn_from_sans} ExcludeCnFromSans interface{} `field:"optional" json:"excludeCnFromSans" yaml:"excludeCnFromSans"` // The format of data. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#format PkiSecretBackendCert#format} Format *string `field:"optional" json:"format" yaml:"format"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#id PkiSecretBackendCert#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"` // List of alternative IPs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#ip_sans PkiSecretBackendCert#ip_sans} IpSans *[]*string `field:"optional" json:"ipSans" yaml:"ipSans"` // Specifies the default issuer of this request. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#issuer_ref PkiSecretBackendCert#issuer_ref} IssuerRef *string `field:"optional" json:"issuerRef" yaml:"issuerRef"` // Generate a new certificate when the expiration is within this number of seconds. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#min_seconds_remaining PkiSecretBackendCert#min_seconds_remaining} MinSecondsRemaining *float64 `field:"optional" json:"minSecondsRemaining" yaml:"minSecondsRemaining"` // Target namespace. (requires Enterprise). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#namespace PkiSecretBackendCert#namespace} Namespace *string `field:"optional" json:"namespace" yaml:"namespace"` // List of other SANs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#other_sans PkiSecretBackendCert#other_sans} OtherSans *[]*string `field:"optional" json:"otherSans" yaml:"otherSans"` // The private key format. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#private_key_format PkiSecretBackendCert#private_key_format} PrivateKeyFormat *string `field:"optional" json:"privateKeyFormat" yaml:"privateKeyFormat"` // Revoke the certificate upon resource destruction. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#revoke PkiSecretBackendCert#revoke} Revoke interface{} `field:"optional" json:"revoke" yaml:"revoke"` // Time to live. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#ttl PkiSecretBackendCert#ttl} Ttl *string `field:"optional" json:"ttl" yaml:"ttl"` // List of alternative URIs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#uri_sans PkiSecretBackendCert#uri_sans} UriSans *[]*string `field:"optional" json:"uriSans" yaml:"uriSans"` // List of Subject User IDs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/3.21.0/docs/resources/pki_secret_backend_cert#user_ids PkiSecretBackendCert#user_ids} UserIds *[]*string `field:"optional" json:"userIds" yaml:"userIds"` }