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.

CreateGlobalClusterInput

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

type CreateGlobalClusterInput struct { DatabaseName *string `type:"string"` DeletionProtection *bool `type:"boolean"` Engine *string `type:"string"` EngineVersion *string `type:"string"` GlobalClusterIdentifier *string `type:"string"` SourceDBClusterIdentifier *string `type:"string"` StorageEncrypted *bool `type:"boolean"` }

DatabaseName

Type: *string

The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon Aurora will not create a database in the global database cluster you are creating.

DeletionProtection

Type: *bool

The deletion protection setting for the new global database. The global database can't be deleted when this value is set to true.

Engine

Type: *string

Provides the name of the database engine to be used for this DB cluster.

EngineVersion

Type: *string

The engine version of the Aurora global database.

GlobalClusterIdentifier

Type: *string

The cluster identifier of the new global database cluster.

SourceDBClusterIdentifier

Type: *string

The Amazon Resource Name (ARN) to use as the primary cluster of the global database. This parameter is optional.

StorageEncrypted

Type: *bool

The storage encryption setting for the new global database cluster.

Method

GoString

func (s CreateGlobalClusterInput) GoString() string

GoString returns the string representation

SetDatabaseName

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

SetDatabaseName sets the DatabaseName field's value.

SetDeletionProtection

func (s *CreateGlobalClusterInput) SetDeletionProtection(v bool) *CreateGlobalClusterInput

SetDeletionProtection sets the DeletionProtection field's value.

SetEngine

func (s *CreateGlobalClusterInput) SetEngine(v string) *CreateGlobalClusterInput

SetEngine sets the Engine field's value.

SetEngineVersion

func (s *CreateGlobalClusterInput) SetEngineVersion(v string) *CreateGlobalClusterInput

SetEngineVersion sets the EngineVersion field's value.

SetGlobalClusterIdentifier

func (s *CreateGlobalClusterInput) SetGlobalClusterIdentifier(v string) *CreateGlobalClusterInput

SetGlobalClusterIdentifier sets the GlobalClusterIdentifier field's value.

SetSourceDBClusterIdentifier

func (s *CreateGlobalClusterInput) SetSourceDBClusterIdentifier(v string) *CreateGlobalClusterInput

SetSourceDBClusterIdentifier sets the SourceDBClusterIdentifier field's value.

SetStorageEncrypted

func (s *CreateGlobalClusterInput) SetStorageEncrypted(v bool) *CreateGlobalClusterInput

SetStorageEncrypted sets the StorageEncrypted field's value.

String

func (s CreateGlobalClusterInput) String() string

String returns the string representation

On this page: