Class CfnCertificatePropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
AWS::CertificateManager::Certificate resource requests an Certificate Manager ( ACM ) certificate that you can use to enable secure connections.
For example, you can deploy an ACM certificate to an Elastic Load Balancer to enable HTTPS support. For more information, see RequestCertificate in the Certificate Manager API Reference.
When you use the
AWS::CertificateManager::Certificateresource in a CloudFormation stack, domain validation is handled automatically if all three of the following are true: The certificate domain is hosted in Amazon Route 53, the domain resides in your AWS account , and you are using DNS validation.However, if the certificate uses email validation, or if the domain is not hosted in Route 53, then the stack will remain in the
CREATE_IN_PROGRESSstate. Further stack operations are delayed until you validate the certificate request, either by acting upon the instructions in the validation email, or by adding a CNAME record to your DNS configuration. For more information, see Option 1: DNS Validation and Option 2: Email Validation .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.certificatemanager.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnCertificatePropsMixin cfnCertificatePropsMixin = CfnCertificatePropsMixin.Builder.create(CfnCertificateMixinProps.builder()
.certificateAuthorityArn("certificateAuthorityArn")
.certificateExport("certificateExport")
.certificateTransparencyLoggingPreference("certificateTransparencyLoggingPreference")
.domainName("domainName")
.domainValidationOptions(List.of(DomainValidationOptionProperty.builder()
.domainName("domainName")
.hostedZoneId("hostedZoneId")
.validationDomain("validationDomain")
.build()))
.keyAlgorithm("keyAlgorithm")
.subjectAlternativeNames(List.of("subjectAlternativeNames"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.validationMethod("validationMethod")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCertificatePropsMixin.static interfaceDomainValidationOptionis a property of the AWS::CertificateManager::Certificate resource that specifies the Certificate Manager ( ACM ) certificate domain to validate.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::CertificateManager::Certificate.CfnCertificatePropsMixin(CfnCertificateMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::CertificateManager::Certificate.protectedCfnCertificatePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCertificatePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnCertificateMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnCertificatePropsMixin
protected CfnCertificatePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCertificatePropsMixin
protected CfnCertificatePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCertificatePropsMixin
@Stability(Stable) public CfnCertificatePropsMixin(@NotNull CfnCertificateMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::CertificateManager::Certificate.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnCertificatePropsMixin
Create a mixin to apply properties toAWS::CertificateManager::Certificate.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-