public static final class CfnCertificateAuthority.CrlConfigurationProperty.Builder
extends java.lang.Object
CfnCertificateAuthority.CrlConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnCertificateAuthority.CrlConfigurationProperty.Builder customCname(java.lang.String customCname)
CfnCertificateAuthority.CrlConfigurationProperty.getCustomCname()
customCname
- Name inserted into the certificate *CRL Distribution Points* extension that enables the use of an alias for the CRL distribution point.
Use this value if you don't want the name of your S3 bucket to be public.this
public CfnCertificateAuthority.CrlConfigurationProperty.Builder enabled(java.lang.Boolean enabled)
CfnCertificateAuthority.CrlConfigurationProperty.getEnabled()
enabled
- Boolean value that specifies whether certificate revocation lists (CRLs) are enabled.
You can use this value to enable certificate revocation for a new CA when you call the CreateCertificateAuthority
operation or for an existing CA when you call the UpdateCertificateAuthority
operation.this
public CfnCertificateAuthority.CrlConfigurationProperty.Builder enabled(IResolvable enabled)
CfnCertificateAuthority.CrlConfigurationProperty.getEnabled()
enabled
- Boolean value that specifies whether certificate revocation lists (CRLs) are enabled.
You can use this value to enable certificate revocation for a new CA when you call the CreateCertificateAuthority
operation or for an existing CA when you call the UpdateCertificateAuthority
operation.this
public CfnCertificateAuthority.CrlConfigurationProperty.Builder expirationInDays(java.lang.Number expirationInDays)
CfnCertificateAuthority.CrlConfigurationProperty.getExpirationInDays()
expirationInDays
- Validity period of the CRL in days.this
public CfnCertificateAuthority.CrlConfigurationProperty.Builder s3BucketName(java.lang.String s3BucketName)
CfnCertificateAuthority.CrlConfigurationProperty.getS3BucketName()
s3BucketName
- Name of the S3 bucket that contains the CRL.
If you do not provide a value for the CustomCname argument, the name of your S3 bucket is placed into the CRL Distribution Points extension of the issued certificate. You can change the name of your bucket by calling the UpdateCertificateAuthority operation. You must specify a bucket policy that allows ACM Private CA to write the CRL to your bucket.this
public CfnCertificateAuthority.CrlConfigurationProperty.Builder s3ObjectAcl(java.lang.String s3ObjectAcl)
CfnCertificateAuthority.CrlConfigurationProperty.getS3ObjectAcl()
s3ObjectAcl
- Determines whether the CRL will be publicly readable or privately held in the CRL Amazon S3 bucket.
If you choose PUBLIC_READ, the CRL will be accessible over the public internet. If you choose BUCKET_OWNER_FULL_CONTROL, only the owner of the CRL S3 bucket can access the CRL, and your PKI clients may need an alternative method of access.
If no value is specified, the default is PUBLIC_READ.
This default can cause CA creation to fail in some circumstances. If you have enabled the Block Public Access (BPA) feature in your S3 account, then you must specify the value of this parameter as
BUCKET_OWNER_FULL_CONTROL
, and not doing so results in an error. If you have disabled BPA in S3, then you can specify eitherBUCKET_OWNER_FULL_CONTROL
orPUBLIC_READ
as the value.
For more information, see Blocking public access to the S3 bucket .
this
public CfnCertificateAuthority.CrlConfigurationProperty build()
CfnCertificateAuthority.CrlConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided