CfnVPCDHCPOptionsAssociationProps

class aws_cdk.aws_ec2.CfnVPCDHCPOptionsAssociationProps(*, dhcp_options_id, vpc_id)

Bases: object

Properties for defining a AWS::EC2::VPCDHCPOptionsAssociation.

Parameters
  • dhcp_options_id (str) – AWS::EC2::VPCDHCPOptionsAssociation.DhcpOptionsId.

  • vpc_id (str) – AWS::EC2::VPCDHCPOptionsAssociation.VpcId.

Link

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

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

AWS::EC2::VPCDHCPOptionsAssociation.DhcpOptionsId.

Link

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

Return type

str

vpc_id

AWS::EC2::VPCDHCPOptionsAssociation.VpcId.

Link

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

Return type

str