Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

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

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

YAML

Copy
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: Base64-encoded binary data object

Update requires: Replacement

Return Value

Ref

When you pass the certificate of an AWS::DMS::Certificate resource to the intrinsic Ref function, the function returns the Amazon Resource Name (ARN) of the certificate.

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

Example

JSON

Copy
{ "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

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

See Also