Class: Aws::GlobalAccelerator::Types::UpdateAcceleratorAttributesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb

Overview

Note:

When making an API call, you may pass UpdateAcceleratorAttributesRequest data as a hash:

{
  accelerator_arn: "GenericString", # required
  flow_logs_enabled: false,
  flow_logs_s3_bucket: "GenericString",
  flow_logs_s3_prefix: "GenericString",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_arnString

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

Returns:

  • (String)


3148
3149
3150
3151
3152
3153
3154
3155
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3148

class UpdateAcceleratorAttributesRequest < Struct.new(
  :accelerator_arn,
  :flow_logs_enabled,
  :flow_logs_s3_bucket,
  :flow_logs_s3_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#flow_logs_enabledBoolean

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 in the AWS Global Accelerator Developer Guide.

Returns:

  • (Boolean)


3148
3149
3150
3151
3152
3153
3154
3155
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3148

class UpdateAcceleratorAttributesRequest < Struct.new(
  :accelerator_arn,
  :flow_logs_enabled,
  :flow_logs_s3_bucket,
  :flow_logs_s3_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#flow_logs_s3_bucketString

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.

Returns:

  • (String)


3148
3149
3150
3151
3152
3153
3154
3155
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3148

class UpdateAcceleratorAttributesRequest < Struct.new(
  :accelerator_arn,
  :flow_logs_enabled,
  :flow_logs_s3_bucket,
  :flow_logs_s3_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#flow_logs_s3_prefixString

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. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:

s3-bucket_name//AWSLogs/aws_account_id

Returns:

  • (String)


3148
3149
3150
3151
3152
3153
3154
3155
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3148

class UpdateAcceleratorAttributesRequest < Struct.new(
  :accelerator_arn,
  :flow_logs_enabled,
  :flow_logs_s3_bucket,
  :flow_logs_s3_prefix)
  SENSITIVE = []
  include Aws::Structure
end