Skip to content
v2.277.0

CfnCertificateProps Struct ​

Properties for defining a CfnCertificate.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dms as dms } from 'aws-cdk-lib';
const cfnCertificateProps: dms.CfnCertificateProps = {
  certificateIdentifier: 'certificateIdentifier',
  certificatePem: 'certificatePem',
  certificateWallet: 'certificateWallet',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_dms as dms

cfn_certificate_props = dms.CfnCertificateProps(
    certificate_identifier="certificateIdentifier",
    certificate_pem="certificatePem",
    certificate_wallet="certificateWallet"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dms.*;

CfnCertificateProps cfnCertificateProps = CfnCertificateProps.builder()
        .certificateIdentifier("certificateIdentifier")
        .certificatePem("certificatePem")
        .certificateWallet("certificateWallet")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DMS;

var cfnCertificateProps = new CfnCertificateProps {
    CertificateIdentifier = "certificateIdentifier",
    CertificatePem = "certificatePem",
    CertificateWallet = "certificateWallet"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnCertificateProps := &CfnCertificateProps{
	CertificateIdentifier: jsii.String("certificateIdentifier"),
	CertificatePem: jsii.String("certificatePem"),
	CertificateWallet: jsii.String("certificateWallet"),
}

Properties ​

certificateIdentifieroptionalstringcertificate_identifieroptionalstrcertificateIdentifieroptionalStringCertificateIdentifieroptionalstringCertificateIdentifieroptional*string#
A customer-assigned name for the certificate.

Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

certificatePemoptionalstringcertificate_pemoptionalstrcertificatePemoptionalStringCertificatePemoptionalstringCertificatePemoptional*string#
The contents of a `.pem` file, which contains an X.509 certificate.
certificateWalletoptionalstringcertificate_walletoptionalstrcertificateWalletoptionalStringCertificateWalletoptionalstringCertificateWalletoptional*string#
The location of an imported Oracle Wallet certificate for use with SSL.

An example is: filebase64("${path.root}/rds-ca-2019-root.sso")