import * as core from "@terrascript/core"; export interface DhcpOptionsArgs extends core.ResourceArgs { /** * (Optional) the suffix domain name to use by default when resolving non Fully Qualified Domain Names. * In other words, this is what ends up being the `search` value in the `/etc/resolv.conf` file. */ domainName?: string | core.StringOut; /** * (Optional) List of name servers to configure in `/etc/resolv.conf`. If you want to use the default A * WS nameservers you should set this to `AmazonProvidedDNS`. */ domainNameServers?: core.Array | core.ArrayOut; /** * (Optional) List of NETBIOS name servers. */ netbiosNameServers?: core.Array | core.ArrayOut; /** * (Optional) The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and mu * lticast are not supported in their network. For more information about these node types, see [RFC 21 * 32](http://www.ietf.org/rfc/rfc2132.txt). */ netbiosNodeType?: string | core.StringOut; /** * (Optional) List of NTP servers to configure. */ ntpServers?: 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 DhcpOptions extends core.Resource { /** * The ARN of the DHCP Options Set. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) the suffix domain name to use by default when resolving non Fully Qualified Domain Names. * In other words, this is what ends up being the `search` value in the `/etc/resolv.conf` file. */ @core.attr(String) public domainName?: string | core.StringOut; /** * (Optional) List of name servers to configure in `/etc/resolv.conf`. If you want to use the default A * WS nameservers you should set this to `AmazonProvidedDNS`. */ @core.attr(String, { kind: "array" }) public domainNameServers?: core.Array | core.ArrayOut; /** * The ID of the DHCP Options Set. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) List of NETBIOS name servers. */ @core.attr(String, { kind: "array" }) public netbiosNameServers?: | core.Array | core.ArrayOut; /** * (Optional) The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and mu * lticast are not supported in their network. For more information about these node types, see [RFC 21 * 32](http://www.ietf.org/rfc/rfc2132.txt). */ @core.attr(String) public netbiosNodeType?: string | core.StringOut; /** * (Optional) List of NTP servers to configure. */ @core.attr(String, { kind: "array" }) public ntpServers?: core.Array | core.ArrayOut; /** * The ID of the AWS account that owns the DHCP options set. */ @core.attr(String, { computed: true }) public ownerId!: string | core.StringOut; /** * (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?: DhcpOptionsArgs) { super(name, "aws_vpc_dhcp_options", args); } public override getNamespace(): string { return "aws_vpc"; } }