AWS CloudFormation
User Guide (Version )

AWS::DMS::Certificate

The AWS::DMS::Certificate resource creates an SSL certificate that encrypts connections between AWS DMS endpoints and the replication instance.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::DMS::Certificate", "Properties" : { "CertificateIdentifier" : String, "CertificatePem" : String, "CertificateWallet" : String } }

YAML

Type: AWS::DMS::Certificate Properties: CertificateIdentifier: String CertificatePem: String CertificateWallet: String

Properties

CertificateIdentifier

The customer-assigned name of the certificate. Valid characters are A-z and 0-9.

Required: No

Type: String

Update requires: Replacement

CertificatePem

The contents of the .pem X.509 certificate file for the certificate.

Required: No

Type: String

Update requires: Replacement

CertificateWallet

The location of the imported Oracle Wallet certificate for use with SSL.

Required: No

Type: String

Update requires: Replacement

Return Values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Amazon Resource Name (ARN) of the certificate.

For more information about using the Ref function, see Ref.

Examples

JSON

{ "AWSTemplateFormatVersion": "2010-09-09", "Description": "Certificate test", "Resources": { "BasicCertificate": { "Type": "AWS::DMS::Certificate", "Properties": { "CertificatePem": "-----BEGIN CERTIFICATE-----\n MIID/DCCAuSgAwIBAgIBUDANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ==\n -----END CERTIFICATE-----\n" } } } }

YAML

AWSTemplateFormatVersion: 2010-09-09 Description: "Certificate test" Resources: BasicCertificate: Properties: CertificatePem: |- -----BEGIN CERTIFICATE----- MIID/DCCAuSgAwIBAgABCDEFgkqhkiG9w0BAQsFADCBijEXAMPLE1UEBhMCVVMx...mqfEEuC7uUoPofXdBp2ObQ== -----END CERTIFICATE----- Type: "AWS::DMS::Certificate"

See Also