Class: Aws::GlobalAccelerator::Types::UpdateAcceleratorRequest

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 UpdateAcceleratorRequest data as a hash:

{
  accelerator_arn: "GenericString", # required
  name: "GenericString",
  ip_address_type: "IPV4", # accepts IPV4
  enabled: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_arnString

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

Returns:

  • (String)


3203
3204
3205
3206
3207
3208
3209
3210
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3203

class UpdateAcceleratorRequest < Struct.new(
  :accelerator_arn,
  :name,
  :ip_address_type,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Indicates whether an accelerator is enabled. The value is true or false. The default value is true.

If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.

Returns:

  • (Boolean)


3203
3204
3205
3206
3207
3208
3209
3210
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3203

class UpdateAcceleratorRequest < Struct.new(
  :accelerator_arn,
  :name,
  :ip_address_type,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_typeString

The IP address type, which must be IPv4.

Returns:

  • (String)


3203
3204
3205
3206
3207
3208
3209
3210
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3203

class UpdateAcceleratorRequest < Struct.new(
  :accelerator_arn,
  :name,
  :ip_address_type,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.

Returns:

  • (String)


3203
3204
3205
3206
3207
3208
3209
3210
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 3203

class UpdateAcceleratorRequest < Struct.new(
  :accelerator_arn,
  :name,
  :ip_address_type,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end