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.

UpdateAcceleratorAttributesInput

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

type UpdateAcceleratorAttributesInput struct { AcceleratorArn *string `type:"string"` FlowLogsEnabled *bool `type:"boolean"` FlowLogsS3Bucket *string `type:"string"` FlowLogsS3Prefix *string `type:"string"` }

AcceleratorArn

Type: *string

The Amazon Resource Name (ARN) of the accelerator that you want to update. Attribute is required.

FlowLogsEnabled

Type: *bool

Update whether flow logs are enabled. The default value is false. If the value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified.

For more information, see Flow Logs (https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html) in the AWS Global Accelerator Developer Guide.

FlowLogsS3Bucket

Type: *string

The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants AWS Global Accelerator permission to write to the bucket.

FlowLogsS3Prefix

Type: *string

Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. If you don’t specify a prefix, the flow logs are stored in the root of the bucket.

Method

GoString

func (s UpdateAcceleratorAttributesInput) GoString() string

GoString returns the string representation

SetAcceleratorArn

func (s *UpdateAcceleratorAttributesInput) SetAcceleratorArn(v string) *UpdateAcceleratorAttributesInput

SetAcceleratorArn sets the AcceleratorArn field's value.

SetFlowLogsEnabled

func (s *UpdateAcceleratorAttributesInput) SetFlowLogsEnabled(v bool) *UpdateAcceleratorAttributesInput

SetFlowLogsEnabled sets the FlowLogsEnabled field's value.

SetFlowLogsS3Bucket

func (s *UpdateAcceleratorAttributesInput) SetFlowLogsS3Bucket(v string) *UpdateAcceleratorAttributesInput

SetFlowLogsS3Bucket sets the FlowLogsS3Bucket field's value.

SetFlowLogsS3Prefix

func (s *UpdateAcceleratorAttributesInput) SetFlowLogsS3Prefix(v string) *UpdateAcceleratorAttributesInput

SetFlowLogsS3Prefix sets the FlowLogsS3Prefix field's value.

String

func (s UpdateAcceleratorAttributesInput) String() string

String returns the string representation

On this page: