public static final class CfnCertificateAuthorityProps.Builder
extends java.lang.Object
CfnCertificateAuthorityProps
Constructor and Description |
---|
Builder() |
public CfnCertificateAuthorityProps.Builder keyAlgorithm(java.lang.String keyAlgorithm)
CfnCertificateAuthorityProps.getKeyAlgorithm()
keyAlgorithm
- Type of the public key algorithm and size, in bits, of the key pair that your CA creates when it issues a certificate. This parameter is required.
When you create a subordinate CA, you must use a key algorithm supported by the parent CA.this
public CfnCertificateAuthorityProps.Builder signingAlgorithm(java.lang.String signingAlgorithm)
CfnCertificateAuthorityProps.getSigningAlgorithm()
signingAlgorithm
- Name of the algorithm your private CA uses to sign certificate requests. This parameter is required.
This parameter should not be confused with the SigningAlgorithm
parameter used to sign certificates when they are issued.this
public CfnCertificateAuthorityProps.Builder subject(IResolvable subject)
CfnCertificateAuthorityProps.getSubject()
subject
- Structure that contains X.500 distinguished name information for your private CA. This parameter is required.this
public CfnCertificateAuthorityProps.Builder subject(CfnCertificateAuthority.SubjectProperty subject)
CfnCertificateAuthorityProps.getSubject()
subject
- Structure that contains X.500 distinguished name information for your private CA. This parameter is required.this
public CfnCertificateAuthorityProps.Builder type(java.lang.String type)
CfnCertificateAuthorityProps.getType()
type
- Type of your private CA. This parameter is required.this
public CfnCertificateAuthorityProps.Builder csrExtensions(IResolvable csrExtensions)
CfnCertificateAuthorityProps.getCsrExtensions()
csrExtensions
- Specifies information to be added to the extension section of the certificate signing request (CSR).this
public CfnCertificateAuthorityProps.Builder csrExtensions(CfnCertificateAuthority.CsrExtensionsProperty csrExtensions)
CfnCertificateAuthorityProps.getCsrExtensions()
csrExtensions
- Specifies information to be added to the extension section of the certificate signing request (CSR).this
public CfnCertificateAuthorityProps.Builder keyStorageSecurityStandard(java.lang.String keyStorageSecurityStandard)
CfnCertificateAuthorityProps.getKeyStorageSecurityStandard()
keyStorageSecurityStandard
- Specifies a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: FIPS_140_2_LEVEL_3_OR_HIGHER
is not supported in the following Regions:
When creating a CA in these Regions, you must provide FIPS_140_2_LEVEL_2_OR_HIGHER
as the argument for KeyStorageSecurityStandard
. Failure to do this results in an InvalidArgsException
with the message, "A certificate authority cannot be created in this region with the specified security standard."
this
public CfnCertificateAuthorityProps.Builder revocationConfiguration(IResolvable revocationConfiguration)
CfnCertificateAuthorityProps.getRevocationConfiguration()
revocationConfiguration
- Information about the certificate revocation list (CRL) created and maintained by your private CA.
Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions. Your certificate authority can create and maintain a certificate revocation list (CRL). A CRL contains information about certificates that have been revoked.this
public CfnCertificateAuthorityProps.Builder revocationConfiguration(CfnCertificateAuthority.RevocationConfigurationProperty revocationConfiguration)
CfnCertificateAuthorityProps.getRevocationConfiguration()
revocationConfiguration
- Information about the certificate revocation list (CRL) created and maintained by your private CA.
Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions. Your certificate authority can create and maintain a certificate revocation list (CRL). A CRL contains information about certificates that have been revoked.this
public CfnCertificateAuthorityProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnCertificateAuthorityProps.getTags()
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 .this
public CfnCertificateAuthorityProps build()
CfnCertificateAuthorityProps
java.lang.NullPointerException
- if any required attribute was not provided