import * as core from "@terrascript/core"; export interface CidrAuthorizationContextArgs extends core.SchemaArgs { message?: string | core.StringOut; signature?: string | core.StringOut; } export class CidrAuthorizationContext extends core.Schema { @core.attr(String) public message?: string | core.StringOut; @core.attr(String) public signature?: string | core.StringOut; } export interface PoolCidrArgs extends core.ResourceArgs { /** * (Optional) The CIDR you want to assign to the pool. */ cidr?: string | core.StringOut; /** * (Optional) A signed document that proves that you are authorized to bring the specified IP address r * ange to Amazon using BYOIP. This is not stored in the state file. See [cidr_authorization_context](# * cidr_authorization_context) for more information. */ cidrAuthorizationContext?: CidrAuthorizationContext; /** * (Required) The ID of the pool to which you want to assign a CIDR. */ ipamPoolId: string | core.StringOut; } export class PoolCidr extends core.Resource { /** * (Optional) The CIDR you want to assign to the pool. */ @core.attr(String, { computed: true }) public cidr?: string | core.StringOut; /** * (Optional) A signed document that proves that you are authorized to bring the specified IP address r * ange to Amazon using BYOIP. This is not stored in the state file. See [cidr_authorization_context](# * cidr_authorization_context) for more information. */ @core.attr(CidrAuthorizationContext) public cidrAuthorizationContext?: CidrAuthorizationContext; /** * The ID of the IPAM Pool Cidr concatenated with the IPAM Pool ID. */ @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; constructor(name: string, args?: PoolCidrArgs) { super(name, "aws_vpc_ipam_pool_cidr", args); } public override getNamespace(): string { return "aws_vpc_ipam"; } }