Class CfnReplicationConfig

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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-04T00:39:30.556Z") @Stability(Stable) public class CfnReplicationConfig extends CfnResource implements IInspectable, ITaggableV2
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html.

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.*;
 Object replicationSettings;
 Object supplementalSettings;
 Object tableMappings;
 CfnReplicationConfig cfnReplicationConfig = CfnReplicationConfig.Builder.create(this, "MyCfnReplicationConfig")
         .computeConfig(ComputeConfigProperty.builder()
                 .maxCapacityUnits(123)
                 // the properties below are optional
                 .availabilityZone("availabilityZone")
                 .dnsNameServers("dnsNameServers")
                 .kmsKeyId("kmsKeyId")
                 .minCapacityUnits(123)
                 .multiAz(false)
                 .preferredMaintenanceWindow("preferredMaintenanceWindow")
                 .replicationSubnetGroupId("replicationSubnetGroupId")
                 .vpcSecurityGroupIds(List.of("vpcSecurityGroupIds"))
                 .build())
         .replicationConfigIdentifier("replicationConfigIdentifier")
         .replicationType("replicationType")
         .sourceEndpointArn("sourceEndpointArn")
         .tableMappings(tableMappings)
         .targetEndpointArn("targetEndpointArn")
         // the properties below are optional
         .replicationSettings(replicationSettings)
         .resourceIdentifier("resourceIdentifier")
         .supplementalSettings(supplementalSettings)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • 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

    • CfnReplicationConfig

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

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

      @Stability(Stable) public CfnReplicationConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnReplicationConfigProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. 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.
    • getAttrReplicationConfigArn

      @Stability(Stable) @NotNull public String getAttrReplicationConfigArn()
      The Amazon Resource Name (ARN) of this AWS DMS Serverless replication configuration.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

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

      @Stability(Stable) @NotNull public Object getComputeConfig()
      Configuration parameters for provisioning an AWS DMS Serverless replication.
    • setComputeConfig

      @Stability(Stable) public void setComputeConfig(@NotNull IResolvable value)
      Configuration parameters for provisioning an AWS DMS Serverless replication.
    • setComputeConfig

      @Stability(Stable) public void setComputeConfig(@NotNull CfnReplicationConfig.ComputeConfigProperty value)
      Configuration parameters for provisioning an AWS DMS Serverless replication.
    • getReplicationConfigIdentifier

      @Stability(Stable) @NotNull public String getReplicationConfigIdentifier()
      A unique identifier that you want to use to create a ReplicationConfigArn that is returned as part of the output from this action.
    • setReplicationConfigIdentifier

      @Stability(Stable) public void setReplicationConfigIdentifier(@NotNull String value)
      A unique identifier that you want to use to create a ReplicationConfigArn that is returned as part of the output from this action.
    • getReplicationType

      @Stability(Stable) @NotNull public String getReplicationType()
      The type of AWS DMS Serverless replication to provision using this replication configuration.
    • setReplicationType

      @Stability(Stable) public void setReplicationType(@NotNull String value)
      The type of AWS DMS Serverless replication to provision using this replication configuration.
    • getSourceEndpointArn

      @Stability(Stable) @NotNull public String getSourceEndpointArn()
      The Amazon Resource Name (ARN) of the source endpoint for this AWS DMS Serverless replication configuration.
    • setSourceEndpointArn

      @Stability(Stable) public void setSourceEndpointArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the source endpoint for this AWS DMS Serverless replication configuration.
    • getTableMappings

      @Stability(Stable) @NotNull public Object getTableMappings()
      JSON table mappings for AWS DMS Serverless replications that are provisioned using this replication configuration.
    • setTableMappings

      @Stability(Stable) public void setTableMappings(@NotNull Object value)
      JSON table mappings for AWS DMS Serverless replications that are provisioned using this replication configuration.
    • getTargetEndpointArn

      @Stability(Stable) @NotNull public String getTargetEndpointArn()
      The Amazon Resource Name (ARN) of the target endpoint for this AWS DMS serverless replication configuration.
    • setTargetEndpointArn

      @Stability(Stable) public void setTargetEndpointArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the target endpoint for this AWS DMS serverless replication configuration.
    • getReplicationSettings

      @Stability(Stable) @Nullable public Object getReplicationSettings()
      Optional JSON settings for AWS DMS Serverless replications that are provisioned using this replication configuration.
    • setReplicationSettings

      @Stability(Stable) public void setReplicationSettings(@Nullable Object value)
      Optional JSON settings for AWS DMS Serverless replications that are provisioned using this replication configuration.
    • getResourceIdentifier

      @Stability(Stable) @Nullable public String getResourceIdentifier()
      Optional unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource.
    • setResourceIdentifier

      @Stability(Stable) public void setResourceIdentifier(@Nullable String value)
      Optional unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource.
    • getSupplementalSettings

      @Stability(Stable) @Nullable public Object getSupplementalSettings()
      Optional JSON settings for specifying supplemental data.
    • setSupplementalSettings

      @Stability(Stable) public void setSupplementalSettings(@Nullable Object value)
      Optional JSON settings for specifying supplemental data.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      One or more optional tags associated with resources used by the AWS DMS Serverless replication.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      One or more optional tags associated with resources used by the AWS DMS Serverless replication.