Class CfnCertificate

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.303Z") @Stability(Stable) public class CfnCertificate extends CfnResource implements IInspectable
A CloudFormation AWS::DMS::Certificate.

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

Example:

 // 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.*;
 CfnCertificate cfnCertificate = CfnCertificate.Builder.create(this, "MyCfnCertificate")
         .certificateIdentifier("certificateIdentifier")
         .certificatePem("certificatePem")
         .certificateWallet("certificateWallet")
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnCertificate

      protected CfnCertificate(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnCertificate

      protected CfnCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnCertificate

      @Stability(Stable) public CfnCertificate(@NotNull Construct scope, @NotNull String id, @Nullable CfnCertificateProps props)
      Create a new AWS::DMS::Certificate.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
    • CfnCertificate

      @Stability(Stable) public CfnCertificate(@NotNull Construct scope, @NotNull String id)
      Create a new AWS::DMS::Certificate.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCertificateIdentifier

      @Stability(Stable) @Nullable public String getCertificateIdentifier()
      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.

    • setCertificateIdentifier

      @Stability(Stable) public void setCertificateIdentifier(@Nullable String value)
      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.

    • getCertificatePem

      @Stability(Stable) @Nullable public String getCertificatePem()
      The contents of a .pem file, which contains an X.509 certificate.
    • setCertificatePem

      @Stability(Stable) public void setCertificatePem(@Nullable String value)
      The contents of a .pem file, which contains an X.509 certificate.
    • getCertificateWallet

      @Stability(Stable) @Nullable public String getCertificateWallet()
      The location of an imported Oracle Wallet certificate for use with SSL.

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

    • setCertificateWallet

      @Stability(Stable) public void setCertificateWallet(@Nullable String value)
      The location of an imported Oracle Wallet certificate for use with SSL.

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