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.

GetBackupVaultAccessPolicyOutput

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

type GetBackupVaultAccessPolicyOutput struct { BackupVaultArn *string `type:"string"` BackupVaultName *string `type:"string"` Policy *string `type:"string"` }

BackupVaultArn

Type: *string

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

BackupVaultName

Type: *string

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Policy

Type: *string

The backup vault access policy document in JSON format.

Method

GoString

func (s GetBackupVaultAccessPolicyOutput) GoString() string

GoString returns the string representation

SetBackupVaultArn

func (s *GetBackupVaultAccessPolicyOutput) SetBackupVaultArn(v string) *GetBackupVaultAccessPolicyOutput

SetBackupVaultArn sets the BackupVaultArn field's value.

SetBackupVaultName

func (s *GetBackupVaultAccessPolicyOutput) SetBackupVaultName(v string) *GetBackupVaultAccessPolicyOutput

SetBackupVaultName sets the BackupVaultName field's value.

SetPolicy

func (s *GetBackupVaultAccessPolicyOutput) SetPolicy(v string) *GetBackupVaultAccessPolicyOutput

SetPolicy sets the Policy field's value.

String

func (s GetBackupVaultAccessPolicyOutput) String() string

String returns the string representation

On this page: