Skip to content
v2.274.0

CfnVPCDHCPOptionsAssociationProps Struct ​

Properties for defining a CfnVPCDHCPOptionsAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnVPCDHCPOptionsAssociationProps: ec2.CfnVPCDHCPOptionsAssociationProps = {
  dhcpOptionsId: 'dhcpOptionsId',
  vpcId: 'vpcId',
};

Properties ​

dhcpOptionsIdstring | IDHCPOptionsRefdhcp_options_idtyping.Union[str, IDHCPOptionsRef]dhcpOptionsIdStringDhcpOptionsIdstringDhcpOptionsIdinterface{}required#
The ID of the DHCP options set, or `default` to associate no DHCP options with the VPC.
vpcIdstring | IVPCRefvpc_idtyping.Union[str, IVPCRef]vpcIdStringVpcIdstringVpcIdinterface{}required#
The ID of the VPC.