aws-native logo
AWS Native v0.54.0, Mar 21 23


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)
public static CompletableFuture<CidrResult> cidr(CidrArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
  function: aws-native:cidr
    # arguments dictionary

The following arguments are supported:

CidrBits int
Count int
IpBlock string
CidrBits int
Count int
IpBlock string
cidrBits Integer
count Integer
ipBlock String
cidrBits number
count number
ipBlock string
cidrBits Number
count Number
ipBlock String

cidr Result

The following output properties are available:

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

Package Details

AWS Native pulumi/pulumi-aws-native