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.

CopyDBClusterParameterGroupInput

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

type CopyDBClusterParameterGroupInput struct { SourceDBClusterParameterGroupIdentifier *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` TargetDBClusterParameterGroupDescription *string `type:"string" required:"true"` TargetDBClusterParameterGroupIdentifier *string `type:"string" required:"true"` }

SourceDBClusterParameterGroupIdentifier

Type: *string

The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) in the Amazon Aurora User Guide.

Constraints:

  • Must specify a valid DB cluster parameter group.

  • If the source DB cluster parameter group is in the same AWS Region as the copy, specify a valid DB parameter group identifier, for example my-db-cluster-param-group, or a valid ARN.

  • If the source DB parameter group is in a different AWS Region than the copy, specify a valid DB cluster parameter group ARN, for example arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1.

SourceDBClusterParameterGroupIdentifier is a required field

Tags

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

TargetDBClusterParameterGroupDescription

Type: *string

A description for the copied DB cluster parameter group.

TargetDBClusterParameterGroupDescription is a required field

TargetDBClusterParameterGroupIdentifier

Type: *string

The identifier for the copied DB cluster parameter group.

Constraints:

  • Can't be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

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

Example: my-cluster-param-group1

TargetDBClusterParameterGroupIdentifier is a required field

Method

GoString

func (s CopyDBClusterParameterGroupInput) GoString() string

GoString returns the string representation

SetSourceDBClusterParameterGroupIdentifier

func (s *CopyDBClusterParameterGroupInput) SetSourceDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput

SetSourceDBClusterParameterGroupIdentifier sets the SourceDBClusterParameterGroupIdentifier field's value.

SetTags

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

SetTags sets the Tags field's value.

SetTargetDBClusterParameterGroupDescription

func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupDescription(v string) *CopyDBClusterParameterGroupInput

SetTargetDBClusterParameterGroupDescription sets the TargetDBClusterParameterGroupDescription field's value.

SetTargetDBClusterParameterGroupIdentifier

func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput

SetTargetDBClusterParameterGroupIdentifier sets the TargetDBClusterParameterGroupIdentifier field's value.

String

func (s CopyDBClusterParameterGroupInput) String() string

String returns the string representation

Validate

func (s *CopyDBClusterParameterGroupInput) Validate() error

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

On this page: