CfnMigrationProjectPropsMixin

class aws_cdk.mixins_preview.aws_dms.mixins.CfnMigrationProjectPropsMixin(props, *, strategy=None)

Bases: Mixin

Provides information that defines a migration project.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-migrationproject.html

CloudformationResource:

AWS::DMS::MigrationProject

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_dms import mixins as dms_mixins

cfn_migration_project_props_mixin = dms_mixins.CfnMigrationProjectPropsMixin(dms_mixins.CfnMigrationProjectMixinProps(
    description="description",
    instance_profile_arn="instanceProfileArn",
    instance_profile_identifier="instanceProfileIdentifier",
    instance_profile_name="instanceProfileName",
    migration_project_creation_time="migrationProjectCreationTime",
    migration_project_identifier="migrationProjectIdentifier",
    migration_project_name="migrationProjectName",
    schema_conversion_application_attributes=dms_mixins.CfnMigrationProjectPropsMixin.SchemaConversionApplicationAttributesProperty(
        s3_bucket_path="s3BucketPath",
        s3_bucket_role_arn="s3BucketRoleArn"
    ),
    source_data_provider_descriptors=[dms_mixins.CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty(
        data_provider_arn="dataProviderArn",
        data_provider_identifier="dataProviderIdentifier",
        data_provider_name="dataProviderName",
        secrets_manager_access_role_arn="secretsManagerAccessRoleArn",
        secrets_manager_secret_id="secretsManagerSecretId"
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    target_data_provider_descriptors=[dms_mixins.CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty(
        data_provider_arn="dataProviderArn",
        data_provider_identifier="dataProviderIdentifier",
        data_provider_name="dataProviderName",
        secrets_manager_access_role_arn="secretsManagerAccessRoleArn",
        secrets_manager_secret_id="secretsManagerSecretId"
    )],
    transformation_rules="transformationRules"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::DMS::MigrationProject.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'instanceProfileArn', 'instanceProfileIdentifier', 'instanceProfileName', 'migrationProjectCreationTime', 'migrationProjectIdentifier', 'migrationProjectName', 'schemaConversionApplicationAttributes', 'sourceDataProviderDescriptors', 'tags', 'targetDataProviderDescriptors', 'transformationRules']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

DataProviderDescriptorProperty

class CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty(*, data_provider_arn=None, data_provider_identifier=None, data_provider_name=None, secrets_manager_access_role_arn=None, secrets_manager_secret_id=None)

Bases: object

Information about a data provider.

Parameters:
  • data_provider_arn (Optional[str]) – The Amazon Resource Name (ARN) of the data provider.

  • data_provider_identifier (Optional[str])

  • data_provider_name (Optional[str]) – The user-friendly name of the data provider.

  • secrets_manager_access_role_arn (Optional[str]) – The ARN of the role used to access AWS Secrets Manager.

  • secrets_manager_secret_id (Optional[str]) – The identifier of the AWS Secrets Manager Secret used to store access credentials for the data provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-migrationproject-dataproviderdescriptor.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_dms import mixins as dms_mixins

data_provider_descriptor_property = dms_mixins.CfnMigrationProjectPropsMixin.DataProviderDescriptorProperty(
    data_provider_arn="dataProviderArn",
    data_provider_identifier="dataProviderIdentifier",
    data_provider_name="dataProviderName",
    secrets_manager_access_role_arn="secretsManagerAccessRoleArn",
    secrets_manager_secret_id="secretsManagerSecretId"
)

Attributes

data_provider_arn

The Amazon Resource Name (ARN) of the data provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-migrationproject-dataproviderdescriptor.html#cfn-dms-migrationproject-dataproviderdescriptor-dataproviderarn

data_provider_identifier

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-migrationproject-dataproviderdescriptor.html#cfn-dms-migrationproject-dataproviderdescriptor-dataprovideridentifier

Type:

see

data_provider_name

The user-friendly name of the data provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-migrationproject-dataproviderdescriptor.html#cfn-dms-migrationproject-dataproviderdescriptor-dataprovidername

secrets_manager_access_role_arn

The ARN of the role used to access AWS Secrets Manager.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-migrationproject-dataproviderdescriptor.html#cfn-dms-migrationproject-dataproviderdescriptor-secretsmanageraccessrolearn

secrets_manager_secret_id

The identifier of the AWS Secrets Manager Secret used to store access credentials for the data provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-migrationproject-dataproviderdescriptor.html#cfn-dms-migrationproject-dataproviderdescriptor-secretsmanagersecretid

SchemaConversionApplicationAttributesProperty

class CfnMigrationProjectPropsMixin.SchemaConversionApplicationAttributesProperty(*, s3_bucket_path=None, s3_bucket_role_arn=None)

Bases: object

The property describes schema conversion application attributes for the migration project.

Parameters:
  • s3_bucket_path (Optional[str])

  • s3_bucket_role_arn (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-migrationproject-schemaconversionapplicationattributes.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_dms import mixins as dms_mixins

schema_conversion_application_attributes_property = dms_mixins.CfnMigrationProjectPropsMixin.SchemaConversionApplicationAttributesProperty(
    s3_bucket_path="s3BucketPath",
    s3_bucket_role_arn="s3BucketRoleArn"
)

Attributes

s3_bucket_path

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-migrationproject-schemaconversionapplicationattributes.html#cfn-dms-migrationproject-schemaconversionapplicationattributes-s3bucketpath

Type:

see

s3_bucket_role_arn

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-migrationproject-schemaconversionapplicationattributes.html#cfn-dms-migrationproject-schemaconversionapplicationattributes-s3bucketrolearn

Type:

see