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.

DeleteDBClusterInput

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

type DeleteDBClusterInput struct { DBClusterIdentifier *string `type:"string" required:"true"` FinalDBSnapshotIdentifier *string `type:"string"` SkipFinalSnapshot *bool `type:"boolean"` }

DBClusterIdentifier

Type: *string

The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

Constraints:

  • Must match an existing DBClusterIdentifier.

DBClusterIdentifier is a required field

FinalDBSnapshotIdentifier

Type: *string

The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is set to false.

Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

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

SkipFinalSnapshot

Type: *bool

Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If true is specified, no DB cluster snapshot is created. If false is specified, a DB cluster snapshot is created before the DB cluster is deleted.

You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

Default: false

Method

GoString

func (s DeleteDBClusterInput) GoString() string

GoString returns the string representation

SetDBClusterIdentifier

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

SetDBClusterIdentifier sets the DBClusterIdentifier field's value.

SetFinalDBSnapshotIdentifier

func (s *DeleteDBClusterInput) SetFinalDBSnapshotIdentifier(v string) *DeleteDBClusterInput

SetFinalDBSnapshotIdentifier sets the FinalDBSnapshotIdentifier field's value.

SetSkipFinalSnapshot

func (s *DeleteDBClusterInput) SetSkipFinalSnapshot(v bool) *DeleteDBClusterInput

SetSkipFinalSnapshot sets the SkipFinalSnapshot field's value.

String

func (s DeleteDBClusterInput) String() string

String returns the string representation

Validate

func (s *DeleteDBClusterInput) Validate() error

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

On this page: