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.

DBSnapshotAttribute

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

type DBSnapshotAttribute struct { AttributeName *string `type:"string"` AttributeValues []*string `locationNameList:"AttributeValue" type:"list"` }

Contains the name and values of a manual DB snapshot attribute

Manual DB snapshot attributes are used to authorize other AWS accounts to restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute API.

AttributeName

Type: *string

The name of the manual DB snapshot attribute.

The attribute named restore refers to the list of AWS accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBSnapshotAttribute API action.

AttributeValues

Type: []*string

The value or values for the manual DB snapshot attribute.

If the AttributeName field is set to restore, then this element returns a list of IDs of the AWS accounts that are authorized to copy or restore the manual DB snapshot. If a value of all is in the list, then the manual DB snapshot is public and available for any AWS account to copy or restore.

Method

GoString

func (s DBSnapshotAttribute) GoString() string

GoString returns the string representation

SetAttributeName

func (s *DBSnapshotAttribute) SetAttributeName(v string) *DBSnapshotAttribute

SetAttributeName sets the AttributeName field's value.

SetAttributeValues

func (s *DBSnapshotAttribute) SetAttributeValues(v []*string) *DBSnapshotAttribute

SetAttributeValues sets the AttributeValues field's value.

String

func (s DBSnapshotAttribute) String() string

String returns the string representation

On this page: