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.

ResourceDataSyncS3Destination

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

type ResourceDataSyncS3Destination struct { AWSKMSKeyARN *string `min:"1" type:"string"` BucketName *string `min:"1" type:"string" required:"true"` Prefix *string `min:"1" type:"string"` Region *string `min:"1" type:"string" required:"true"` SyncFormat *string `type:"string" required:"true" enum:"ResourceDataSyncS3Format"` }

Information about the target Amazon S3 bucket for the Resource Data Sync.

AWSKMSKeyARN

Type: *string

The ARN of an encryption key for a destination in Amazon S3. Must belong to the same region as the destination Amazon S3 bucket.

BucketName

Type: *string

The name of the Amazon S3 bucket where the aggregated data is stored.

BucketName is a required field

Prefix

Type: *string

An Amazon S3 prefix for the bucket.

Region

Type: *string

The AWS Region with the Amazon S3 bucket targeted by the Resource Data Sync.

Region is a required field

SyncFormat

Type: *string

A supported sync format. The following format is currently supported: JsonSerDe

SyncFormat is a required field

Method

GoString

func (s ResourceDataSyncS3Destination) GoString() string

GoString returns the string representation

SetAWSKMSKeyARN

func (s *ResourceDataSyncS3Destination) SetAWSKMSKeyARN(v string) *ResourceDataSyncS3Destination

SetAWSKMSKeyARN sets the AWSKMSKeyARN field's value.

SetBucketName

func (s *ResourceDataSyncS3Destination) SetBucketName(v string) *ResourceDataSyncS3Destination

SetBucketName sets the BucketName field's value.

SetPrefix

func (s *ResourceDataSyncS3Destination) SetPrefix(v string) *ResourceDataSyncS3Destination

SetPrefix sets the Prefix field's value.

SetRegion

func (s *ResourceDataSyncS3Destination) SetRegion(v string) *ResourceDataSyncS3Destination

SetRegion sets the Region field's value.

SetSyncFormat

func (s *ResourceDataSyncS3Destination) SetSyncFormat(v string) *ResourceDataSyncS3Destination

SetSyncFormat sets the SyncFormat field's value.

String

func (s ResourceDataSyncS3Destination) String() string

String returns the string representation

Validate

func (s *ResourceDataSyncS3Destination) Validate() error

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

On this page: