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, or default to associate no DHCP options with the VPC.

  • vpc_id (str) – The ID of the VPC.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcdhcpoptionsassociation.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import 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.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcdhcpoptionsassociation.html#cfn-ec2-vpcdhcpoptionsassociation-dhcpoptionsid

Return type

str

vpc_id

The ID of the VPC.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcdhcpoptionsassociation.html#cfn-ec2-vpcdhcpoptionsassociation-vpcid

Return type

str