CfnMigrationProjectPropsMixin
- class aws_cdk.mixins_preview.aws_dms.mixins.CfnMigrationProjectPropsMixin(props, *, strategy=None)
Bases:
MixinProvides 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:
props (
Union[CfnMigrationProjectMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- 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:
objectInformation 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:
- 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.
- data_provider_identifier
-
- Type:
see
- data_provider_name
The user-friendly name of the data provider.
- secrets_manager_access_role_arn
The ARN of the role used to access AWS Secrets Manager.
- secrets_manager_secret_id
The identifier of the AWS Secrets Manager Secret used to store access credentials for the data provider.
SchemaConversionApplicationAttributesProperty
- class CfnMigrationProjectPropsMixin.SchemaConversionApplicationAttributesProperty(*, s3_bucket_path=None, s3_bucket_role_arn=None)
Bases:
objectThe property describes schema conversion application attributes for the migration project.
- Parameters:
s3_bucket_path (
Optional[str])s3_bucket_role_arn (
Optional[str])
- See:
- 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
-
- Type:
see