AssociateDhcpOptions#

Description#

Request to associate a set of DHCP options to an existing VPC. If DhcpOptionsId is set to default, the VPC will use a default set of options.

Request Parameters#

  • DhcpOptionsId — The ID of the set of DHCP options.

    • Valid values: <dopt-id> | default

  • VpcId — The ID of the VPC.

Response Elements#

  • requestId — The request ID

    • Type: String

  • returnTrue is returned if the request succeeds and an error otherwise.

    • Type: Boolean

Examples#

c2-ec2 AssociateDhcpOptions VpcId <vpc_id> DhcpOptionsId <dopt_id>