AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. You don't need to restart or relaunch the instances. They automatically pick up the changes within a few hours, depending on how frequently the instance renews its DHCP lease. You can explicitly renew the lease using the operating system on the instance.
For more information, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class AssociateDhcpOptionsRequest : AmazonEC2Request IRequestEvents
The AssociateDhcpOptionsRequest type exposes the following members
Name | Description | |
---|---|---|
AssociateDhcpOptionsRequest() | Empty constructor used to set properties independently even when a simple constructor is available | |
AssociateDhcpOptionsRequest(string) | Instantiates AssociateDhcpOptionsRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
DhcpOptionsId | System.String |
Gets and sets the property DhcpOptionsId.
The ID of the DHCP options set, or |
|
VpcId | System.String |
Gets and sets the property VpcId.
The ID of the VPC. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8