Class: Aws::EC2::Types::CreateSubnetCidrReservationRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cidr ⇒ String

The IPv4 or IPV6 CIDR range to reserve.

Returns:

  • (String)


16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16060

class CreateSubnetCidrReservationRequest < Struct.new(
  :subnet_id,
  :cidr,
  :reservation_type,
  :description,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description to assign to the subnet CIDR reservation.

Returns:

  • (String)


16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16060

class CreateSubnetCidrReservationRequest < Struct.new(
  :subnet_id,
  :cidr,
  :reservation_type,
  :description,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end

#dry_run ⇒ Boolean

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)


16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16060

class CreateSubnetCidrReservationRequest < Struct.new(
  :subnet_id,
  :cidr,
  :reservation_type,
  :description,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end

#reservation_type ⇒ String

The type of reservation. The reservation type determines how the reserved IP addresses are assigned to resources.

  • prefix - Amazon Web Services assigns the reserved IP addresses to network interfaces.

  • explicit - You assign the reserved IP addresses to network interfaces.

Returns:

  • (String)


16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16060

class CreateSubnetCidrReservationRequest < Struct.new(
  :subnet_id,
  :cidr,
  :reservation_type,
  :description,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_id ⇒ String

The ID of the subnet.

Returns:

  • (String)


16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16060

class CreateSubnetCidrReservationRequest < Struct.new(
  :subnet_id,
  :cidr,
  :reservation_type,
  :description,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end

#tag_specifications ⇒ Array<Types::TagSpecification>

The tags to assign to the subnet CIDR reservation.

Returns:



16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16060

class CreateSubnetCidrReservationRequest < Struct.new(
  :subnet_id,
  :cidr,
  :reservation_type,
  :description,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end