@Stability(value=Stable) public static final class CfnCertificateAuthority.Builder extends Object implements software.amazon.jsii.Builder<CfnCertificateAuthority>
CfnCertificateAuthority.| Modifier and Type | Method and Description |
|---|---|
CfnCertificateAuthority |
build() |
static CfnCertificateAuthority.Builder |
create(Construct scope,
String id) |
CfnCertificateAuthority.Builder |
csrExtensions(CfnCertificateAuthority.CsrExtensionsProperty csrExtensions)
Specifies information to be added to the extension section of the certificate signing request (CSR).
|
CfnCertificateAuthority.Builder |
csrExtensions(IResolvable csrExtensions)
Specifies information to be added to the extension section of the certificate signing request (CSR).
|
CfnCertificateAuthority.Builder |
keyAlgorithm(String keyAlgorithm)
Type of the public key algorithm and size, in bits, of the key pair that your CA creates when it issues a certificate.
|
CfnCertificateAuthority.Builder |
keyStorageSecurityStandard(String keyStorageSecurityStandard)
Specifies a cryptographic key management compliance standard used for handling CA keys.
|
CfnCertificateAuthority.Builder |
revocationConfiguration(CfnCertificateAuthority.RevocationConfigurationProperty revocationConfiguration)
Certificate revocation information used by the [CreateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html) and [UpdateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html) actions.
|
CfnCertificateAuthority.Builder |
revocationConfiguration(IResolvable revocationConfiguration)
Certificate revocation information used by the [CreateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html) and [UpdateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html) actions.
|
CfnCertificateAuthority.Builder |
signingAlgorithm(String signingAlgorithm)
Name of the algorithm your private CA uses to sign certificate requests.
|
CfnCertificateAuthority.Builder |
subject(CfnCertificateAuthority.SubjectProperty subject)
Structure that contains X.500 distinguished name information for your private CA.
|
CfnCertificateAuthority.Builder |
subject(IResolvable subject)
Structure that contains X.500 distinguished name information for your private CA.
|
CfnCertificateAuthority.Builder |
tags(List<? extends CfnTag> tags)
Key-value pairs that will be attached to the new private CA.
|
CfnCertificateAuthority.Builder |
type(String type)
Type of your private CA.
|
CfnCertificateAuthority.Builder |
usageMode(String 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.
|
@Stability(value=Stable) public static CfnCertificateAuthority.Builder create(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.CfnCertificateAuthority.AccessDescriptionProperty.Builder.@Stability(value=Stable) public CfnCertificateAuthority.Builder keyAlgorithm(String keyAlgorithm)
When you create a subordinate CA, you must use a key algorithm supported by the parent CA.
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.this@Stability(value=Stable) public CfnCertificateAuthority.Builder signingAlgorithm(String signingAlgorithm)
This parameter should not be confused with the SigningAlgorithm parameter used to sign certificates when they are issued.
signingAlgorithm - Name of the algorithm your private CA uses to sign certificate requests. This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder subject(IResolvable subject)
subject - Structure that contains X.500 distinguished name information for your private CA. This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder subject(CfnCertificateAuthority.SubjectProperty subject)
subject - Structure that contains X.500 distinguished name information for your private CA. This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder type(String type)
type - Type of your private CA. This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder csrExtensions(IResolvable csrExtensions)
csrExtensions - Specifies information to be added to the extension section of the certificate signing request (CSR). This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder csrExtensions(CfnCertificateAuthority.CsrExtensionsProperty csrExtensions)
csrExtensions - Specifies information to be added to the extension section of the certificate signing request (CSR). This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder keyStorageSecurityStandard(String keyStorageSecurityStandard)
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."
keyStorageSecurityStandard - Specifies a cryptographic key management compliance standard used for handling CA keys. This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder revocationConfiguration(IResolvable revocationConfiguration)
The following requirements apply to revocation configurations.
- A configuration disabling CRLs or OCSP must contain only the
Enabled=Falseparameter, and will fail if other parameters such asCustomCnameorExpirationInDaysare included.- In a CRL configuration, the
S3BucketNameparameter must conform to the Amazon S3 bucket naming rules .- A configuration containing a custom Canonical Name (CNAME) parameter for CRLs or OCSP must conform to RFC2396 restrictions on the use of special characters in a CNAME.
- In a CRL or OCSP configuration, the value of a CNAME parameter must not include a protocol prefix such as "http://" or "https://".
revocationConfiguration - Certificate revocation information used by the [CreateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html) and [UpdateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html) actions. Your private certificate authority (CA) can configure Online Certificate Status Protocol (OCSP) support and/or maintain a certificate revocation list (CRL). OCSP returns validation information about certificates as requested by clients, and a CRL contains an updated list of certificates revoked by your CA. For more information, see [RevokeCertificate](https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html) in the *AWS Private CA API Reference* and [Setting up a certificate revocation method](https://docs.aws.amazon.com/privateca/latest/userguide/revocation-setup.html) in the *AWS Private CA User Guide* . This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder revocationConfiguration(CfnCertificateAuthority.RevocationConfigurationProperty revocationConfiguration)
The following requirements apply to revocation configurations.
- A configuration disabling CRLs or OCSP must contain only the
Enabled=Falseparameter, and will fail if other parameters such asCustomCnameorExpirationInDaysare included.- In a CRL configuration, the
S3BucketNameparameter must conform to the Amazon S3 bucket naming rules .- A configuration containing a custom Canonical Name (CNAME) parameter for CRLs or OCSP must conform to RFC2396 restrictions on the use of special characters in a CNAME.
- In a CRL or OCSP configuration, the value of a CNAME parameter must not include a protocol prefix such as "http://" or "https://".
revocationConfiguration - Certificate revocation information used by the [CreateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html) and [UpdateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html) actions. Your private certificate authority (CA) can configure Online Certificate Status Protocol (OCSP) support and/or maintain a certificate revocation list (CRL). OCSP returns validation information about certificates as requested by clients, and a CRL contains an updated list of certificates revoked by your CA. For more information, see [RevokeCertificate](https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html) in the *AWS Private CA API Reference* and [Setting up a certificate revocation method](https://docs.aws.amazon.com/privateca/latest/userguide/revocation-setup.html) in the *AWS Private CA User Guide* . This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder tags(List<? extends CfnTag> tags)
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 .
tags - Key-value pairs that will be attached to the new private CA. This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority.Builder usageMode(String usageMode)
Short-lived certificate validity is limited to seven days.
The default value is GENERAL_PURPOSE.
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. This parameter is required.this@Stability(value=Stable) public CfnCertificateAuthority build()
build in interface software.amazon.jsii.Builder<CfnCertificateAuthority>Copyright © 2023. All rights reserved.