CfnVPCDHCPOptionsAssociationProps¶
-
class
aws_cdk.aws_ec2.
CfnVPCDHCPOptionsAssociationProps
(*, dhcp_options_id, vpc_id)¶ Bases:
object
Properties for defining a
CfnVPCDHCPOptionsAssociation
.- Parameters
dhcp_options_id (
str
) – The ID of the DHCP options set, ordefault
to associate no DHCP options with the VPC.vpc_id (
str
) – The ID of the VPC.
- Link
- ExampleMetadata
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ec2 as ec2 cfn_vPCDHCPOptions_association_props = ec2.CfnVPCDHCPOptionsAssociationProps( dhcp_options_id="dhcpOptionsId", vpc_id="vpcId" )
Attributes
-
dhcp_options_id
¶ The ID of the DHCP options set, or
default
to associate no DHCP options with the VPC.
-
vpc_id
¶ The ID of the VPC.