Associates a set of DHCP options (that you've previously created) with the specified VPC. Or, associates the default DHCP options with the VPC. The default set consists of the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type. After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. For more information about the supported DHCP options and using them with Amazon VPC, go to Using DHCP Options in the Amazon Virtual Private Cloud Developer Guide.
Inheritance Hierarchy
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class AssociateDhcpOptionsRequest : AmazonWebServiceRequest IRequestEvents
The AssociateDhcpOptionsRequest type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
AssociateDhcpOptionsRequest() |
Properties
Name | Description | |
---|---|---|
![]() |
DhcpOptionsId | The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC. |
![]() |
VpcId | The ID of the VPC to associate the DHCP options with. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8