NAME

Paws::RDS::DeleteDBCluster - Arguments for method DeleteDBCluster on Paws::RDS

DESCRIPTION

This class represents the parameters used for calling the method DeleteDBCluster on the Amazon Relational Database Service service. Use the attributes of this class as arguments to method DeleteDBCluster.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteDBCluster.

SYNOPSIS

my $rds = Paws->service('RDS');
# To delete a DB cluster.
# This example deletes the specified DB cluster.
my $DeleteDBClusterResult = $rds->DeleteDBCluster(
  'DBClusterIdentifier' => 'mydbcluster',
  'SkipFinalSnapshot'   => 1
);

# Results:
my $DBCluster = $DeleteDBClusterResult->DBCluster;

# Returns a L<Paws::RDS::DeleteDBClusterResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rds/DeleteDBCluster

ATTRIBUTES

REQUIRED DBClusterIdentifier => Str

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

Constraints:

  • Must match an existing DBClusterIdentifier.

FinalDBSnapshotIdentifier => Str

The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is disabled.

Specifying this parameter and also skipping the creation of a final DB cluster snapshot with the SkipFinalShapshot parameter 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 => Bool

A value that indicates whether to skip the creation of a final DB cluster snapshot before the DB cluster is deleted. If skip is specified, no DB cluster snapshot is created. If skip isn't specified, a DB cluster snapshot is created before the DB cluster is deleted. By default, skip isn't specified, and the DB cluster snapshot is created. By default, this parameter is disabled.

You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is disabled.

SEE ALSO

This class forms part of Paws, documenting arguments for method DeleteDBCluster in Paws::RDS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues