CfnCertificateProps
- class aws_cdk.aws_transfer.CfnCertificateProps(*, certificate, usage, active_date=None, certificate_chain=None, description=None, inactive_date=None, private_key=None, tags=None)
Bases:
object
Properties for defining a
CfnCertificate
.- Parameters:
certificate (
str
) – The file name for the certificate.usage (
str
) – Specifies how this certificate is used. It can be used in the following ways:. -SIGNING
: For signing AS2 messages -ENCRYPTION
: For encrypting AS2 messages -TLS
: For securing AS2 communications sent over HTTPSactive_date (
Optional
[str
]) – An optional date that specifies when the certificate becomes active.certificate_chain (
Optional
[str
]) – The list of certificates that make up the chain for the certificate.description (
Optional
[str
]) – The name or description that’s used to identity the certificate.inactive_date (
Optional
[str
]) – An optional date that specifies when the certificate becomes inactive.private_key (
Optional
[str
]) – The file that contains the private key for the certificate that’s being imported.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – Key-value pairs that can be used to group and search for certificates.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-certificate.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_transfer as transfer cfn_certificate_props = transfer.CfnCertificateProps( certificate="certificate", usage="usage", # the properties below are optional active_date="activeDate", certificate_chain="certificateChain", description="description", inactive_date="inactiveDate", private_key="privateKey", tags=[CfnTag( key="key", value="value" )] )
Attributes
- active_date
An optional date that specifies when the certificate becomes active.
- certificate
The file name for the certificate.
- certificate_chain
The list of certificates that make up the chain for the certificate.
- description
The name or description that’s used to identity the certificate.
- inactive_date
An optional date that specifies when the certificate becomes inactive.
- private_key
The file that contains the private key for the certificate that’s being imported.
- tags
Key-value pairs that can be used to group and search for certificates.
- usage
.
SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
- See:
- Type:
Specifies how this certificate is used. It can be used in the following ways