EndpointState constructor

const EndpointState({
  1. Input<String?>? certificateArn,
  2. Input<String?>? databaseName,
  3. Input<EndpointElasticsearchSettings?>? elasticsearchSettings,
  4. Input<String?>? endpointArn,
  5. Input<String?>? endpointId,
  6. Input<String?>? endpointType,
  7. Input<String?>? engineName,
  8. Input<String?>? extraConnectionAttributes,
  9. Input<EndpointKafkaSettings?>? kafkaSettings,
  10. Input<EndpointKinesisSettings?>? kinesisSettings,
  11. Input<String?>? kmsKeyArn,
  12. Input<EndpointMongodbSettings?>? mongodbSettings,
  13. Input<EndpointMysqlSettings?>? mysqlSettings,
  14. Input<EndpointOracleSettings?>? oracleSettings,
  15. Input<String?>? password,
  16. Input<bool?>? pauseReplicationTasks,
  17. Input<int?>? port,
  18. Input<EndpointPostgresSettings?>? postgresSettings,
  19. Input<EndpointRedisSettings?>? redisSettings,
  20. Input<EndpointRedshiftSettings?>? redshiftSettings,
  21. Input<String?>? region,
  22. Input<String?>? secretsManagerAccessRoleArn,
  23. Input<String?>? secretsManagerArn,
  24. Input<String?>? serverName,
  25. Input<String?>? serviceAccessRole,
  26. Input<String?>? sslMode,
  27. Input<Map<String, String>?>? tags,
  28. Input<Map<String, String>?>? tagsAll,
  29. Input<String?>? username,
})

Creates a new EndpointState. certificateArn ARN for the certificate. databaseName Name of the endpoint database. elasticsearchSettings Configuration block for OpenSearch settings. See below. endpointArn ARN for the endpoint. endpointId Database endpoint identifier. Identifiers must contain from 1 to 255 alphanumeric characters or hyphens, begin with a letter, contain only ASCII letters, digits, and hyphens, not end with a hyphen, and not contain two consecutive hyphens. endpointType Type of endpoint. Valid values are source, target. engineName Type of engine for the endpoint. Valid values are aurora, aurora-postgresql, aurora-serverless, aurora-postgresql-serverless,azuredb, azure-sql-managed-instance, babelfish, db2, db2-zos, docdb, dynamodb, elasticsearch, kafka, kinesis, mariadb, mongodb, mysql, opensearch, oracle, postgres, redshift,redshift-serverless, sqlserver, neptune ,sybase. Please note that some of engine names are available only for target endpoint type (e.g. redshift). extraConnectionAttributes Additional attributes associated with the connection. For available attributes for a source Endpoint, see Sources for data migration. For available attributes for a target Endpoint, see Targets for data migration. kafkaSettings Configuration block for Kafka settings. See below. kinesisSettings Configuration block for Kinesis settings. See below. kmsKeyArn ARN for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for kmsKeyArn, then AWS DMS will use 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. When engineName is redshift, kmsKeyArn is the KMS Key for the Redshift target and the parameter redshift_settings.server_side_encryption_kms_key_id encrypts the S3 intermediate storage. mongodbSettings Configuration block for MongoDB settings. See below. mysqlSettings Configuration block for MySQL settings. See below. oracleSettings Configuration block for Oracle settings. See below. password Password to be used to login to the endpoint database. pauseReplicationTasks Whether to pause associated running replication tasks, regardless if they are managed by Terraform, prior to modifying the endpoint. Only tasks paused by the resource will be restarted after the modification completes. Default is false. port Port used by the endpoint database. postgresSettings Configuration block for Postgres settings. See below. redisSettings Optional. redshiftSettings Configuration block for Redshift settings. See below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secretsManagerAccessRoleArn ARN of the IAM role that specifies AWS DMS as the trusted entity and has the required permissions to access the value in the Secrets Manager secret referred to by secretsManagerArn. The role must allow the iam:PassRole action. secretsManagerArn Full ARN, partial ARN, or friendly name of the Secrets Manager secret that contains the endpoint connection details. Supported only when engineName is aurora, aurora-postgresql, mariadb, mongodb, mysql, oracle, postgres, redshift, or sqlserver. serverName Host name of the server. serviceAccessRole ARN used by the service access IAM role for dynamodb endpoints. sslMode SSL mode to use for the connection. Valid values are none, require, verify-ca, verify-full tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. username User name to be used to login to the endpoint database.

Implementation

const EndpointState({
  this.certificateArn,
  this.databaseName,
  this.elasticsearchSettings,
  this.endpointArn,
  this.endpointId,
  this.endpointType,
  this.engineName,
  this.extraConnectionAttributes,
  this.kafkaSettings,
  this.kinesisSettings,
  this.kmsKeyArn,
  this.mongodbSettings,
  this.mysqlSettings,
  this.oracleSettings,
  this.password,
  this.pauseReplicationTasks,
  this.port,
  this.postgresSettings,
  this.redisSettings,
  this.redshiftSettings,
  this.region,
  this.secretsManagerAccessRoleArn,
  this.secretsManagerArn,
  this.serverName,
  this.serviceAccessRole,
  this.sslMode,
  this.tags,
  this.tagsAll,
  this.username,
});