interface CfnVPCDHCPOptionsAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVPCDHCPOptionsAssociationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPCDHCPOptionsAssociationProps |
Java | software.amazon.awscdk.services.ec2.CfnVPCDHCPOptionsAssociationProps |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| dhcp | string | IDHCPOptions | The ID of the DHCP options set, or default to associate no DHCP options with the VPC. |
| vpc | string | IVPCRef | The ID of the VPC. |
dhcpOptionsId
Type:
string | IDHCPOptions
The ID of the DHCP options set, or default to associate no DHCP options with the VPC.
vpcId
Type:
string | IVPCRef
The ID of the VPC.

.NET
Go
Java
Python
TypeScript