Interface PrivatecaCertificateConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
PrivatecaCertificateConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.342Z") @Stability(Stable) public interface PrivatecaCertificateConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPrivatecaCertificateConfig.BuilderA builder forPrivatecaCertificateConfigstatic classPrivatecaCertificateConfig.Jsii$ProxyAn implementation forPrivatecaCertificateConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PrivatecaCertificateConfig.Builderbuilder()default StringgetCertificateAuthority()The Certificate Authority ID that should issue the certificate.default StringgetCertificateTemplate()The resource name for a CertificateTemplate used to issue this certificate, in the format 'projects/* /locations/* /certificateTemplates/*'.default PrivatecaCertificateConfigAgetConfig()config block.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#id PrivatecaCertificate#id}.default Map<String,String>getLabels()Labels with user-defined metadata to apply to this resource.default StringgetLifetime()The desired lifetime of the CA certificate.StringgetLocation()Location of the Certificate.StringgetName()The name for this Certificate.default StringgetPemCsr()Immutable.StringgetPool()The name of the CaPool this Certificate belongs to.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#project PrivatecaCertificate#project}.default PrivatecaCertificateTimeoutsgetTimeouts()timeouts block.
-
-
-
Method Detail
-
getLocation
@Stability(Stable) @NotNull String getLocation()
Location of the Certificate. A full list of valid locations can be found by running 'gcloud privateca locations list'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#location PrivatecaCertificate#location}
-
getName
@Stability(Stable) @NotNull String getName()
The name for this Certificate.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#name PrivatecaCertificate#name}
-
getPool
@Stability(Stable) @NotNull String getPool()
The name of the CaPool this Certificate belongs to.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#pool PrivatecaCertificate#pool}
-
getCertificateAuthority
@Stability(Stable) @Nullable default String getCertificateAuthority()
The Certificate Authority ID that should issue the certificate.For example, to issue a Certificate from a Certificate Authority with resource name 'projects/my-project/locations/us-central1/caPools/my-pool/certificateAuthorities/my-ca', argument 'pool' should be set to 'projects/my-project/locations/us-central1/caPools/my-pool', argument 'certificate_authority' should be set to 'my-ca'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#certificate_authority PrivatecaCertificate#certificate_authority}
-
getCertificateTemplate
@Stability(Stable) @Nullable default String getCertificateTemplate()
The resource name for a CertificateTemplate used to issue this certificate, in the format 'projects/* /locations/* /certificateTemplates/*'.If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#certificate_template PrivatecaCertificate#certificate_template} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.
-
getConfig
@Stability(Stable) @Nullable default PrivatecaCertificateConfigA getConfig()
config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#config PrivatecaCertificate#config}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#id PrivatecaCertificate#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.
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
Labels with user-defined metadata to apply to this resource.**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#labels PrivatecaCertificate#labels}
-
getLifetime
@Stability(Stable) @Nullable default String getLifetime()
The desired lifetime of the CA certificate.Used to create the "notBeforeTime" and "notAfterTime" fields inside an X.509 certificate. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#lifetime PrivatecaCertificate#lifetime}
-
getPemCsr
@Stability(Stable) @Nullable default String getPemCsr()
Immutable. A pem-encoded X.509 certificate signing request (CSR).Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#pem_csr PrivatecaCertificate#pem_csr}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#project PrivatecaCertificate#project}.
-
getTimeouts
@Stability(Stable) @Nullable default PrivatecaCertificateTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#timeouts PrivatecaCertificate#timeouts}
-
builder
@Stability(Stable) static PrivatecaCertificateConfig.Builder builder()
- Returns:
- a
PrivatecaCertificateConfig.BuilderofPrivatecaCertificateConfig
-
-