Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

AWS Native

v0.7.1 published on Tuesday, Nov 23, 2021 by Pulumi

cidr

Using cidr

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function cidr(args: CidrArgs, opts?: InvokeOptions): Promise<CidrResult>
function cidrOutput(args: CidrOutputArgs, opts?: InvokeOptions): Output<CidrResult>
def cidr(cidr_bits: Optional[int] = None,
         count: Optional[int] = None,
         ip_block: Optional[str] = None,
         opts: Optional[InvokeOptions] = None) -> CidrResult
def cidr_output(cidr_bits: Optional[pulumi.Input[int]] = None,
         count: Optional[pulumi.Input[int]] = None,
         ip_block: Optional[pulumi.Input[str]] = None,
         opts: Optional[InvokeOptions] = None) -> Output[CidrResult]
func Cidr(ctx *Context, args *CidrArgs, opts ...InvokeOption) (*CidrResult, error)
func CidrOutput(ctx *Context, args *CidrOutputArgs, opts ...InvokeOption) CidrResultOutput

> Note: This function is named Cidr in the Go SDK.

public static class Cidr 
{
    public static Task<CidrResult> InvokeAsync(CidrArgs args, InvokeOptions? opts = null)
    public static Output<CidrResult> Invoke(CidrInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

CidrBits int
Count int
IpBlock string
CidrBits int
Count int
IpBlock string
cidrBits number
count number
ipBlock string

cidr Result

The following output properties are available:

Subnets List<string>
Subnets []string
subnets string[]
subnets Sequence[str]

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0