1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. IpamPoolCidr

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.ec2.IpamPoolCidr

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Schema of AWS::EC2::IPAMPoolCidr Type

Create IpamPoolCidr Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IpamPoolCidr(name: string, args: IpamPoolCidrArgs, opts?: CustomResourceOptions);
@overload
def IpamPoolCidr(resource_name: str,
                 args: IpamPoolCidrArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def IpamPoolCidr(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 ipam_pool_id: Optional[str] = None,
                 cidr: Optional[str] = None,
                 netmask_length: Optional[int] = None)
func NewIpamPoolCidr(ctx *Context, name string, args IpamPoolCidrArgs, opts ...ResourceOption) (*IpamPoolCidr, error)
public IpamPoolCidr(string name, IpamPoolCidrArgs args, CustomResourceOptions? opts = null)
public IpamPoolCidr(String name, IpamPoolCidrArgs args)
public IpamPoolCidr(String name, IpamPoolCidrArgs args, CustomResourceOptions options)
type: aws-native:ec2:IpamPoolCidr
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IpamPoolCidrArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IpamPoolCidrArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IpamPoolCidrArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IpamPoolCidrArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IpamPoolCidrArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

IpamPoolCidr Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IpamPoolCidr resource accepts the following input properties:

IpamPoolId This property is required. string
Id of the IPAM Pool.
Cidr string
Represents a single IPv4 or IPv6 CIDR
NetmaskLength int
The desired netmask length of the provision. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.
IpamPoolId This property is required. string
Id of the IPAM Pool.
Cidr string
Represents a single IPv4 or IPv6 CIDR
NetmaskLength int
The desired netmask length of the provision. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.
ipamPoolId This property is required. String
Id of the IPAM Pool.
cidr String
Represents a single IPv4 or IPv6 CIDR
netmaskLength Integer
The desired netmask length of the provision. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.
ipamPoolId This property is required. string
Id of the IPAM Pool.
cidr string
Represents a single IPv4 or IPv6 CIDR
netmaskLength number
The desired netmask length of the provision. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.
ipam_pool_id This property is required. str
Id of the IPAM Pool.
cidr str
Represents a single IPv4 or IPv6 CIDR
netmask_length int
The desired netmask length of the provision. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.
ipamPoolId This property is required. String
Id of the IPAM Pool.
cidr String
Represents a single IPv4 or IPv6 CIDR
netmaskLength Number
The desired netmask length of the provision. If set, IPAM will choose a block of free space with this size and return the CIDR representing it.

Outputs

All input properties are implicitly available as output properties. Additionally, the IpamPoolCidr resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
IpamPoolCidrId string
Id of the IPAM Pool Cidr.
State string
Provisioned state of the cidr.
Id string
The provider-assigned unique ID for this managed resource.
IpamPoolCidrId string
Id of the IPAM Pool Cidr.
State string
Provisioned state of the cidr.
id String
The provider-assigned unique ID for this managed resource.
ipamPoolCidrId String
Id of the IPAM Pool Cidr.
state String
Provisioned state of the cidr.
id string
The provider-assigned unique ID for this managed resource.
ipamPoolCidrId string
Id of the IPAM Pool Cidr.
state string
Provisioned state of the cidr.
id str
The provider-assigned unique ID for this managed resource.
ipam_pool_cidr_id str
Id of the IPAM Pool Cidr.
state str
Provisioned state of the cidr.
id String
The provider-assigned unique ID for this managed resource.
ipamPoolCidrId String
Id of the IPAM Pool Cidr.
state String
Provisioned state of the cidr.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi