Class: Aws::EC2::Types::ModifyIpamPolicyAllocationRulesRequest

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

#allocation_rulesArray<Types::IpamPolicyAllocationRuleRequest>

The new allocation rules to apply to the IPAM policy.

Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.



63160
63161
63162
63163
63164
63165
63166
63167
63168
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 63160

class ModifyIpamPolicyAllocationRulesRequest < Struct.new(
  :dry_run,
  :ipam_policy_id,
  :locale,
  :resource_type,
  :allocation_rules)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

A check for 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)


63160
63161
63162
63163
63164
63165
63166
63167
63168
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 63160

class ModifyIpamPolicyAllocationRulesRequest < Struct.new(
  :dry_run,
  :ipam_policy_id,
  :locale,
  :resource_type,
  :allocation_rules)
  SENSITIVE = []
  include Aws::Structure
end

#ipam_policy_idString

The ID of the IPAM policy whose allocation rules you want to modify.

Returns:

  • (String)


63160
63161
63162
63163
63164
63165
63166
63167
63168
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 63160

class ModifyIpamPolicyAllocationRulesRequest < Struct.new(
  :dry_run,
  :ipam_policy_id,
  :locale,
  :resource_type,
  :allocation_rules)
  SENSITIVE = []
  include Aws::Structure
end

#localeString

The locale for which to modify the allocation rules.

Returns:

  • (String)


63160
63161
63162
63163
63164
63165
63166
63167
63168
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 63160

class ModifyIpamPolicyAllocationRulesRequest < Struct.new(
  :dry_run,
  :ipam_policy_id,
  :locale,
  :resource_type,
  :allocation_rules)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The resource type for which to modify the allocation rules.

The Amazon Web Services service or resource type that can use IP addresses through IPAM policies. Supported services and resource types include:

  • Elastic IP addresses

^

Returns:

  • (String)


63160
63161
63162
63163
63164
63165
63166
63167
63168
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 63160

class ModifyIpamPolicyAllocationRulesRequest < Struct.new(
  :dry_run,
  :ipam_policy_id,
  :locale,
  :resource_type,
  :allocation_rules)
  SENSITIVE = []
  include Aws::Structure
end