import * as core from "@terrascript/core"; export interface OperatingRegionsArgs extends core.SchemaArgs { regionName: string | core.StringOut; } export class OperatingRegions extends core.Schema { @core.attr(String) public regionName!: string | core.StringOut; } export interface MainArgs extends core.ResourceArgs { /** * (Optional) Enables you to quickly delete an IPAM, private scopes, pools in private scopes, and any a * llocations in the pools in private scopes. */ cascade?: boolean | core.BooleanOut; /** * (Optional) A description for the IPAM. */ description?: string | core.StringOut; /** * (Required) Determines which locales can be chosen when you create pools. Locale is the Region where * you want to make an IPAM pool available for allocations. You can only create pools with locales that * match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches * the VPC's Region. You specify a region using the [region_name](#operating_regions) parameter. You ** * must** set your provider block region as an operating_region. */ operatingRegions: | core.Array | core.ArrayOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Main extends core.Resource { /** * Amazon Resource Name (ARN) of IPAM */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Enables you to quickly delete an IPAM, private scopes, pools in private scopes, and any a * llocations in the pools in private scopes. */ @core.attr(Boolean) public cascade?: boolean | core.BooleanOut; /** * (Optional) A description for the IPAM. */ @core.attr(String) public description?: string | core.StringOut; /** * The ID of the IPAM */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Determines which locales can be chosen when you create pools. Locale is the Region where * you want to make an IPAM pool available for allocations. You can only create pools with locales that * match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches * the VPC's Region. You specify a region using the [region_name](#operating_regions) parameter. You ** * must** set your provider block region as an operating_region. */ @core.attr(OperatingRegions, { kind: "array" }) public operatingRegions!: | core.Array | core.ArrayOut; /** * The ID of the IPAM's private scope. A scope is a top-level container in IPAM. Each scope represents * an IP-independent network. Scopes enable you to represent networks where you have overlapping IP spa * ce. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private * scope is intended for private IP space. The public scope is intended for all internet-routable IP sp * ace. */ @core.attr(String, { computed: true }) public privateDefaultScopeId!: string | core.StringOut; /** * The ID of the IPAM's public scope. A scope is a top-level container in IPAM. Each scope represents a * n IP-independent network. Scopes enable you to represent networks where you have overlapping IP spac * e. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private s * cope is intended for private */ @core.attr(String, { computed: true }) public publicDefaultScopeId!: string | core.StringOut; /** * The number of scopes in the IPAM. */ @core.attr(Number, { computed: true }) public scopeCount!: number | core.NumberOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: MainArgs) { super(name, "aws_vpc_ipam", args); } public override getNamespace(): string { return "aws_vpc_ipam"; } }