tests.system.amazon.aws.example_dms_serverless

注意: DMS 要求您配置特定的 IAM 角色/权限。更多信息请参考 https://docs.aws.amazon.com/dms/latest/userguide/security-iam.html#CHAP_Security.APIRole

模块内容

函数

create_security_group(security_group_name, vpc_id)

create_sample_table(instance_name, db_name, table_name)

create_vpc_endpoints(vpc_id)

delete_vpc_endpoints(endpoint_ids)

create_dms_assets(db_name, instance_name, bucket_name, ...)

delete_dms_assets(source_endpoint_arn, ...)

delete_security_group(security_group_id, ...)

属性

DAG_ID

ROLE_ARN_KEY

sys_test_context_task

CA_CERT_ID

RDS_ENGINE

RDS_PROTOCOL

RDS_USERNAME

RDS_PASSWORD

TABLE_HEADERS

SAMPLE_DATA

SG_IP_PERMISSION

test_context

test_run

tests.system.amazon.aws.example_dms_serverless.DAG_ID = 'example_dms_serverless'[源代码]
tests.system.amazon.aws.example_dms_serverless.ROLE_ARN_KEY = 'ROLE_ARN'[源代码]
tests.system.amazon.aws.example_dms_serverless.sys_test_context_task[源代码]
tests.system.amazon.aws.example_dms_serverless.CA_CERT_ID = 'rds-ca-rsa2048-g1'[源代码]
tests.system.amazon.aws.example_dms_serverless.RDS_ENGINE = 'postgres'[源代码]
tests.system.amazon.aws.example_dms_serverless.RDS_PROTOCOL = 'postgresql'[源代码]
tests.system.amazon.aws.example_dms_serverless.RDS_USERNAME = 'username'[源代码]
tests.system.amazon.aws.example_dms_serverless.RDS_PASSWORD = 'rds_password'[源代码]
tests.system.amazon.aws.example_dms_serverless.TABLE_HEADERS = ['apache_project', 'release_year'][源代码]
tests.system.amazon.aws.example_dms_serverless.SAMPLE_DATA = [('Airflow', '2015'), ('OpenOffice', '2012'), ('Subversion', '2000'), ('NiFi', '2006')][源代码]
tests.system.amazon.aws.example_dms_serverless.SG_IP_PERMISSION[源代码]
tests.system.amazon.aws.example_dms_serverless.create_security_group(security_group_name, vpc_id)[源代码]
tests.system.amazon.aws.example_dms_serverless.create_sample_table(instance_name, db_name, table_name)[源代码]
tests.system.amazon.aws.example_dms_serverless.create_vpc_endpoints(vpc_id)[源代码]
tests.system.amazon.aws.example_dms_serverless.delete_vpc_endpoints(endpoint_ids)[源代码]
tests.system.amazon.aws.example_dms_serverless.create_dms_assets(db_name, instance_name, bucket_name, role_arn, source_endpoint_identifier, target_endpoint_identifier, table_definition)[source]
tests.system.amazon.aws.example_dms_serverless.delete_dms_assets(source_endpoint_arn, target_endpoint_arn, source_endpoint_identifier, target_endpoint_identifier)[source]
tests.system.amazon.aws.example_dms_serverless.delete_security_group(security_group_id, security_group_name)[source]
tests.system.amazon.aws.example_dms_serverless.test_context[source]
tests.system.amazon.aws.example_dms_serverless.test_run[source]

这个条目有帮助吗?