import * as core from "@terrascript/core"; export interface Ec2SubnetCidrReservationArgs extends core.ResourceArgs { /** * (Required) The CIDR block for the reservation. */ cidrBlock: string | core.StringOut; /** * (Optional) A brief description of the reservation. */ description?: string | core.StringOut; /** * (Required) The type of reservation to create. Valid values: `explicit`, `prefix` */ reservationType: string | core.StringOut; /** * (Required) The ID of the subnet to create the reservation for. */ subnetId: string | core.StringOut; } export class Ec2SubnetCidrReservation extends core.Resource { /** * (Required) The CIDR block for the reservation. */ @core.attr(String) public cidrBlock!: string | core.StringOut; /** * (Optional) A brief description of the reservation. */ @core.attr(String) public description?: string | core.StringOut; /** * ID of the CIDR reservation. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * ID of the AWS account that owns this CIDR reservation. */ @core.attr(String, { computed: true }) public ownerId!: string | core.StringOut; /** * (Required) The type of reservation to create. Valid values: `explicit`, `prefix` */ @core.attr(String) public reservationType!: string | core.StringOut; /** * (Required) The ID of the subnet to create the reservation for. */ @core.attr(String) public subnetId!: string | core.StringOut; constructor(name: string, args?: Ec2SubnetCidrReservationArgs) { super(name, "aws_ec2_subnet_cidr_reservation", args); } public override getNamespace(): string { return "aws_vpc"; } }