Class: Aws::EC2::Types::IpamPrefixListResolverRule

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

Overview

Describes a CIDR selection rule.

CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conditionsArray<Types::IpamPrefixListResolverRuleCondition>

The conditions that determine which CIDRs are selected by this rule. Conditions specify criteria such as resource type, tags, account IDs, and Regions.



51894
51895
51896
51897
51898
51899
51900
51901
51902
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51894

class IpamPrefixListResolverRule < Struct.new(
  :rule_type,
  :static_cidr,
  :ipam_scope_id,
  :resource_type,
  :conditions)
  SENSITIVE = []
  include Aws::Structure
end

#ipam_scope_idString

The ID of the IPAM scope from which to select CIDRs. This determines whether to select from public or private IP address space.

Returns:

  • (String)


51894
51895
51896
51897
51898
51899
51900
51901
51902
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51894

class IpamPrefixListResolverRule < Struct.new(
  :rule_type,
  :static_cidr,
  :ipam_scope_id,
  :resource_type,
  :conditions)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

For rules of type ipam-resource-cidr, this is the resource type.

Returns:

  • (String)


51894
51895
51896
51897
51898
51899
51900
51901
51902
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51894

class IpamPrefixListResolverRule < Struct.new(
  :rule_type,
  :static_cidr,
  :ipam_scope_id,
  :resource_type,
  :conditions)
  SENSITIVE = []
  include Aws::Structure
end

#rule_typeString

The type of CIDR selection rule. Valid values include include for selecting CIDRs that match the conditions, and exclude for excluding CIDRs that match the conditions.

Returns:

  • (String)


51894
51895
51896
51897
51898
51899
51900
51901
51902
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51894

class IpamPrefixListResolverRule < Struct.new(
  :rule_type,
  :static_cidr,
  :ipam_scope_id,
  :resource_type,
  :conditions)
  SENSITIVE = []
  include Aws::Structure
end

#static_cidrString

A fixed list of CIDRs that do not change (like a manual list replicated across Regions).

Returns:

  • (String)


51894
51895
51896
51897
51898
51899
51900
51901
51902
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51894

class IpamPrefixListResolverRule < Struct.new(
  :rule_type,
  :static_cidr,
  :ipam_scope_id,
  :resource_type,
  :conditions)
  SENSITIVE = []
  include Aws::Structure
end