We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
published on Monday, Sep 28, 2026 by Pulumi
Resource Type definition for a CIDR range reserved inside an Amazon EC2 subnet.
Using getSubnetCidrReservation
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 getSubnetCidrReservation(args: GetSubnetCidrReservationArgs, opts?: InvokeOptions): Promise<GetSubnetCidrReservationResult>
function getSubnetCidrReservationOutput(args: GetSubnetCidrReservationOutputArgs, opts?: InvokeOutputOptions): Output<GetSubnetCidrReservationResult>def get_subnet_cidr_reservation(subnet_cidr_reservation_id: Optional[str] = None,
subnet_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSubnetCidrReservationResult
def get_subnet_cidr_reservation_output(subnet_cidr_reservation_id: pulumi.Input[Optional[str]] = None,
subnet_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSubnetCidrReservationResult]func LookupSubnetCidrReservation(ctx *Context, args *LookupSubnetCidrReservationArgs, opts ...InvokeOption) (*LookupSubnetCidrReservationResult, error)
func LookupSubnetCidrReservationOutput(ctx *Context, args *LookupSubnetCidrReservationOutputArgs, opts ...InvokeOption) LookupSubnetCidrReservationResultOutput> Note: This function is named LookupSubnetCidrReservation in the Go SDK.
public static class GetSubnetCidrReservation
{
public static Task<GetSubnetCidrReservationResult> InvokeAsync(GetSubnetCidrReservationArgs args, InvokeOptions? opts = null)
public static Output<GetSubnetCidrReservationResult> Invoke(GetSubnetCidrReservationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSubnetCidrReservationResult> Invoke(GetSubnetCidrReservationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSubnetCidrReservationResult> getSubnetCidrReservation(GetSubnetCidrReservationArgs args, InvokeOptions options)
public static Output<GetSubnetCidrReservationResult> getSubnetCidrReservation(GetSubnetCidrReservationArgs args, InvokeOptions options)
public static Output<GetSubnetCidrReservationResult> getSubnetCidrReservation(GetSubnetCidrReservationArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:ec2:getSubnetCidrReservation
arguments:
# arguments dictionarydata "aws-native_ec2_get_subnet_cidr_reservation" "name" {
# arguments
}The following arguments are supported:
- Subnet
Cidr stringReservation Id - The identifier of the subnet CIDR reservation.
- Subnet
Id string - The identifier of the subnet the CIDR range is reserved in.
- Subnet
Cidr stringReservation Id - The identifier of the subnet CIDR reservation.
- Subnet
Id string - The identifier of the subnet the CIDR range is reserved in.
- subnet_
cidr_ stringreservation_ id - The identifier of the subnet CIDR reservation.
- subnet_
id string - The identifier of the subnet the CIDR range is reserved in.
- subnet
Cidr StringReservation Id - The identifier of the subnet CIDR reservation.
- subnet
Id String - The identifier of the subnet the CIDR range is reserved in.
- subnet
Cidr stringReservation Id - The identifier of the subnet CIDR reservation.
- subnet
Id string - The identifier of the subnet the CIDR range is reserved in.
- subnet_
cidr_ strreservation_ id - The identifier of the subnet CIDR reservation.
- subnet_
id str - The identifier of the subnet the CIDR range is reserved in.
- subnet
Cidr StringReservation Id - The identifier of the subnet CIDR reservation.
- subnet
Id String - The identifier of the subnet the CIDR range is reserved in.
getSubnetCidrReservation Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the subnet CIDR reservation.
- Owner
Id string - The identifier of the AWS account that owns the subnet CIDR reservation.
- Subnet
Cidr stringReservation Id - The identifier of the subnet CIDR reservation.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags assigned to the subnet CIDR reservation.
- Arn string
- The Amazon Resource Name (ARN) of the subnet CIDR reservation.
- Owner
Id string - The identifier of the AWS account that owns the subnet CIDR reservation.
- Subnet
Cidr stringReservation Id - The identifier of the subnet CIDR reservation.
- Tag
- The tags assigned to the subnet CIDR reservation.
- arn string
- The Amazon Resource Name (ARN) of the subnet CIDR reservation.
- owner_
id string - The identifier of the AWS account that owns the subnet CIDR reservation.
- subnet_
cidr_ stringreservation_ id - The identifier of the subnet CIDR reservation.
- list(object)
- The tags assigned to the subnet CIDR reservation.
- arn String
- The Amazon Resource Name (ARN) of the subnet CIDR reservation.
- owner
Id String - The identifier of the AWS account that owns the subnet CIDR reservation.
- subnet
Cidr StringReservation Id - The identifier of the subnet CIDR reservation.
- List<Tag>
- The tags assigned to the subnet CIDR reservation.
- arn string
- The Amazon Resource Name (ARN) of the subnet CIDR reservation.
- owner
Id string - The identifier of the AWS account that owns the subnet CIDR reservation.
- subnet
Cidr stringReservation Id - The identifier of the subnet CIDR reservation.
- Tag[]
- The tags assigned to the subnet CIDR reservation.
- arn str
- The Amazon Resource Name (ARN) of the subnet CIDR reservation.
- owner_
id str - The identifier of the AWS account that owns the subnet CIDR reservation.
- subnet_
cidr_ strreservation_ id - The identifier of the subnet CIDR reservation.
- Sequence[root_Tag]
- The tags assigned to the subnet CIDR reservation.
- arn String
- The Amazon Resource Name (ARN) of the subnet CIDR reservation.
- owner
Id String - The identifier of the AWS account that owns the subnet CIDR reservation.
- subnet
Cidr StringReservation Id - The identifier of the subnet CIDR reservation.
- List<Property Map>
- The tags assigned to the subnet CIDR reservation.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
published on Monday, Sep 28, 2026 by Pulumi