We recommend new projects start with resources from the AWS provider.
aws-native.ec2.IpamPoolCidr
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 string
- The unique name of the resource.
- args IpamPoolCidrArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args IpamPoolCidrArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpamPoolCidrArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- Ipam
Pool stringId - Id of the IPAM Pool.
- Cidr string
- 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.
- Ipam
Pool stringId - Id of the IPAM Pool.
- Cidr string
- 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.
- ipam
Pool StringId - Id of the IPAM Pool.
- cidr String
- Represents a single IPv4 or IPv6 CIDR
- netmask
Length 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.
- ipam
Pool stringId - Id of the IPAM Pool.
- cidr string
- Represents a single IPv4 or IPv6 CIDR
- netmask
Length 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_ strid - 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.
- ipam
Pool StringId - Id of the IPAM Pool.
- cidr String
- Represents a single IPv4 or IPv6 CIDR
- netmask
Length 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.
- Ipam
Pool stringCidr Id - Id of the IPAM Pool Cidr.
- State string
- Provisioned state of the cidr.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipam
Pool stringCidr Id - Id of the IPAM Pool Cidr.
- State string
- Provisioned state of the cidr.
- id String
- The provider-assigned unique ID for this managed resource.
- ipam
Pool StringCidr Id - Id of the IPAM Pool Cidr.
- state String
- Provisioned state of the cidr.
- id string
- The provider-assigned unique ID for this managed resource.
- ipam
Pool stringCidr Id - 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_ strcidr_ id - Id of the IPAM Pool Cidr.
- state str
- Provisioned state of the cidr.
- id String
- The provider-assigned unique ID for this managed resource.
- ipam
Pool StringCidr Id - 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.