Skip to content
v2.273.0

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 DaysUntilExpiry metric to your account. > If you use the Certificate parameter to upload both the certificate and its chain, don't use the CertificateChain parameter.

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 ​

ts
new CfnCertificatePropsMixin(props: CfnCertificateMixinProps, options?: CfnPropertyMixinOptions)
python
CfnCertificatePropsMixin(props: CfnCertificateMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnCertificatePropsMixin(CfnCertificateMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnCertificatePropsMixin(CfnCertificateMixinProps props, CfnPropertyMixinOptions? options = null)
go
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)#
Apply the mixin properties to the construct.
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#
Checks if `x` is a Mixin.
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#
Check if this mixin supports the given construct.