import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class KinesisSettings { MessageFormat ? : Value < string > ; StreamArn ? : Value < string > ; ServiceAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class S3Settings { ExternalTableDefinition ? : Value < string > ; BucketName ? : Value < string > ; BucketFolder ? : Value < string > ; CsvRowDelimiter ? : Value < string > ; CsvDelimiter ? : Value < string > ; ServiceAccessRoleArn ? : Value < string > ; CompressionType ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class PostgreSqlSettings { SecretsManagerSecretId ? : Value < string > ; SecretsManagerAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MicrosoftSqlServerSettings { SecretsManagerSecretId ? : Value < string > ; SecretsManagerAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MongoDbSettings { Port ? : Value < number > ; ExtractDocId ? : Value < string > ; DatabaseName ? : Value < string > ; AuthSource ? : Value < string > ; AuthMechanism ? : Value < string > ; Username ? : Value < string > ; DocsToInvestigate ? : Value < string > ; ServerName ? : Value < string > ; SecretsManagerSecretId ? : Value < string > ; AuthType ? : Value < string > ; SecretsManagerAccessRoleArn ? : Value < string > ; Password ? : Value < string > ; NestingLevel ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class KafkaSettings { Broker ? : Value < string > ; Topic ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MySqlSettings { SecretsManagerSecretId ? : Value < string > ; SecretsManagerAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class NeptuneSettings { MaxRetryCount ? : Value < number > ; MaxFileSize ? : Value < number > ; S3BucketFolder ? : Value < string > ; ErrorRetryDuration ? : Value < number > ; IamAuthEnabled ? : Value < boolean > ; S3BucketName ? : Value < string > ; ServiceAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class IbmDb2Settings { SecretsManagerSecretId ? : Value < string > ; SecretsManagerAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ElasticsearchSettings { EndpointUri ? : Value < string > ; FullLoadErrorPercentage ? : Value < number > ; ErrorRetryDuration ? : Value < number > ; ServiceAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class OracleSettings { SecretsManagerOracleAsmAccessRoleArn ? : Value < string > ; SecretsManagerOracleAsmSecretId ? : Value < string > ; SecretsManagerSecretId ? : Value < string > ; SecretsManagerAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DynamoDbSettings { ServiceAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DocDbSettings { SecretsManagerSecretId ? : Value < string > ; SecretsManagerAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SybaseSettings { SecretsManagerSecretId ? : Value < string > ; SecretsManagerAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class RedshiftSettings { SecretsManagerSecretId ? : Value < string > ; SecretsManagerAccessRoleArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface EndpointProperties { SybaseSettings ? : SybaseSettings ; OracleSettings ? : OracleSettings ; KafkaSettings ? : KafkaSettings ; Port ? : Value < number > ; MySqlSettings ? : MySqlSettings ; S3Settings ? : S3Settings ; ResourceIdentifier ? : Value < string > ; KinesisSettings ? : KinesisSettings ; SslMode ? : Value < string > ; RedshiftSettings ? : RedshiftSettings ; EndpointType : Value < string > ; Tags ? : List < ResourceTag > ; Password ? : Value < string > ; MongoDbSettings ? : MongoDbSettings ; IbmDb2Settings ? : IbmDb2Settings ; KmsKeyId ? : Value < string > ; DatabaseName ? : Value < string > ; NeptuneSettings ? : NeptuneSettings ; ElasticsearchSettings ? : ElasticsearchSettings ; EngineName : Value < string > ; DocDbSettings ? : DocDbSettings ; DynamoDbSettings ? : DynamoDbSettings ; Username ? : Value < string > ; MicrosoftSqlServerSettings ? : MicrosoftSqlServerSettings ; ServerName ? : Value < string > ; ExtraConnectionAttributes ? : Value < string > ; EndpointIdentifier ? : Value < string > ; CertificateArn ? : Value < string > ; PostgreSqlSettings ? : PostgreSqlSettings ; } export default class Endpoint extends ResourceBase < EndpointProperties > { static KinesisSettings = KinesisSettings ; static S3Settings = S3Settings ; static PostgreSqlSettings = PostgreSqlSettings ; static MicrosoftSqlServerSettings = MicrosoftSqlServerSettings ; static MongoDbSettings = MongoDbSettings ; static KafkaSettings = KafkaSettings ; static MySqlSettings = MySqlSettings ; static NeptuneSettings = NeptuneSettings ; static IbmDb2Settings = IbmDb2Settings ; static ElasticsearchSettings = ElasticsearchSettings ; static OracleSettings = OracleSettings ; static DynamoDbSettings = DynamoDbSettings ; static DocDbSettings = DocDbSettings ; static SybaseSettings = SybaseSettings ; static RedshiftSettings = RedshiftSettings ; constructor ( properties ) { super ( 'AWS::DMS::Endpoint' , properties ) ; } }