| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Associates a set of DHCP options (that you've previously created) with the specified VPC.
{
"Type" : "AWS::EC2::VPCDHCPOptionsAssociation",
"Properties" : {
"DhcpOptionsId" : String,
"VpcId" : String
}
} When the logical ID of this resource is provided to the Ref intrinsic
function, it returns the resource name.
For more information about using the Ref function, see Ref.
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Resources" : {
"myVPCDHCPOptionsAssociation" : {
"Type" : "AWS::EC2::VPCDHCPOptionsAssociation",
"Properties" : {
"VpcId" : {"Ref" : "myNetworkAcl"},
"DhcpOptionsId" : {"Ref" : "myDhcpOption"},
}
}
}
} AssociateDhcpOptions in the Amazon Elastic Compute Cloud API Reference.