Documentation ¶
Index ¶
- func CfnCertificate_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCertificate_IsCfnElement(x interface{}) *bool
- func CfnCertificate_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnCertificate_IsConstruct(x interface{}) *bool
- func CfnEndpoint_CFN_RESOURCE_TYPE_NAME() *string
- func CfnEndpoint_IsCfnElement(x interface{}) *bool
- func CfnEndpoint_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnEndpoint_IsConstruct(x interface{}) *bool
- func CfnEventSubscription_CFN_RESOURCE_TYPE_NAME() *string
- func CfnEventSubscription_IsCfnElement(x interface{}) *bool
- func CfnEventSubscription_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnEventSubscription_IsConstruct(x interface{}) *bool
- func CfnReplicationInstance_CFN_RESOURCE_TYPE_NAME() *string
- func CfnReplicationInstance_IsCfnElement(x interface{}) *bool
- func CfnReplicationInstance_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnReplicationInstance_IsConstruct(x interface{}) *bool
- func CfnReplicationSubnetGroup_CFN_RESOURCE_TYPE_NAME() *string
- func CfnReplicationSubnetGroup_IsCfnElement(x interface{}) *bool
- func CfnReplicationSubnetGroup_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnReplicationSubnetGroup_IsConstruct(x interface{}) *bool
- func CfnReplicationTask_CFN_RESOURCE_TYPE_NAME() *string
- func CfnReplicationTask_IsCfnElement(x interface{}) *bool
- func CfnReplicationTask_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnReplicationTask_IsConstruct(x interface{}) *bool
- func NewCfnCertificate_Override(c CfnCertificate, scope awscdk.Construct, id *string, ...)
- func NewCfnEndpoint_Override(c CfnEndpoint, scope awscdk.Construct, id *string, props *CfnEndpointProps)
- func NewCfnEventSubscription_Override(c CfnEventSubscription, scope awscdk.Construct, id *string, ...)
- func NewCfnReplicationInstance_Override(c CfnReplicationInstance, scope awscdk.Construct, id *string, ...)
- func NewCfnReplicationSubnetGroup_Override(c CfnReplicationSubnetGroup, scope awscdk.Construct, id *string, ...)
- func NewCfnReplicationTask_Override(c CfnReplicationTask, scope awscdk.Construct, id *string, ...)
- type CfnCertificate
- type CfnCertificateProps
- type CfnEndpoint
- type CfnEndpointProps
- type CfnEndpoint_DocDbSettingsProperty
- type CfnEndpoint_DynamoDbSettingsProperty
- type CfnEndpoint_ElasticsearchSettingsProperty
- type CfnEndpoint_IbmDb2SettingsProperty
- type CfnEndpoint_KafkaSettingsProperty
- type CfnEndpoint_KinesisSettingsProperty
- type CfnEndpoint_MicrosoftSqlServerSettingsProperty
- type CfnEndpoint_MongoDbSettingsProperty
- type CfnEndpoint_MySqlSettingsProperty
- type CfnEndpoint_NeptuneSettingsProperty
- type CfnEndpoint_OracleSettingsProperty
- type CfnEndpoint_PostgreSqlSettingsProperty
- type CfnEndpoint_RedisSettingsProperty
- type CfnEndpoint_RedshiftSettingsProperty
- type CfnEndpoint_S3SettingsProperty
- type CfnEndpoint_SybaseSettingsProperty
- type CfnEventSubscription
- type CfnEventSubscriptionProps
- type CfnReplicationInstance
- type CfnReplicationInstanceProps
- type CfnReplicationSubnetGroup
- type CfnReplicationSubnetGroupProps
- type CfnReplicationTask
- type CfnReplicationTaskProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnCertificate_CFN_RESOURCE_TYPE_NAME ¶
func CfnCertificate_CFN_RESOURCE_TYPE_NAME() *string
func CfnCertificate_IsCfnElement ¶
func CfnCertificate_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnCertificate_IsCfnResource ¶
func CfnCertificate_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnCertificate_IsConstruct ¶
func CfnCertificate_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnEndpoint_CFN_RESOURCE_TYPE_NAME ¶
func CfnEndpoint_CFN_RESOURCE_TYPE_NAME() *string
func CfnEndpoint_IsCfnElement ¶
func CfnEndpoint_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnEndpoint_IsCfnResource ¶
func CfnEndpoint_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnEndpoint_IsConstruct ¶
func CfnEndpoint_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnEventSubscription_CFN_RESOURCE_TYPE_NAME ¶
func CfnEventSubscription_CFN_RESOURCE_TYPE_NAME() *string
func CfnEventSubscription_IsCfnElement ¶
func CfnEventSubscription_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnEventSubscription_IsCfnResource ¶
func CfnEventSubscription_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnEventSubscription_IsConstruct ¶
func CfnEventSubscription_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnReplicationInstance_CFN_RESOURCE_TYPE_NAME ¶
func CfnReplicationInstance_CFN_RESOURCE_TYPE_NAME() *string
func CfnReplicationInstance_IsCfnElement ¶
func CfnReplicationInstance_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnReplicationInstance_IsCfnResource ¶
func CfnReplicationInstance_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnReplicationInstance_IsConstruct ¶
func CfnReplicationInstance_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnReplicationSubnetGroup_CFN_RESOURCE_TYPE_NAME ¶
func CfnReplicationSubnetGroup_CFN_RESOURCE_TYPE_NAME() *string
func CfnReplicationSubnetGroup_IsCfnElement ¶
func CfnReplicationSubnetGroup_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnReplicationSubnetGroup_IsCfnResource ¶
func CfnReplicationSubnetGroup_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnReplicationSubnetGroup_IsConstruct ¶
func CfnReplicationSubnetGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnReplicationTask_CFN_RESOURCE_TYPE_NAME ¶
func CfnReplicationTask_CFN_RESOURCE_TYPE_NAME() *string
func CfnReplicationTask_IsCfnElement ¶
func CfnReplicationTask_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnReplicationTask_IsCfnResource ¶
func CfnReplicationTask_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnReplicationTask_IsConstruct ¶
func CfnReplicationTask_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func NewCfnCertificate_Override ¶
func NewCfnCertificate_Override(c CfnCertificate, scope awscdk.Construct, id *string, props *CfnCertificateProps)
Create a new `AWS::DMS::Certificate`.
func NewCfnEndpoint_Override ¶
func NewCfnEndpoint_Override(c CfnEndpoint, scope awscdk.Construct, id *string, props *CfnEndpointProps)
Create a new `AWS::DMS::Endpoint`.
func NewCfnEventSubscription_Override ¶
func NewCfnEventSubscription_Override(c CfnEventSubscription, scope awscdk.Construct, id *string, props *CfnEventSubscriptionProps)
Create a new `AWS::DMS::EventSubscription`.
func NewCfnReplicationInstance_Override ¶
func NewCfnReplicationInstance_Override(c CfnReplicationInstance, scope awscdk.Construct, id *string, props *CfnReplicationInstanceProps)
Create a new `AWS::DMS::ReplicationInstance`.
func NewCfnReplicationSubnetGroup_Override ¶
func NewCfnReplicationSubnetGroup_Override(c CfnReplicationSubnetGroup, scope awscdk.Construct, id *string, props *CfnReplicationSubnetGroupProps)
Create a new `AWS::DMS::ReplicationSubnetGroup`.
func NewCfnReplicationTask_Override ¶
func NewCfnReplicationTask_Override(c CfnReplicationTask, scope awscdk.Construct, id *string, props *CfnReplicationTaskProps)
Create a new `AWS::DMS::ReplicationTask`.
Types ¶
type CfnCertificate ¶
type CfnCertificate interface { awscdk.CfnResource awscdk.IInspectable CertificateIdentifier() *string SetCertificateIdentifier(val *string) CertificatePem() *string SetCertificatePem(val *string) CertificateWallet() *string SetCertificateWallet(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() awscdk.ConstructNode Ref() *string Stack() awscdk.Stack UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::DMS::Certificate`.
The `AWS::DMS::Certificate` resource creates an SSL certificate that encrypts connections between AWS DMS endpoints and the replication instance.
TODO: EXAMPLE
func NewCfnCertificate ¶
func NewCfnCertificate(scope awscdk.Construct, id *string, props *CfnCertificateProps) CfnCertificate
Create a new `AWS::DMS::Certificate`.
type CfnCertificateProps ¶
type CfnCertificateProps struct { // A customer-assigned name for the certificate. // // Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens. CertificateIdentifier *string `json:"certificateIdentifier"` // The contents of a `.pem` file, which contains an X.509 certificate. CertificatePem *string `json:"certificatePem"` // The location of an imported Oracle Wallet certificate for use with SSL. // // Example: `filebase64("${path.root}/rds-ca-2019-root.sso")` CertificateWallet *string `json:"certificateWallet"` }
Properties for defining a `CfnCertificate`.
TODO: EXAMPLE
type CfnEndpoint ¶
type CfnEndpoint interface { awscdk.CfnResource awscdk.IInspectable AttrExternalId() *string CertificateArn() *string SetCertificateArn(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string DatabaseName() *string SetDatabaseName(val *string) DocDbSettings() interface{} SetDocDbSettings(val interface{}) DynamoDbSettings() interface{} SetDynamoDbSettings(val interface{}) ElasticsearchSettings() interface{} SetElasticsearchSettings(val interface{}) EndpointIdentifier() *string SetEndpointIdentifier(val *string) EndpointType() *string SetEndpointType(val *string) EngineName() *string SetEngineName(val *string) ExtraConnectionAttributes() *string SetExtraConnectionAttributes(val *string) IbmDb2Settings() interface{} SetIbmDb2Settings(val interface{}) KafkaSettings() interface{} SetKafkaSettings(val interface{}) KinesisSettings() interface{} SetKinesisSettings(val interface{}) KmsKeyId() *string SetKmsKeyId(val *string) LogicalId() *string MicrosoftSqlServerSettings() interface{} SetMicrosoftSqlServerSettings(val interface{}) MongoDbSettings() interface{} SetMongoDbSettings(val interface{}) MySqlSettings() interface{} SetMySqlSettings(val interface{}) NeptuneSettings() interface{} SetNeptuneSettings(val interface{}) Node() awscdk.ConstructNode OracleSettings() interface{} SetOracleSettings(val interface{}) Password() *string SetPassword(val *string) Port() *float64 SetPort(val *float64) PostgreSqlSettings() interface{} SetPostgreSqlSettings(val interface{}) RedisSettings() interface{} SetRedisSettings(val interface{}) RedshiftSettings() interface{} SetRedshiftSettings(val interface{}) Ref() *string ResourceIdentifier() *string SetResourceIdentifier(val *string) S3Settings() interface{} SetS3Settings(val interface{}) ServerName() *string SetServerName(val *string) SslMode() *string SetSslMode(val *string) Stack() awscdk.Stack SybaseSettings() interface{} SetSybaseSettings(val interface{}) Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} Username() *string SetUsername(val *string) AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::DMS::Endpoint`.
The `AWS::DMS::Endpoint` resource creates an AWS DMS endpoint.
Currently, the only endpoint setting types that AWS CloudFormation supports are *DynamoDBSettings* , *ElasticSearchSettings* , and *NeptuneSettings* .
TODO: EXAMPLE
func NewCfnEndpoint ¶
func NewCfnEndpoint(scope awscdk.Construct, id *string, props *CfnEndpointProps) CfnEndpoint
Create a new `AWS::DMS::Endpoint`.
type CfnEndpointProps ¶
type CfnEndpointProps struct { // The type of endpoint. // // Valid values are `source` and `target` . EndpointType *string `json:"endpointType"` // The type of engine for the endpoint. // // Valid values, depending on the `EndpointType` value, include `"mysql"` , `"oracle"` , `"postgres"` , `"mariadb"` , `"aurora"` , `"aurora-postgresql"` , `"opensearch"` , `"redshift"` , `"s3"` , `"db2"` , `"azuredb"` , `"sybase"` , `"dynamodb"` , `"mongodb"` , `"kinesis"` , `"kafka"` , `"elasticsearch"` , `"docdb"` , `"sqlserver"` , and `"neptune"` . EngineName *string `json:"engineName"` // The Amazon Resource Name (ARN) for the certificate. CertificateArn *string `json:"certificateArn"` // The name of the endpoint database. // // For a MySQL source or target endpoint, do not specify DatabaseName. DatabaseName *string `json:"databaseName"` // Settings in JSON format for the source DocumentDB endpoint. // // For more information about the available settings, see the configuration properties section in [Using DocumentDB as a Target for AWS Database Migration Service](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DocumentDB.html) in the *AWS Database Migration Service User Guide.* DocDbSettings interface{} `json:"docDbSettings"` // Settings in JSON format for the target Amazon DynamoDB endpoint. // // For information about other available settings, see [Using Object Mapping to Migrate Data to DynamoDB](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html#CHAP_Target.DynamoDB.ObjectMapping) in the *AWS Database Migration Service User Guide.* DynamoDbSettings interface{} `json:"dynamoDbSettings"` // Settings in JSON format for the target OpenSearch endpoint. // // For more information about the available settings, see [Extra Connection Attributes When Using OpenSearch as a Target for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration) in the *AWS Database Migration Service User Guide* . ElasticsearchSettings interface{} `json:"elasticsearchSettings"` // The database endpoint identifier. // // Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens. EndpointIdentifier *string `json:"endpointIdentifier"` // Additional attributes associated with the connection. // // Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see [Working with AWS DMS Endpoints](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Endpoints.html) in the *AWS Database Migration Service User Guide.* ExtraConnectionAttributes *string `json:"extraConnectionAttributes"` // Not currently supported by AWS CloudFormation . IbmDb2Settings interface{} `json:"ibmDb2Settings"` // Settings in JSON format for the target Apache Kafka endpoint. // // For more information about the available settings, see [Using object mapping to migrate data to a Kafka topic](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kafka.html#CHAP_Target.Kafka.ObjectMapping) in the *AWS Database Migration Service User Guide.* KafkaSettings interface{} `json:"kafkaSettings"` // Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. // // For more information about the available settings, see [Using Amazon Kinesis Data Streams as a Target for AWS Database Migration Service](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html) in the *AWS Database Migration Service User Guide.* KinesisSettings interface{} `json:"kinesisSettings"` // An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint. // // If you don't specify a value for the `KmsKeyId` parameter, then AWS DMS uses your default encryption key. // // AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Region . KmsKeyId *string `json:"kmsKeyId"` // Not currently supported by AWS CloudFormation . MicrosoftSqlServerSettings interface{} `json:"microsoftSqlServerSettings"` // Not currently supported by AWS CloudFormation . MongoDbSettings interface{} `json:"mongoDbSettings"` // Settings in JSON format for the source and target MySQL endpoint. // // For information about other available settings, see [Extra connection attributes when using MySQL as a source for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html#CHAP_Source.MySQL.ConnectionAttrib) and [Extra connection attributes when using a MySQL-compatible database as a target for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html#CHAP_Target.MySQL.ConnectionAttrib) in the *AWS Database Migration Service User Guide.* MySqlSettings interface{} `json:"mySqlSettings"` // `AWS::DMS::Endpoint.NeptuneSettings`. NeptuneSettings interface{} `json:"neptuneSettings"` // Settings in JSON format for the source and target Oracle endpoint. // // For information about other available settings, see [Extra connection attributes when using Oracle as a source for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.ConnectionAttrib) and [Extra connection attributes when using Oracle as a target for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.html#CHAP_Target.Oracle.ConnectionAttrib) in the *AWS Database Migration Service User Guide.* OracleSettings interface{} `json:"oracleSettings"` // The password to be used to log in to the endpoint database. Password *string `json:"password"` // The port used by the endpoint database. Port *float64 `json:"port"` // Not currently supported by AWS CloudFormation . PostgreSqlSettings interface{} `json:"postgreSqlSettings"` // Settings in JSON format for the target Redis endpoint. RedisSettings interface{} `json:"redisSettings"` // Not currently supported by AWS CloudFormation . RedshiftSettings interface{} `json:"redshiftSettings"` // A friendly name for the resource identifier at the end of the `EndpointArn` response parameter that is returned in the created `Endpoint` object. // // The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as `Example-App-ARN1` . For example, this value might result in the `EndpointArn` value `arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1` . If you don't specify a `ResourceIdentifier` value, AWS DMS generates a default identifier value for the end of `EndpointArn` . ResourceIdentifier *string `json:"resourceIdentifier"` // Settings in JSON format for the target Amazon S3 endpoint. // // For more information about the available settings, see [Extra Connection Attributes When Using Amazon S3 as a Target for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring) in the *AWS Database Migration Service User Guide.* S3Settings interface{} `json:"s3Settings"` // The name of the server where the endpoint database resides. ServerName *string `json:"serverName"` // The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is `none` . // // > When `engine_name` is set to S3, then the only allowed value is `none` . SslMode *string `json:"sslMode"` // Settings in JSON format for the source and target SAP ASE endpoint. // // For information about other available settings, see [Extra connection attributes when using SAP ASE as a source for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.html#CHAP_Source.SAP.ConnectionAttrib) and [Extra connection attributes when using SAP ASE as a target for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.html#CHAP_Target.SAP.ConnectionAttrib) in the *AWS Database Migration Service User Guide.* SybaseSettings interface{} `json:"sybaseSettings"` // One or more tags to be assigned to the endpoint. Tags *[]*awscdk.CfnTag `json:"tags"` // The user name to be used to log in to the endpoint database. Username *string `json:"username"` }
Properties for defining a `CfnEndpoint`.
TODO: EXAMPLE
type CfnEndpoint_DocDbSettingsProperty ¶
type CfnEndpoint_DocDbSettingsProperty struct { // Not currently supported by AWS CloudFormation . SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerSecretId *string `json:"secretsManagerSecretId"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_DynamoDbSettingsProperty ¶
type CfnEndpoint_DynamoDbSettingsProperty struct { // The Amazon Resource Name (ARN) used by the service to access the IAM role. // // The role must allow the `iam:PassRole` action. ServiceAccessRoleArn *string `json:"serviceAccessRoleArn"` }
Provides the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used to define an Amazon DynamoDB target endpoint.
TODO: EXAMPLE
type CfnEndpoint_ElasticsearchSettingsProperty ¶
type CfnEndpoint_ElasticsearchSettingsProperty struct { // The endpoint for the OpenSearch cluster. // // AWS DMS uses HTTPS if a transport protocol (http/https) is not specified. EndpointUri *string `json:"endpointUri"` // The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster. ErrorRetryDuration *float64 `json:"errorRetryDuration"` // The maximum percentage of records that can fail to be written before a full load operation stops. // // To avoid early failure, this counter is only effective after 1000 records are transferred. OpenSearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops. FullLoadErrorPercentage *float64 `json:"fullLoadErrorPercentage"` // The Amazon Resource Name (ARN) used by the service to access the IAM role. // // The role must allow the `iam:PassRole` action. ServiceAccessRoleArn *string `json:"serviceAccessRoleArn"` }
Provides information that defines an OpenSearch endpoint.
TODO: EXAMPLE
type CfnEndpoint_IbmDb2SettingsProperty ¶
type CfnEndpoint_IbmDb2SettingsProperty struct { // Not currently supported by AWS CloudFormation . SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerSecretId *string `json:"secretsManagerSecretId"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_KafkaSettingsProperty ¶
type CfnEndpoint_KafkaSettingsProperty struct { // Not currently supported by AWS CloudFormation . Broker *string `json:"broker"` // Shows detailed control information for table definition, column definition, and table and column changes in the Kafka message output. // // The default is `false` . IncludeControlDetails interface{} `json:"includeControlDetails"` // Include NULL and empty columns for records migrated to the endpoint. // // The default is `false` . IncludeNullAndEmpty interface{} `json:"includeNullAndEmpty"` // Includes any data definition language (DDL) operations that change the table in the control data, such as `rename-table` , `drop-table` , `add-column` , `drop-column` , and `rename-column` . // // The default is `false` . IncludeTableAlterOperations interface{} `json:"includeTableAlterOperations"` // Provides detailed transaction information from the source database. // // This information includes a commit timestamp, a log position, and values for `transaction_id` , previous `transaction_id` , and `transaction_record_id` (the record offset within a transaction). The default is `false` . IncludeTransactionDetails interface{} `json:"includeTransactionDetails"` // Set this optional parameter to `true` to avoid adding a '0x' prefix to raw data in hexadecimal format. // // For example, by default, AWS DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to a Kafka target. Use the `NoHexPrefix` endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix. NoHexPrefix interface{} `json:"noHexPrefix"` // Prefixes schema and table names to partition values, when the partition type is `primary-key-type` . // // Doing this increases data distribution among Kafka partitions. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same partition, which causes throttling. The default is `false` . PartitionIncludeSchemaTable interface{} `json:"partitionIncludeSchemaTable"` // The secure password you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication. SaslPassword *string `json:"saslPassword"` // The secure user name you created when you first set up your MSK cluster to validate a client identity and make an encrypted connection between server and client using SASL-SSL authentication. SaslUserName *string `json:"saslUserName"` // Set secure connection to a Kafka target endpoint using Transport Layer Security (TLS). // // Options include `ssl-encryption` , `ssl-authentication` , and `sasl-ssl` . `sasl-ssl` requires `SaslUsername` and `SaslPassword` . SecurityProtocol *string `json:"securityProtocol"` // The Amazon Resource Name (ARN) for the private certificate authority (CA) cert that AWS DMS uses to securely connect to your Kafka target endpoint. SslCaCertificateArn *string `json:"sslCaCertificateArn"` // The Amazon Resource Name (ARN) of the client certificate used to securely connect to a Kafka target endpoint. SslClientCertificateArn *string `json:"sslClientCertificateArn"` // The Amazon Resource Name (ARN) for the client private key used to securely connect to a Kafka target endpoint. SslClientKeyArn *string `json:"sslClientKeyArn"` // The password for the client private key used to securely connect to a Kafka target endpoint. SslClientKeyPassword *string `json:"sslClientKeyPassword"` // Not currently supported by AWS CloudFormation . Topic *string `json:"topic"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_KinesisSettingsProperty ¶
type CfnEndpoint_KinesisSettingsProperty struct { // Shows detailed control information for table definition, column definition, and table and column changes in the Kinesis message output. // // The default is `false` . IncludeControlDetails interface{} `json:"includeControlDetails"` // Include NULL and empty columns for records migrated to the endpoint. // // The default is `false` . IncludeNullAndEmpty interface{} `json:"includeNullAndEmpty"` // Includes any data definition language (DDL) operations that change the table in the control data, such as `rename-table` , `drop-table` , `add-column` , `drop-column` , and `rename-column` . // // The default is `false` . IncludeTableAlterOperations interface{} `json:"includeTableAlterOperations"` // Provides detailed transaction information from the source database. // // This information includes a commit timestamp, a log position, and values for `transaction_id` , previous `transaction_id` , and `transaction_record_id` (the record offset within a transaction). The default is `false` . IncludeTransactionDetails interface{} `json:"includeTransactionDetails"` // Not currently supported by AWS CloudFormation . MessageFormat *string `json:"messageFormat"` // Set this optional parameter to `true` to avoid adding a '0x' prefix to raw data in hexadecimal format. // // For example, by default, AWS DMS adds a '0x' prefix to the LOB column type in hexadecimal format moving from an Oracle source to an Amazon Kinesis target. Use the `NoHexPrefix` endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix. NoHexPrefix interface{} `json:"noHexPrefix"` // Prefixes schema and table names to partition values, when the partition type is `primary-key-type` . // // Doing this increases data distribution among Kinesis shards. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same shard, which causes throttling. The default is `false` . PartitionIncludeSchemaTable interface{} `json:"partitionIncludeSchemaTable"` // Not currently supported by AWS CloudFormation . ServiceAccessRoleArn *string `json:"serviceAccessRoleArn"` // Not currently supported by AWS CloudFormation . StreamArn *string `json:"streamArn"` }
Not currently supported by AWS CloudFormation ..
TODO: EXAMPLE
type CfnEndpoint_MicrosoftSqlServerSettingsProperty ¶
type CfnEndpoint_MicrosoftSqlServerSettingsProperty struct { // Not currently supported by AWS CloudFormation . SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerSecretId *string `json:"secretsManagerSecretId"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_MongoDbSettingsProperty ¶
type CfnEndpoint_MongoDbSettingsProperty struct { // Not currently supported by AWS CloudFormation . AuthMechanism *string `json:"authMechanism"` // Not currently supported by AWS CloudFormation . AuthSource *string `json:"authSource"` // Not currently supported by AWS CloudFormation . AuthType *string `json:"authType"` // Not currently supported by AWS CloudFormation . DatabaseName *string `json:"databaseName"` // Not currently supported by AWS CloudFormation . DocsToInvestigate *string `json:"docsToInvestigate"` // Not currently supported by AWS CloudFormation . ExtractDocId *string `json:"extractDocId"` // Not currently supported by AWS CloudFormation . NestingLevel *string `json:"nestingLevel"` // Not currently supported by AWS CloudFormation . Password *string `json:"password"` // Not currently supported by AWS CloudFormation . Port *float64 `json:"port"` // Not currently supported by AWS CloudFormation . SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerSecretId *string `json:"secretsManagerSecretId"` // Not currently supported by AWS CloudFormation . ServerName *string `json:"serverName"` // Not currently supported by AWS CloudFormation . Username *string `json:"username"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_MySqlSettingsProperty ¶
type CfnEndpoint_MySqlSettingsProperty struct { // Not currently supported by AWS CloudFormation . SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerSecretId *string `json:"secretsManagerSecretId"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_NeptuneSettingsProperty ¶
type CfnEndpoint_NeptuneSettingsProperty struct { // The number of milliseconds for AWS DMS to wait to retry a bulk-load of migrated graph data to the Neptune target database before raising an error. // // The default is 250. ErrorRetryDuration *float64 `json:"errorRetryDuration"` // If you want AWS Identity and Access Management (IAM) authorization enabled for this endpoint, set this parameter to `true` . // // Then attach the appropriate IAM policy document to your service role specified by `ServiceAccessRoleArn` . The default is `false` . IamAuthEnabled interface{} `json:"iamAuthEnabled"` // The maximum size in kilobytes of migrated graph data stored in a .csv file before AWS DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the bulk load is successful, AWS DMS clears the bucket, ready to store the next batch of migrated graph data. MaxFileSize *float64 `json:"maxFileSize"` // The number of times for AWS DMS to retry a bulk load of migrated graph data to the Neptune target database before raising an error. // // The default is 5. MaxRetryCount *float64 `json:"maxRetryCount"` // A folder path where you want AWS DMS to store migrated graph data in the S3 bucket specified by `S3BucketName`. S3BucketFolder *string `json:"s3BucketFolder"` // The name of the Amazon S3 bucket where AWS DMS can temporarily store migrated graph data in .csv files before bulk-loading it to the Neptune target database. AWS DMS maps the SQL source data to graph data before storing it in these .csv files. S3BucketName *string `json:"s3BucketName"` // The Amazon Resource Name (ARN) of the service role that you created for the Neptune target endpoint. // // The role must allow the `iam:PassRole` action. For more information, see [Creating an IAM Service Role for Accessing Amazon Neptune as a Target](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Neptune.html#CHAP_Target.Neptune.ServiceRole) in the *AWS Database Migration Service User Guide.* ServiceAccessRoleArn *string `json:"serviceAccessRoleArn"` }
Provides information that defines an Amazon Neptune endpoint.
TODO: EXAMPLE
type CfnEndpoint_OracleSettingsProperty ¶
type CfnEndpoint_OracleSettingsProperty struct { // Not currently supported by AWS CloudFormation . SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerOracleAsmAccessRoleArn *string `json:"secretsManagerOracleAsmAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerOracleAsmSecretId *string `json:"secretsManagerOracleAsmSecretId"` // Not currently supported by AWS CloudFormation . SecretsManagerSecretId *string `json:"secretsManagerSecretId"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_PostgreSqlSettingsProperty ¶
type CfnEndpoint_PostgreSqlSettingsProperty struct { // Not currently supported by AWS CloudFormation . SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerSecretId *string `json:"secretsManagerSecretId"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_RedisSettingsProperty ¶
type CfnEndpoint_RedisSettingsProperty struct { // The password provided with the `auth-role` and `auth-token` options of the `AuthType` setting for a Redis target endpoint. AuthPassword *string `json:"authPassword"` // The type of authentication to perform when connecting to a Redis target. // // Options include `none` , `auth-token` , and `auth-role` . The `auth-token` option requires an `AuthPassword` value to be provided. The `auth-role` option requires `AuthUserName` and `AuthPassword` values to be provided. AuthType *string `json:"authType"` // The user name provided with the `auth-role` option of the `AuthType` setting for a Redis target endpoint. AuthUserName *string `json:"authUserName"` // Transmission Control Protocol (TCP) port for the endpoint. Port *float64 `json:"port"` // Fully qualified domain name of the endpoint. ServerName *string `json:"serverName"` // The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint. SslCaCertificateArn *string `json:"sslCaCertificateArn"` // The connection to a Redis target endpoint using Transport Layer Security (TLS). // // Valid values include `plaintext` and `ssl-encryption` . The default is `ssl-encryption` . The `ssl-encryption` option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the `SslCaCertificateArn` setting. If an ARN isn't given for a CA, DMS uses the Amazon root CA. // // The `plaintext` option doesn't provide Transport Layer Security (TLS) encryption for traffic between endpoint and database. SslSecurityProtocol *string `json:"sslSecurityProtocol"` }
Provides information that defines a Redis target endpoint.
TODO: EXAMPLE
type CfnEndpoint_RedshiftSettingsProperty ¶
type CfnEndpoint_RedshiftSettingsProperty struct { // Not currently supported by AWS CloudFormation . SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerSecretId *string `json:"secretsManagerSecretId"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_S3SettingsProperty ¶
type CfnEndpoint_S3SettingsProperty struct { // Not currently supported by AWS CloudFormation . BucketFolder *string `json:"bucketFolder"` // Not currently supported by AWS CloudFormation . BucketName *string `json:"bucketName"` // Not currently supported by AWS CloudFormation . CompressionType *string `json:"compressionType"` // Not currently supported by AWS CloudFormation . CsvDelimiter *string `json:"csvDelimiter"` // Not currently supported by AWS CloudFormation . CsvRowDelimiter *string `json:"csvRowDelimiter"` // Not currently supported by AWS CloudFormation . ExternalTableDefinition *string `json:"externalTableDefinition"` // Not currently supported by AWS CloudFormation . ServiceAccessRoleArn *string `json:"serviceAccessRoleArn"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEndpoint_SybaseSettingsProperty ¶
type CfnEndpoint_SybaseSettingsProperty struct { // Not currently supported by AWS CloudFormation . SecretsManagerAccessRoleArn *string `json:"secretsManagerAccessRoleArn"` // Not currently supported by AWS CloudFormation . SecretsManagerSecretId *string `json:"secretsManagerSecretId"` }
Not currently supported by AWS CloudFormation .
TODO: EXAMPLE
type CfnEventSubscription ¶
type CfnEventSubscription interface { awscdk.CfnResource awscdk.IInspectable CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string Enabled() interface{} SetEnabled(val interface{}) EventCategories() *[]*string SetEventCategories(val *[]*string) LogicalId() *string Node() awscdk.ConstructNode Ref() *string SnsTopicArn() *string SetSnsTopicArn(val *string) SourceIds() *[]*string SetSourceIds(val *[]*string) SourceType() *string SetSourceType(val *string) Stack() awscdk.Stack SubscriptionName() *string SetSubscriptionName(val *string) Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::DMS::EventSubscription`.
Use the `AWS::DMS::EventSubscription` resource to get notifications for AWS Database Migration Service events through the Amazon Simple Notification Service. For more information, see [Using AWS DMS Event Notification](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html) in the *AWS Database Migration Service User Guide.*
TODO: EXAMPLE
func NewCfnEventSubscription ¶
func NewCfnEventSubscription(scope awscdk.Construct, id *string, props *CfnEventSubscriptionProps) CfnEventSubscription
Create a new `AWS::DMS::EventSubscription`.
type CfnEventSubscriptionProps ¶
type CfnEventSubscriptionProps struct { // The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. // // The ARN is created by Amazon SNS when you create a topic and subscribe to it. SnsTopicArn *string `json:"snsTopicArn"` // Indicates whether to activate the subscription. // // If you don't specify this property, AWS CloudFormation activates the subscription. Enabled interface{} `json:"enabled"` // A list of event categories for a source type that you want to subscribe to. // // If you don't specify this property, you are notified about all event categories. For more information, see [Working with Events and Notifications](https://docs.aws.amazon.com//dms/latest/userguide/CHAP_Events.html) in the *AWS DMS User Guide* . EventCategories *[]*string `json:"eventCategories"` // A list of identifiers for which AWS DMS provides notification events. // // If you don't specify a value, notifications are provided for all sources. // // If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs. SourceIds *[]*string `json:"sourceIds"` // The type of AWS DMS resource that generates the events. // // For example, if you want to be notified of events generated by a replication instance, you set this parameter to `replication-instance` . If this value isn't specified, all events are returned. // // Valid values: `replication-instance` | `replication-task` SourceType *string `json:"sourceType"` // The name of the AWS DMS event notification subscription. // // This name must be less than 255 characters. SubscriptionName *string `json:"subscriptionName"` // One or more tags to be assigned to the event subscription. Tags *[]*awscdk.CfnTag `json:"tags"` }
Properties for defining a `CfnEventSubscription`.
TODO: EXAMPLE
type CfnReplicationInstance ¶
type CfnReplicationInstance interface { awscdk.CfnResource awscdk.IInspectable AllocatedStorage() *float64 SetAllocatedStorage(val *float64) AllowMajorVersionUpgrade() interface{} SetAllowMajorVersionUpgrade(val interface{}) AttrReplicationInstancePrivateIpAddresses() *[]*string AttrReplicationInstancePublicIpAddresses() *[]*string AutoMinorVersionUpgrade() interface{} SetAutoMinorVersionUpgrade(val interface{}) AvailabilityZone() *string SetAvailabilityZone(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string EngineVersion() *string SetEngineVersion(val *string) KmsKeyId() *string SetKmsKeyId(val *string) LogicalId() *string MultiAz() interface{} SetMultiAz(val interface{}) Node() awscdk.ConstructNode PreferredMaintenanceWindow() *string SetPreferredMaintenanceWindow(val *string) PubliclyAccessible() interface{} SetPubliclyAccessible(val interface{}) Ref() *string ReplicationInstanceClass() *string SetReplicationInstanceClass(val *string) ReplicationInstanceIdentifier() *string SetReplicationInstanceIdentifier(val *string) ReplicationSubnetGroupIdentifier() *string SetReplicationSubnetGroupIdentifier(val *string) ResourceIdentifier() *string SetResourceIdentifier(val *string) Stack() awscdk.Stack Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} VpcSecurityGroupIds() *[]*string SetVpcSecurityGroupIds(val *[]*string) AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::DMS::ReplicationInstance`.
The `AWS::DMS::ReplicationInstance` resource creates an AWS DMS replication instance.
TODO: EXAMPLE
func NewCfnReplicationInstance ¶
func NewCfnReplicationInstance(scope awscdk.Construct, id *string, props *CfnReplicationInstanceProps) CfnReplicationInstance
Create a new `AWS::DMS::ReplicationInstance`.
type CfnReplicationInstanceProps ¶
type CfnReplicationInstanceProps struct { // The compute and memory capacity of the replication instance as defined for the specified replication instance class. // // For example to specify the instance class dms.c4.large, set this parameter to `"dms.c4.large"` . // // For more information on the settings and capacities for the available replication instance classes, see [Selecting the right AWS DMS replication instance for your migration](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth) . ReplicationInstanceClass *string `json:"replicationInstanceClass"` // The amount of storage (in gigabytes) to be initially allocated for the replication instance. AllocatedStorage *float64 `json:"allocatedStorage"` // Indicates that major version upgrades are allowed. // // Changing this parameter does not result in an outage, and the change is asynchronously applied as soon as possible. // // This parameter must be set to `true` when specifying a value for the `EngineVersion` parameter that is a different major version than the replication instance's current version. AllowMajorVersionUpgrade interface{} `json:"allowMajorVersionUpgrade"` // A value that indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance window. // // This parameter defaults to `true` . // // Default: `true` AutoMinorVersionUpgrade interface{} `json:"autoMinorVersionUpgrade"` // The Availability Zone that the replication instance will be created in. // // The default value is a random, system-chosen Availability Zone in the endpoint's AWS Region , for example: `us-east-1d` AvailabilityZone *string `json:"availabilityZone"` // The engine version number of the replication instance. // // If an engine version number is not specified when a replication instance is created, the default is the latest engine version available. EngineVersion *string `json:"engineVersion"` // An AWS KMS key identifier that is used to encrypt the data on the replication instance. // // If you don't specify a value for the `KmsKeyId` parameter, then AWS DMS uses your default encryption key. // // AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Region . KmsKeyId *string `json:"kmsKeyId"` // Specifies whether the replication instance is a Multi-AZ deployment. // // You can't set the `AvailabilityZone` parameter if the Multi-AZ parameter is set to `true` . MultiAz interface{} `json:"multiAz"` // The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). // // Format: `ddd:hh24:mi-ddd:hh24:mi` // // Default: A 30-minute window selected at random from an 8-hour block of time per AWS Region , occurring on a random day of the week. // // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun // // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow"` // Specifies the accessibility options for the replication instance. // // A value of `true` represents an instance with a public IP address. A value of `false` represents an instance with a private IP address. The default value is `true` . PubliclyAccessible interface{} `json:"publiclyAccessible"` // The replication instance identifier. This parameter is stored as a lowercase string. // // Constraints: // // - Must contain 1-63 alphanumeric characters or hyphens. // - First character must be a letter. // - Can't end with a hyphen or contain two consecutive hyphens. // // Example: `myrepinstance` ReplicationInstanceIdentifier *string `json:"replicationInstanceIdentifier"` // A subnet group to associate with the replication instance. ReplicationSubnetGroupIdentifier *string `json:"replicationSubnetGroupIdentifier"` // A friendly name for the resource identifier at the end of the `EndpointArn` response parameter that is returned in the created `Endpoint` object. // // The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as `Example-App-ARN1` . For example, this value might result in the `EndpointArn` value `arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1` . If you don't specify a `ResourceIdentifier` value, AWS DMS generates a default identifier value for the end of `EndpointArn` . ResourceIdentifier *string `json:"resourceIdentifier"` // One or more tags to be assigned to the replication instance. Tags *[]*awscdk.CfnTag `json:"tags"` // Specifies the VPC security group to be used with the replication instance. // // The VPC security group must work with the VPC containing the replication instance. VpcSecurityGroupIds *[]*string `json:"vpcSecurityGroupIds"` }
Properties for defining a `CfnReplicationInstance`.
TODO: EXAMPLE
type CfnReplicationSubnetGroup ¶
type CfnReplicationSubnetGroup interface { awscdk.CfnResource awscdk.IInspectable CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() awscdk.ConstructNode Ref() *string ReplicationSubnetGroupDescription() *string SetReplicationSubnetGroupDescription(val *string) ReplicationSubnetGroupIdentifier() *string SetReplicationSubnetGroupIdentifier(val *string) Stack() awscdk.Stack SubnetIds() *[]*string SetSubnetIds(val *[]*string) Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::DMS::ReplicationSubnetGroup`.
The `AWS::DMS::ReplicationSubnetGroup` resource creates an AWS DMS replication subnet group. Subnet groups must contain at least two subnets in two different Availability Zones in the same region.
> Resource creation will fail if the `dms-vpc-role` IAM role doesn't already exist. For more information, see [Creating the IAM Roles to Use With the AWS CLI and AWS DMS API](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.APIRole.html) in the *AWS Database Migration Service User Guide.*
TODO: EXAMPLE
func NewCfnReplicationSubnetGroup ¶
func NewCfnReplicationSubnetGroup(scope awscdk.Construct, id *string, props *CfnReplicationSubnetGroupProps) CfnReplicationSubnetGroup
Create a new `AWS::DMS::ReplicationSubnetGroup`.
type CfnReplicationSubnetGroupProps ¶
type CfnReplicationSubnetGroupProps struct { // The description for the subnet group. ReplicationSubnetGroupDescription *string `json:"replicationSubnetGroupDescription"` // One or more subnet IDs to be assigned to the subnet group. SubnetIds *[]*string `json:"subnetIds"` // The identifier for the replication subnet group. // // If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the identifier. ReplicationSubnetGroupIdentifier *string `json:"replicationSubnetGroupIdentifier"` // One or more tags to be assigned to the subnet group. Tags *[]*awscdk.CfnTag `json:"tags"` }
Properties for defining a `CfnReplicationSubnetGroup`.
TODO: EXAMPLE
type CfnReplicationTask ¶
type CfnReplicationTask interface { awscdk.CfnResource awscdk.IInspectable CdcStartPosition() *string SetCdcStartPosition(val *string) CdcStartTime() *float64 SetCdcStartTime(val *float64) CdcStopPosition() *string SetCdcStopPosition(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string MigrationType() *string SetMigrationType(val *string) Node() awscdk.ConstructNode Ref() *string ReplicationInstanceArn() *string SetReplicationInstanceArn(val *string) ReplicationTaskIdentifier() *string SetReplicationTaskIdentifier(val *string) ReplicationTaskSettings() *string SetReplicationTaskSettings(val *string) ResourceIdentifier() *string SetResourceIdentifier(val *string) SourceEndpointArn() *string SetSourceEndpointArn(val *string) Stack() awscdk.Stack TableMappings() *string SetTableMappings(val *string) Tags() awscdk.TagManager TargetEndpointArn() *string SetTargetEndpointArn(val *string) TaskData() *string SetTaskData(val *string) UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::DMS::ReplicationTask`.
The `AWS::DMS::ReplicationTask` resource creates an AWS DMS replication task.
TODO: EXAMPLE
func NewCfnReplicationTask ¶
func NewCfnReplicationTask(scope awscdk.Construct, id *string, props *CfnReplicationTaskProps) CfnReplicationTask
Create a new `AWS::DMS::ReplicationTask`.
type CfnReplicationTaskProps ¶
type CfnReplicationTaskProps struct { // The migration type. // // Valid values: `full-load` | `cdc` | `full-load-and-cdc` MigrationType *string `json:"migrationType"` // The Amazon Resource Name (ARN) of a replication instance. ReplicationInstanceArn *string `json:"replicationInstanceArn"` // An Amazon Resource Name (ARN) that uniquely identifies the source endpoint. SourceEndpointArn *string `json:"sourceEndpointArn"` // The table mappings for the task, in JSON format. // // For more information, see [Using Table Mapping to Specify Task Settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html) in the *AWS Database Migration Service User Guide.* TableMappings *string `json:"tableMappings"` // An Amazon Resource Name (ARN) that uniquely identifies the target endpoint. TargetEndpointArn *string `json:"targetEndpointArn"` // Indicates when you want a change data capture (CDC) operation to start. // // Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error. // // The value can be in date, checkpoint, or LSN/SCN format. // // Date Example: --cdc-start-position “2018-03-08T12:12:12” // // Checkpoint Example: --cdc-start-position "checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93" // // LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373” // // > When you use this task setting with a source PostgreSQL database, a logical replication slot should already be created and associated with the source endpoint. You can verify this by setting the `slotName` extra connection attribute to the name of this logical replication slot. For more information, see [Extra Connection Attributes When Using PostgreSQL as a Source for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib) . CdcStartPosition *string `json:"cdcStartPosition"` // Indicates the start time for a change data capture (CDC) operation. CdcStartTime *float64 `json:"cdcStartTime"` // Indicates when you want a change data capture (CDC) operation to stop. // // The value can be either server time or commit time. // // Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12” // // Commit time example: --cdc-stop-position “commit_time: 2018-02-09T12:12:12 “ CdcStopPosition *string `json:"cdcStopPosition"` // An identifier for the replication task. // // Constraints: // // - Must contain 1-255 alphanumeric characters or hyphens. // - First character must be a letter. // - Cannot end with a hyphen or contain two consecutive hyphens. ReplicationTaskIdentifier *string `json:"replicationTaskIdentifier"` // Overall settings for the task, in JSON format. // // For more information, see [Specifying Task Settings for AWS Database Migration Service Tasks](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.html) in the *AWS Database Migration Service User Guide.* ReplicationTaskSettings *string `json:"replicationTaskSettings"` // A friendly name for the resource identifier at the end of the `EndpointArn` response parameter that is returned in the created `Endpoint` object. // // The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as `Example-App-ARN1` . For example, this value might result in the `EndpointArn` value `arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1` . If you don't specify a `ResourceIdentifier` value, AWS DMS generates a default identifier value for the end of `EndpointArn` . ResourceIdentifier *string `json:"resourceIdentifier"` // One or more tags to be assigned to the replication task. Tags *[]*awscdk.CfnTag `json:"tags"` // `AWS::DMS::ReplicationTask.TaskData`. TaskData *string `json:"taskData"` }
Properties for defining a `CfnReplicationTask`.
TODO: EXAMPLE