class CfnCertificatePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CertificateManager.Mixins.CfnCertificatePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscertificatemanager/mixins#CfnCertificatePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.certificatemanager.mixins.CfnCertificatePropsMixin |
Python | aws_cdk.mixins_preview.aws_certificatemanager.mixins.CfnCertificatePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_certificatemanager » mixins » CfnCertificatePropsMixin |
Implements
IMixin
Extends
Mixin
The 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 { mixins } from '@aws-cdk/mixins-preview';
import { mixins as certificatemanager_mixins } from '@aws-cdk/mixins-preview/aws-certificatemanager';
const cfnCertificatePropsMixin = new certificatemanager_mixins.CfnCertificatePropsMixin({
certificateAuthorityArn: 'certificateAuthorityArn',
certificateExport: 'certificateExport',
certificateTransparencyLoggingPreference: 'certificateTransparencyLoggingPreference',
domainName: 'domainName',
domainValidationOptions: [{
domainName: 'domainName',
hostedZoneId: 'hostedZoneId',
validationDomain: 'validationDomain',
}],
keyAlgorithm: 'keyAlgorithm',
subjectAlternativeNames: ['subjectAlternativeNames'],
tags: [{
key: 'key',
value: 'value',
}],
validationMethod: 'validationMethod',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnCertificatePropsMixin(props: CfnCertificateMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Certificate Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::CertificateManager::Certificate.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript