aws-cdk-lib.aws_ec2.CfnVPCDHCPOptionsAssociationProps

interface CfnVPCDHCPOptionsAssociationProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnVPCDHCPOptionsAssociationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPCDHCPOptionsAssociationProps
Javasoftware.amazon.awscdk.services.ec2.CfnVPCDHCPOptionsAssociationProps
Pythonaws_cdk.aws_ec2.CfnVPCDHCPOptionsAssociationProps
TypeScript aws-cdk-lib » aws_ec2 » CfnVPCDHCPOptionsAssociationProps

Properties for defining a CfnVPCDHCPOptionsAssociation.

Example

// 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

NameTypeDescription
dhcpOptionsIdstringThe ID of the DHCP options set, or default to associate no DHCP options with the VPC.
vpcIdstringThe ID of the VPC.

dhcpOptionsId

Type: string

The ID of the DHCP options set, or default to associate no DHCP options with the VPC.


vpcId

Type: string

The ID of the VPC.