Class: Aws::EC2::Types::AddPrefixListEntry

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

Overview

Note:

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

{
  cidr: "String", # required
  description: "String",
}

An entry for a prefix list.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cidrString

The CIDR block.

Returns:

  • (String)


325
326
327
328
329
330
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 325

class AddPrefixListEntry < Struct.new(
  :cidr,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the entry.

Constraints: Up to 255 characters in length.

Returns:

  • (String)


325
326
327
328
329
330
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 325

class AddPrefixListEntry < Struct.new(
  :cidr,
  :description)
  SENSITIVE = []
  include Aws::Structure
end