Class: Aws::EC2::Types::CreateManagedPrefixListRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#address_familyString

The IP address type.

Valid Values: ‘IPv4` | `IPv6`

Returns:

  • (String)


10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-ec2/types.rb', line 10278

class CreateManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_name,
  :entries,
  :max_entries,
  :tag_specifications,
  :address_family,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see [Ensuring idempotency].

Constraints: Up to 255 UTF-8 characters in length.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

[1]: docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html

Returns:

  • (String)


10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-ec2/types.rb', line 10278

class CreateManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_name,
  :entries,
  :max_entries,
  :tag_specifications,
  :address_family,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.

Returns:

  • (Boolean)


10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-ec2/types.rb', line 10278

class CreateManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_name,
  :entries,
  :max_entries,
  :tag_specifications,
  :address_family,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#entriesArray<Types::AddPrefixListEntry>

One or more entries for the prefix list.

Returns:



10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-ec2/types.rb', line 10278

class CreateManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_name,
  :entries,
  :max_entries,
  :tag_specifications,
  :address_family,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#max_entriesInteger

The maximum number of entries for the prefix list.

Returns:

  • (Integer)


10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-ec2/types.rb', line 10278

class CreateManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_name,
  :entries,
  :max_entries,
  :tag_specifications,
  :address_family,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#prefix_list_nameString

A name for the prefix list.

Constraints: Up to 255 characters in length. The name cannot start with ‘com.amazonaws`.

Returns:

  • (String)


10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-ec2/types.rb', line 10278

class CreateManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_name,
  :entries,
  :max_entries,
  :tag_specifications,
  :address_family,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tag_specificationsArray<Types::TagSpecification>

The tags to apply to the prefix list during creation.

Returns:



10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
# File 'lib/aws-sdk-ec2/types.rb', line 10278

class CreateManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_name,
  :entries,
  :max_entries,
  :tag_specifications,
  :address_family,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end