Class: Aws::EC2::Types::DeleteIpamRequest

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

#cascadeBoolean

Enables you to quickly delete an IPAM, private scopes, pools in private scopes, and any allocations in the pools in private scopes. You cannot delete the IPAM with this option if there is a pool in your public scope. If you use this option, IPAM does the following:

  • Deallocates any CIDRs allocated to VPC resources (such as VPCs) in pools in private scopes.

    <note markdown=“1”> No VPC resources are deleted as a result of enabling this option. The CIDR associated with the resource will no longer be allocated from an IPAM pool, but the CIDR itself will remain unchanged.

    </note>
    
  • Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private scopes.

  • Deletes all IPAM pools in private scopes.

  • Deletes all non-default private scopes in the IPAM.

  • Deletes the default public and private scopes and the IPAM.

Returns:

  • (Boolean)


14234
14235
14236
14237
14238
14239
14240
# File 'lib/aws-sdk-ec2/types.rb', line 14234

class DeleteIpamRequest < Struct.new(
  :dry_run,
  :ipam_id,
  :cascade)
  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)


14234
14235
14236
14237
14238
14239
14240
# File 'lib/aws-sdk-ec2/types.rb', line 14234

class DeleteIpamRequest < Struct.new(
  :dry_run,
  :ipam_id,
  :cascade)
  SENSITIVE = []
  include Aws::Structure
end

#ipam_idString

The ID of the IPAM to delete.

Returns:

  • (String)


14234
14235
14236
14237
14238
14239
14240
# File 'lib/aws-sdk-ec2/types.rb', line 14234

class DeleteIpamRequest < Struct.new(
  :dry_run,
  :ipam_id,
  :cascade)
  SENSITIVE = []
  include Aws::Structure
end