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.

CreateDBClusterSnapshotInput

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

type CreateDBClusterSnapshotInput struct { DBClusterIdentifier *string `type:"string" required:"true"` DBClusterSnapshotIdentifier *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` }

DBClusterIdentifier

Type: *string

The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

Example: my-cluster1

DBClusterIdentifier is a required field

DBClusterSnapshotIdentifier

Type: *string

The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.

  • First character must be a letter.

  • Can't end with a hyphen or contain two consecutive hyphens.

Example: my-cluster1-snapshot1

DBClusterSnapshotIdentifier is a required field

Tags

Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

Method

GoString

func (s CreateDBClusterSnapshotInput) GoString() string

GoString returns the string representation

SetDBClusterIdentifier

func (s *CreateDBClusterSnapshotInput) SetDBClusterIdentifier(v string) *CreateDBClusterSnapshotInput

SetDBClusterIdentifier sets the DBClusterIdentifier field's value.

SetDBClusterSnapshotIdentifier

func (s *CreateDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier(v string) *CreateDBClusterSnapshotInput

SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.

SetTags

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

SetTags sets the Tags field's value.

String

func (s CreateDBClusterSnapshotInput) String() string

String returns the string representation

Validate

func (s *CreateDBClusterSnapshotInput) Validate() error

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

On this page: