CfnCertificatePropsMixin Mixin
Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.
You can import both the certificate and its chain in the Certificate parameter.
After importing a certificate, AWS Transfer Family automatically creates a Amazon CloudWatch metric called DaysUntilExpiry that tracks the number of days until the certificate expires. The metric is based on the InactiveDate parameter and is published daily in the AWS/Transfer namespace.
It can take up to a full day after importing a certificate for Transfer Family to emit the
DaysUntilExpirymetric to your account. > If you use theCertificateparameter to upload both the certificate and its chain, don't use theCertificateChainparameter.
CloudWatch monitoring
The DaysUntilExpiry metric includes the following specifications:
- Units: Count (days)
- Dimensions:
CertificateId(always present),Description(if provided during certificate import) - Statistics: Minimum, Maximum, Average
- Frequency: Published daily
Initializer
new CfnCertificatePropsMixin(props: CfnCertificateMixinProps, options?: CfnPropertyMixinOptions)
CfnCertificatePropsMixin(props: CfnCertificateMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
new CfnCertificatePropsMixin(CfnCertificateMixinProps props, CfnPropertyMixinOptions options)
new CfnCertificatePropsMixin(CfnCertificateMixinProps props, CfnPropertyMixinOptions? options = null)
NewCfnCertificatePropsMixin(Props CfnCertificateMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#