AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateEndpointInput

import "github.com/aws/aws-sdk-go/service/databasemigrationservice"

type CreateEndpointInput struct { CertificateArn *string `type:"string"` DatabaseName *string `type:"string"` DmsTransferSettings *DmsTransferSettings `type:"structure"` DynamoDbSettings *DynamoDbSettings `type:"structure"` ElasticsearchSettings *ElasticsearchSettings `type:"structure"` EndpointIdentifier *string `type:"string" required:"true"` EndpointType *string `type:"string" required:"true" enum:"ReplicationEndpointTypeValue"` EngineName *string `type:"string" required:"true"` ExternalTableDefinition *string `type:"string"` ExtraConnectionAttributes *string `type:"string"` KinesisSettings *KinesisSettings `type:"structure"` KmsKeyId *string `type:"string"` MongoDbSettings *MongoDbSettings `type:"structure"` Password *string `type:"string" sensitive:"true"` Port *int64 `type:"integer"` S3Settings *S3Settings `type:"structure"` ServerName *string `type:"string"` ServiceAccessRoleArn *string `type:"string"` SslMode *string `type:"string" enum:"DmsSslModeValue"` Tags []*Tag `type:"list"` Username *string `type:"string"` }

CertificateArn

Type: *string

The Amazon Resource Name (ARN) for the certificate.

DatabaseName

Type: *string

The name of the endpoint database.

DmsTransferSettings

The settings in JSON format for the DMS Transfer type source endpoint.

DynamoDbSettings
ElasticsearchSettings
EndpointIdentifier

Type: *string

The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.

EndpointIdentifier is a required field

EndpointType

Type: *string

The type of endpoint.

EndpointType is a required field

EngineName

Type: *string

The type of engine for the endpoint. Valid values, depending on the EndPointType value, include mysql, oracle, postgres, mariadb, aurora, aurora-postgresql, redshift, s3, db2, azuredb, sybase, dynamodb, mongodb, and sqlserver.

EngineName is a required field

ExternalTableDefinition

Type: *string

The external table definition.

ExtraConnectionAttributes

Type: *string

Additional attributes associated with the connection.

KinesisSettings
KmsKeyId

Type: *string

The AWS KMS key identifier to use to encrypt the connection parameters. 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.

MongoDbSettings
Password

Type: *string

The password to be used to log in to the endpoint database.

Port

Type: *int64

The port used by the endpoint database.

S3Settings
ServerName

Type: *string

The name of the server where the endpoint database resides.

ServiceAccessRoleArn

Type: *string

The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint.

SslMode

Type: *string

The Secure Sockets Layer (SSL) mode to use for the SSL connection. The SSL mode can be one of four values: none, require, verify-ca, verify-full. The default value is none.

Tags
Username

Type: *string

The user name to be used to log in to the endpoint database.

Method

GoString

func (s CreateEndpointInput) GoString() string

GoString returns the string representation

SetCertificateArn

func (s *CreateEndpointInput) SetCertificateArn(v string) *CreateEndpointInput

SetCertificateArn sets the CertificateArn field's value.

SetDatabaseName

func (s *CreateEndpointInput) SetDatabaseName(v string) *CreateEndpointInput

SetDatabaseName sets the DatabaseName field's value.

SetDmsTransferSettings

func (s *CreateEndpointInput) SetDmsTransferSettings(v *DmsTransferSettings) *CreateEndpointInput

SetDmsTransferSettings sets the DmsTransferSettings field's value.

SetDynamoDbSettings

func (s *CreateEndpointInput) SetDynamoDbSettings(v *DynamoDbSettings) *CreateEndpointInput

SetDynamoDbSettings sets the DynamoDbSettings field's value.

SetElasticsearchSettings

func (s *CreateEndpointInput) SetElasticsearchSettings(v *ElasticsearchSettings) *CreateEndpointInput

SetElasticsearchSettings sets the ElasticsearchSettings field's value.

SetEndpointIdentifier

func (s *CreateEndpointInput) SetEndpointIdentifier(v string) *CreateEndpointInput

SetEndpointIdentifier sets the EndpointIdentifier field's value.

SetEndpointType

func (s *CreateEndpointInput) SetEndpointType(v string) *CreateEndpointInput

SetEndpointType sets the EndpointType field's value.

SetEngineName

func (s *CreateEndpointInput) SetEngineName(v string) *CreateEndpointInput

SetEngineName sets the EngineName field's value.

SetExternalTableDefinition

func (s *CreateEndpointInput) SetExternalTableDefinition(v string) *CreateEndpointInput

SetExternalTableDefinition sets the ExternalTableDefinition field's value.

SetExtraConnectionAttributes

func (s *CreateEndpointInput) SetExtraConnectionAttributes(v string) *CreateEndpointInput

SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value.

SetKinesisSettings

func (s *CreateEndpointInput) SetKinesisSettings(v *KinesisSettings) *CreateEndpointInput

SetKinesisSettings sets the KinesisSettings field's value.

SetKmsKeyId

func (s *CreateEndpointInput) SetKmsKeyId(v string) *CreateEndpointInput

SetKmsKeyId sets the KmsKeyId field's value.

SetMongoDbSettings

func (s *CreateEndpointInput) SetMongoDbSettings(v *MongoDbSettings) *CreateEndpointInput

SetMongoDbSettings sets the MongoDbSettings field's value.

SetPassword

func (s *CreateEndpointInput) SetPassword(v string) *CreateEndpointInput

SetPassword sets the Password field's value.

SetPort

func (s *CreateEndpointInput) SetPort(v int64) *CreateEndpointInput

SetPort sets the Port field's value.

SetS3Settings

func (s *CreateEndpointInput) SetS3Settings(v *S3Settings) *CreateEndpointInput

SetS3Settings sets the S3Settings field's value.

SetServerName

func (s *CreateEndpointInput) SetServerName(v string) *CreateEndpointInput

SetServerName sets the ServerName field's value.

SetServiceAccessRoleArn

func (s *CreateEndpointInput) SetServiceAccessRoleArn(v string) *CreateEndpointInput

SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value.

SetSslMode

func (s *CreateEndpointInput) SetSslMode(v string) *CreateEndpointInput

SetSslMode sets the SslMode field's value.

SetTags

func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput

SetTags sets the Tags field's value.

SetUsername

func (s *CreateEndpointInput) SetUsername(v string) *CreateEndpointInput

SetUsername sets the Username field's value.

String

func (s CreateEndpointInput) String() string

String returns the string representation

Validate

func (s *CreateEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: