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.98.0 (build 00b106d)", date="2024-05-08T21:35:05.410Z") @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")
         .replicationSettings(replicationSettings)
         .replicationType("replicationType")
         .resourceIdentifier("resourceIdentifier")
         .sourceEndpointArn("sourceEndpointArn")
         .supplementalSettings(supplementalSettings)
         .tableMappings(tableMappings)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .targetEndpointArn("targetEndpointArn")
         .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, @Nullable 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.
    • CfnReplicationConfig

      @Stability(Stable) public CfnReplicationConfig(@NotNull software.constructs.Construct scope, @NotNull String id)
      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.
  • 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 the Replication Config.
    • 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) @Nullable public Object getComputeConfig()
      Configuration parameters for provisioning an AWS DMS Serverless replication.
    • setComputeConfig

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

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

      @Stability(Stable) @Nullable 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(@Nullable 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.
    • 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.
    • getReplicationType

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

      @Stability(Stable) public void setReplicationType(@Nullable String value)
      The type of AWS DMS Serverless replication to provision 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.
    • getSourceEndpointArn

      @Stability(Stable) @Nullable 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(@Nullable String value)
      The Amazon Resource Name (ARN) of the source endpoint for this AWS DMS Serverless replication configuration.
    • 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.
    • getTableMappings

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

      @Stability(Stable) public void setTableMappings(@Nullable Object value)
      JSON table mappings for AWS DMS Serverless replications that are provisioned using this replication configuration.
    • 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.
    • getTargetEndpointArn

      @Stability(Stable) @Nullable 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(@Nullable String value)
      The Amazon Resource Name (ARN) of the target endpoint for this AWS DMS serverless replication configuration.