Show / Hide Table of Contents

Class DefaultVpcDhcpOptions

Provides a resource to manage the default AWS DHCP Options Set in the current region.

Each AWS region comes with a default set of DHCP options. This is an advanced resource, and has special caveats to be aware of when using it. Please read this document in its entirety before using this resource.

The aws.ec2.DefaultVpcDhcpOptions behaves differently from normal resources, in that this provider does not create this resource, but instead "adopts" it into management.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var @default = new Aws.Ec2.DefaultVpcDhcpOptions("default", new Aws.Ec2.DefaultVpcDhcpOptionsArgs
    {
        Tags = 
        {
            { "Name", "Default DHCP Option Set" },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
DefaultVpcDhcpOptions
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public class DefaultVpcDhcpOptions : CustomResource

Constructors

View Source

DefaultVpcDhcpOptions(String, DefaultVpcDhcpOptionsArgs, CustomResourceOptions)

Create a DefaultVpcDhcpOptions resource with the given unique name, arguments, and options.

Declaration
public DefaultVpcDhcpOptions(string name, DefaultVpcDhcpOptionsArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

DefaultVpcDhcpOptionsArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

DomainName

Declaration
public Output<string> DomainName { get; }
Property Value
Type Description
Output<System.String>
View Source

DomainNameServers

Declaration
public Output<string> DomainNameServers { get; }
Property Value
Type Description
Output<System.String>
View Source

NetbiosNameServers

List of NETBIOS name servers.

Declaration
public Output<ImmutableArray<string>> NetbiosNameServers { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

NetbiosNodeType

The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see RFC 2132.

Declaration
public Output<string> NetbiosNodeType { get; }
Property Value
Type Description
Output<System.String>
View Source

NtpServers

Declaration
public Output<string> NtpServers { get; }
Property Value
Type Description
Output<System.String>
View Source

OwnerId

The ID of the AWS account that owns the DHCP options set.

Declaration
public Output<string> OwnerId { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A map of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

Get(String, Input<String>, DefaultVpcDhcpOptionsState, CustomResourceOptions)

Get an existing DefaultVpcDhcpOptions resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static DefaultVpcDhcpOptions Get(string name, Input<string> id, DefaultVpcDhcpOptionsState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

DefaultVpcDhcpOptionsState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
DefaultVpcDhcpOptions
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.