Class CfnCertificatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificatePropsMixin>
- Enclosing class:
CfnCertificatePropsMixin
CfnCertificatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionapiPassthrough(CfnCertificatePropsMixin.ApiPassthroughProperty apiPassthrough) Specifies X.509 certificate information to be included in the issued certificate.apiPassthrough(IResolvable apiPassthrough) Specifies X.509 certificate information to be included in the issued certificate.build()certificateAuthorityArn(String certificateAuthorityArn) The Amazon Resource Name (ARN) for the private CA issues the certificate.certificateAuthorityArn(ICertificateAuthorityRef certificateAuthorityArn) The Amazon Resource Name (ARN) for the private CA issues the certificate.certificateSigningRequest(String certificateSigningRequest) The certificate signing request (CSR) for the certificate.create()create(CfnPropertyMixinOptions options) signingAlgorithm(String signingAlgorithm) The name of the algorithm that will be used to sign the certificate to be issued.templateArn(String templateArn) Specifies a custom configuration template to use when issuing a certificate.templateArn(ICertificateAuthorityRef templateArn) Specifies a custom configuration template to use when issuing a certificate.The period of time during which the certificate will be valid.validity(IResolvable validity) The period of time during which the certificate will be valid.validityNotBefore(CfnCertificatePropsMixin.ValidityProperty validityNotBefore) Information describing the start of the validity period of the certificate.validityNotBefore(IResolvable validityNotBefore) Information describing the start of the validity period of the certificate.
-
Method Details
-
create
@Stability(Stable) public static CfnCertificatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCertificatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCertificatePropsMixin.Builder.
-
apiPassthrough
@Stability(Stable) public CfnCertificatePropsMixin.Builder apiPassthrough(IResolvable apiPassthrough) Specifies X.509 certificate information to be included in the issued certificate. AnAPIPassthroughorAPICSRPassthroughtemplate variant must be selected, or else this parameter is ignored.- Parameters:
apiPassthrough- Specifies X.509 certificate information to be included in the issued certificate. AnAPIPassthroughorAPICSRPassthroughtemplate variant must be selected, or else this parameter is ignored. This parameter is required.- Returns:
this- See Also:
-
apiPassthrough
@Stability(Stable) public CfnCertificatePropsMixin.Builder apiPassthrough(CfnCertificatePropsMixin.ApiPassthroughProperty apiPassthrough) Specifies X.509 certificate information to be included in the issued certificate. AnAPIPassthroughorAPICSRPassthroughtemplate variant must be selected, or else this parameter is ignored.- Parameters:
apiPassthrough- Specifies X.509 certificate information to be included in the issued certificate. AnAPIPassthroughorAPICSRPassthroughtemplate variant must be selected, or else this parameter is ignored. This parameter is required.- Returns:
this- See Also:
-
certificateAuthorityArn
@Stability(Stable) public CfnCertificatePropsMixin.Builder certificateAuthorityArn(String certificateAuthorityArn) The Amazon Resource Name (ARN) for the private CA issues the certificate.- Parameters:
certificateAuthorityArn- The Amazon Resource Name (ARN) for the private CA issues the certificate. This parameter is required.- Returns:
this- See Also:
-
certificateAuthorityArn
@Stability(Stable) public CfnCertificatePropsMixin.Builder certificateAuthorityArn(ICertificateAuthorityRef certificateAuthorityArn) The Amazon Resource Name (ARN) for the private CA issues the certificate.- Parameters:
certificateAuthorityArn- The Amazon Resource Name (ARN) for the private CA issues the certificate. This parameter is required.- Returns:
this- See Also:
-
certificateSigningRequest
@Stability(Stable) public CfnCertificatePropsMixin.Builder certificateSigningRequest(String certificateSigningRequest) The certificate signing request (CSR) for the certificate.- Parameters:
certificateSigningRequest- The certificate signing request (CSR) for the certificate. This parameter is required.- Returns:
this- See Also:
-
signingAlgorithm
@Stability(Stable) public CfnCertificatePropsMixin.Builder signingAlgorithm(String signingAlgorithm) The name of the algorithm that will be used to sign the certificate to be issued.This parameter should not be confused with the
SigningAlgorithmparameter used to sign a CSR in theCreateCertificateAuthorityaction.The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
- Parameters:
signingAlgorithm- The name of the algorithm that will be used to sign the certificate to be issued. This parameter is required.- Returns:
this- See Also:
-
templateArn
Specifies a custom configuration template to use when issuing a certificate.If this parameter is not provided, AWS Private CA defaults to the
EndEntityCertificate/V1template. For more information about AWS Private CA templates, see Using Templates .- Parameters:
templateArn- Specifies a custom configuration template to use when issuing a certificate. This parameter is required.- Returns:
this- See Also:
-
templateArn
@Stability(Stable) public CfnCertificatePropsMixin.Builder templateArn(ICertificateAuthorityRef templateArn) Specifies a custom configuration template to use when issuing a certificate.If this parameter is not provided, AWS Private CA defaults to the
EndEntityCertificate/V1template. For more information about AWS Private CA templates, see Using Templates .- Parameters:
templateArn- Specifies a custom configuration template to use when issuing a certificate. This parameter is required.- Returns:
this- See Also:
-
validity
The period of time during which the certificate will be valid.- Parameters:
validity- The period of time during which the certificate will be valid. This parameter is required.- Returns:
this- See Also:
-
validity
@Stability(Stable) public CfnCertificatePropsMixin.Builder validity(CfnCertificatePropsMixin.ValidityProperty validity) The period of time during which the certificate will be valid.- Parameters:
validity- The period of time during which the certificate will be valid. This parameter is required.- Returns:
this- See Also:
-
validityNotBefore
@Stability(Stable) public CfnCertificatePropsMixin.Builder validityNotBefore(IResolvable validityNotBefore) Information describing the start of the validity period of the certificate.This parameter sets the “Not Before" date for the certificate.
By default, when issuing a certificate, AWS Private CA sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The
ValidityNotBeforeparameter can be used to customize the “Not Before” value.Unlike the
Validityparameter, theValidityNotBeforeparameter is optional.The
ValidityNotBeforevalue is expressed as an explicit date and time, using theValiditytype valueABSOLUTE.- Parameters:
validityNotBefore- Information describing the start of the validity period of the certificate. This parameter is required.- Returns:
this- See Also:
-
validityNotBefore
@Stability(Stable) public CfnCertificatePropsMixin.Builder validityNotBefore(CfnCertificatePropsMixin.ValidityProperty validityNotBefore) Information describing the start of the validity period of the certificate.This parameter sets the “Not Before" date for the certificate.
By default, when issuing a certificate, AWS Private CA sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The
ValidityNotBeforeparameter can be used to customize the “Not Before” value.Unlike the
Validityparameter, theValidityNotBeforeparameter is optional.The
ValidityNotBeforevalue is expressed as an explicit date and time, using theValiditytype valueABSOLUTE.- Parameters:
validityNotBefore- Information describing the start of the validity period of the certificate. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificatePropsMixin>- Returns:
- a newly built instance of
CfnCertificatePropsMixin.
-