Class CfnCertificateAuthorityMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateAuthorityMixinProps>
- Enclosing interface:
CfnCertificateAuthorityMixinProps
CfnCertificateAuthorityMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCertificateAuthorityMixinProps.getCsrExtensions()csrExtensions(IResolvable csrExtensions) Sets the value ofCfnCertificateAuthorityMixinProps.getCsrExtensions()keyAlgorithm(String keyAlgorithm) Sets the value ofCfnCertificateAuthorityMixinProps.getKeyAlgorithm()keyStorageSecurityStandard(String keyStorageSecurityStandard) Sets the value ofCfnCertificateAuthorityMixinProps.getKeyStorageSecurityStandard()revocationConfiguration(CfnCertificateAuthorityPropsMixin.RevocationConfigurationProperty revocationConfiguration) Sets the value ofCfnCertificateAuthorityMixinProps.getRevocationConfiguration()revocationConfiguration(IResolvable revocationConfiguration) Sets the value ofCfnCertificateAuthorityMixinProps.getRevocationConfiguration()signingAlgorithm(String signingAlgorithm) Sets the value ofCfnCertificateAuthorityMixinProps.getSigningAlgorithm()Sets the value ofCfnCertificateAuthorityMixinProps.getSubject()subject(IResolvable subject) Sets the value ofCfnCertificateAuthorityMixinProps.getSubject()Sets the value ofCfnCertificateAuthorityMixinProps.getTags()Sets the value ofCfnCertificateAuthorityMixinProps.getType()Sets the value ofCfnCertificateAuthorityMixinProps.getUsageMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
csrExtensions
@Stability(Stable) public CfnCertificateAuthorityMixinProps.Builder csrExtensions(IResolvable csrExtensions) Sets the value ofCfnCertificateAuthorityMixinProps.getCsrExtensions()- Parameters:
csrExtensions- Specifies information to be added to the extension section of the certificate signing request (CSR).- Returns:
this
-
csrExtensions
@Stability(Stable) public CfnCertificateAuthorityMixinProps.Builder csrExtensions(CfnCertificateAuthorityPropsMixin.CsrExtensionsProperty csrExtensions) Sets the value ofCfnCertificateAuthorityMixinProps.getCsrExtensions()- Parameters:
csrExtensions- Specifies information to be added to the extension section of the certificate signing request (CSR).- Returns:
this
-
keyAlgorithm
@Stability(Stable) public CfnCertificateAuthorityMixinProps.Builder keyAlgorithm(String keyAlgorithm) Sets the value ofCfnCertificateAuthorityMixinProps.getKeyAlgorithm()- Parameters:
keyAlgorithm- Type of the public key algorithm and size, in bits, of the key pair that your CA creates when it issues a certificate. When you create a subordinate CA, you must use a key algorithm supported by the parent CA.- Returns:
this
-
keyStorageSecurityStandard
@Stability(Stable) public CfnCertificateAuthorityMixinProps.Builder keyStorageSecurityStandard(String keyStorageSecurityStandard) Sets the value ofCfnCertificateAuthorityMixinProps.getKeyStorageSecurityStandard()- Parameters:
keyStorageSecurityStandard- Specifies a cryptographic key management compliance standard for handling and protecting CA keys. Default: FIPS_140_2_LEVEL_3_OR_HIGHERSome AWS Regions don't support the default value. When you create a CA in these Regions, you must use
CCPC_LEVEL_1_OR_HIGHERfor theKeyStorageSecurityStandardparameter. If you don't, the operation returns anInvalidArgsExceptionwith this message: "A certificate authority cannot be created in this region with the specified security standard."For information about security standard support in different AWS Regions, see Storage and security compliance of AWS Private CA private keys .
- Returns:
this
-
revocationConfiguration
@Stability(Stable) public CfnCertificateAuthorityMixinProps.Builder revocationConfiguration(IResolvable revocationConfiguration) Sets the value ofCfnCertificateAuthorityMixinProps.getRevocationConfiguration()- Parameters:
revocationConfiguration- Information about the Online Certificate Status Protocol (OCSP) configuration or certificate revocation list (CRL) created and maintained by your private CA.- Returns:
this
-
revocationConfiguration
@Stability(Stable) public CfnCertificateAuthorityMixinProps.Builder revocationConfiguration(CfnCertificateAuthorityPropsMixin.RevocationConfigurationProperty revocationConfiguration) Sets the value ofCfnCertificateAuthorityMixinProps.getRevocationConfiguration()- Parameters:
revocationConfiguration- Information about the Online Certificate Status Protocol (OCSP) configuration or certificate revocation list (CRL) created and maintained by your private CA.- Returns:
this
-
signingAlgorithm
@Stability(Stable) public CfnCertificateAuthorityMixinProps.Builder signingAlgorithm(String signingAlgorithm) Sets the value ofCfnCertificateAuthorityMixinProps.getSigningAlgorithm()- Parameters:
signingAlgorithm- Name of the algorithm your private CA uses to sign certificate requests. This parameter should not be confused with theSigningAlgorithmparameter used to sign certificates when they are issued.- Returns:
this
-
subject
Sets the value ofCfnCertificateAuthorityMixinProps.getSubject()- Parameters:
subject- Structure that contains X.500 distinguished name information for your private CA.- Returns:
this
-
subject
@Stability(Stable) public CfnCertificateAuthorityMixinProps.Builder subject(CfnCertificateAuthorityPropsMixin.SubjectProperty subject) Sets the value ofCfnCertificateAuthorityMixinProps.getSubject()- Parameters:
subject- Structure that contains X.500 distinguished name information for your private CA.- Returns:
this
-
tags
@Stability(Stable) public CfnCertificateAuthorityMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnCertificateAuthorityMixinProps.getTags()- Parameters:
tags- Key-value pairs that will be attached to the new private CA. You can associate up to 50 tags with a private CA. For information using tags with IAM to manage permissions, see Controlling Access Using IAM Tags .- Returns:
this
-
type
Sets the value ofCfnCertificateAuthorityMixinProps.getType()- Parameters:
type- Type of your private CA.- Returns:
this
-
usageMode
Sets the value ofCfnCertificateAuthorityMixinProps.getUsageMode()- Parameters:
usageMode- Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. Short-lived certificate validity is limited to seven days.The default value is GENERAL_PURPOSE.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificateAuthorityMixinProps>- Returns:
- a new instance of
CfnCertificateAuthorityMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-