@Stability(value=Stable) public static final class CfnCertificate.Builder extends Object implements software.amazon.jsii.Builder<CfnCertificate>
CfnCertificate.| Modifier and Type | Method and Description |
|---|---|
CfnCertificate.Builder |
apiPassthrough(CfnCertificate.ApiPassthroughProperty apiPassthrough)
Specifies X.509 certificate information to be included in the issued certificate.
|
CfnCertificate.Builder |
apiPassthrough(IResolvable apiPassthrough)
Specifies X.509 certificate information to be included in the issued certificate.
|
CfnCertificate |
build() |
CfnCertificate.Builder |
certificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) for the private CA issues the certificate.
|
CfnCertificate.Builder |
certificateSigningRequest(String certificateSigningRequest)
The certificate signing request (CSR) for the certificate.
|
static CfnCertificate.Builder |
create(software.constructs.Construct scope,
String id) |
CfnCertificate.Builder |
signingAlgorithm(String signingAlgorithm)
The name of the algorithm that will be used to sign the certificate to be issued.
|
CfnCertificate.Builder |
templateArn(String templateArn)
Specifies a custom configuration template to use when issuing a certificate.
|
CfnCertificate.Builder |
validity(CfnCertificate.ValidityProperty validity)
The period of time during which the certificate will be valid.
|
CfnCertificate.Builder |
validity(IResolvable validity)
The period of time during which the certificate will be valid.
|
CfnCertificate.Builder |
validityNotBefore(CfnCertificate.ValidityProperty validityNotBefore)
Information describing the start of the validity period of the certificate.
|
CfnCertificate.Builder |
validityNotBefore(IResolvable validityNotBefore)
Information describing the start of the validity period of the certificate.
|
@Stability(value=Stable) public static CfnCertificate.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnCertificate.ApiPassthroughProperty.Builder.@Stability(value=Stable) public CfnCertificate.Builder certificateAuthorityArn(String certificateAuthorityArn)
certificateAuthorityArn - The Amazon Resource Name (ARN) for the private CA issues the certificate. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder certificateSigningRequest(String certificateSigningRequest)
certificateSigningRequest - The certificate signing request (CSR) for the certificate. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder signingAlgorithm(String signingAlgorithm)
This parameter should not be confused with the SigningAlgorithm parameter used to sign a CSR in the CreateCertificateAuthority action.
The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
signingAlgorithm - The name of the algorithm that will be used to sign the certificate to be issued. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder validity(CfnCertificate.ValidityProperty validity)
validity - The period of time during which the certificate will be valid. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder validity(IResolvable validity)
validity - The period of time during which the certificate will be valid. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder apiPassthrough(CfnCertificate.ApiPassthroughProperty apiPassthrough)
apiPassthrough - Specifies X.509 certificate information to be included in the issued certificate. An `APIPassthrough` or `APICSRPassthrough` template variant must be selected, or else this parameter is ignored. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder apiPassthrough(IResolvable apiPassthrough)
apiPassthrough - Specifies X.509 certificate information to be included in the issued certificate. An `APIPassthrough` or `APICSRPassthrough` template variant must be selected, or else this parameter is ignored. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder templateArn(String templateArn)
If this parameter is not provided, ACM Private CA defaults to the EndEntityCertificate/V1 template. For more information about ACM Private CA templates, see Using Templates .
templateArn - Specifies a custom configuration template to use when issuing a certificate. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder validityNotBefore(CfnCertificate.ValidityProperty validityNotBefore)
This parameter sets the “Not Before" date for the certificate.
By default, when issuing a certificate, ACM Private CA sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The ValidityNotBefore parameter can be used to customize the “Not Before” value.
Unlike the Validity parameter, the ValidityNotBefore parameter is optional.
The ValidityNotBefore value is expressed as an explicit date and time, using the Validity type value ABSOLUTE .
validityNotBefore - Information describing the start of the validity period of the certificate. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder validityNotBefore(IResolvable validityNotBefore)
This parameter sets the “Not Before" date for the certificate.
By default, when issuing a certificate, ACM Private CA sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The ValidityNotBefore parameter can be used to customize the “Not Before” value.
Unlike the Validity parameter, the ValidityNotBefore parameter is optional.
The ValidityNotBefore value is expressed as an explicit date and time, using the Validity type value ABSOLUTE .
validityNotBefore - Information describing the start of the validity period of the certificate. This parameter is required.this@Stability(value=Stable) public CfnCertificate build()
build in interface software.amazon.jsii.Builder<CfnCertificate>Copyright © 2022. All rights reserved.