import * as core from "@terrascript/core"; export interface PreviewNextCidrArgs extends core.ResourceArgs { /** * (Optional) Exclude a particular CIDR range from being returned by the pool. */ disallowedCidrs?: core.Array | core.ArrayOut; /** * (Required) The ID of the pool to which you want to assign a CIDR. */ ipamPoolId: string | core.StringOut; /** * (Optional) The netmask length of the CIDR you would like to preview from the IPAM pool. */ netmaskLength?: number | core.NumberOut; } export class PreviewNextCidr extends core.Resource { /** * The previewed CIDR from the pool. */ @core.attr(String, { computed: true }) public cidr!: string | core.StringOut; /** * (Optional) Exclude a particular CIDR range from being returned by the pool. */ @core.attr(String, { kind: "array" }) public disallowedCidrs?: core.Array | core.ArrayOut; /** * The ID of the preview. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ID of the pool to which you want to assign a CIDR. */ @core.attr(String) public ipamPoolId!: string | core.StringOut; /** * (Optional) The netmask length of the CIDR you would like to preview from the IPAM pool. */ @core.attr(Number) public netmaskLength?: number | core.NumberOut; constructor(name: string, args?: PreviewNextCidrArgs) { super(name, "aws_vpc_ipam_preview_next_cidr", args); } public override getNamespace(): string { return "aws_vpc_ipam"; } }