You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::GlobalAccelerator::Types::CreateAcceleratorRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#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, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.

Returns:

  • (Boolean)


205
206
207
208
209
210
211
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 205

class CreateAcceleratorRequest < Struct.new(
  :name,
  :ip_address_type,
  :enabled,
  :idempotency_token)
  include Aws::Structure
end

#idempotency_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of an accelerator.

Returns:

  • (String)


205
206
207
208
209
210
211
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 205

class CreateAcceleratorRequest < Struct.new(
  :name,
  :ip_address_type,
  :enabled,
  :idempotency_token)
  include Aws::Structure
end

#ip_address_typeString

The value for the address type must be IPv4.

Returns:

  • (String)


205
206
207
208
209
210
211
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 205

class CreateAcceleratorRequest < Struct.new(
  :name,
  :ip_address_type,
  :enabled,
  :idempotency_token)
  include Aws::Structure
end

#nameString

The name of an 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)


205
206
207
208
209
210
211
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 205

class CreateAcceleratorRequest < Struct.new(
  :name,
  :ip_address_type,
  :enabled,
  :idempotency_token)
  include Aws::Structure
end