import * as core from "@terrascript/core"; export interface Ec2ManagedPrefixListEntryArgs extends core.ResourceArgs { /** * (Required) CIDR block of this entry. */ cidr: string | core.StringOut; /** * (Optional) Description of this entry. Due to API limitations, updating only the description of an en * try requires recreating the entry. */ description?: string | core.StringOut; /** * (Required) CIDR block of this entry. */ prefixListId: string | core.StringOut; } export class Ec2ManagedPrefixListEntry extends core.Resource { /** * (Required) CIDR block of this entry. */ @core.attr(String) public cidr!: string | core.StringOut; /** * (Optional) Description of this entry. Due to API limitations, updating only the description of an en * try requires recreating the entry. */ @core.attr(String) public description?: string | core.StringOut; /** * ID of the managed prefix list entry. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) CIDR block of this entry. */ @core.attr(String) public prefixListId!: string | core.StringOut; constructor(name: string, args?: Ec2ManagedPrefixListEntryArgs) { super(name, "aws_ec2_managed_prefix_list_entry", args); } public override getNamespace(): string { return "aws_vpc"; } }