We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aec8ec2 commit 4d2fbe9Copy full SHA for 4d2fbe9
packages/@aws-cdk/aws-ec2/lib/vpc-endpoint.ts
@@ -372,7 +372,7 @@ export class InterfaceVpcEndpoint extends VpcEndpoint implements IInterfaceVpcEn
372
const subnetIds = subnets.subnetIds;
373
374
const endpoint = new CfnVPCEndpoint(this, 'Resource', {
375
- privateDnsEnabled: props.privateDnsEnabled || true,
+ privateDnsEnabled: props.privateDnsEnabled !== undefined ? props.privateDnsEnabled : true,
376
policyDocument: new Token(() => this.policyDocument),
377
securityGroupIds: [this.securityGroupId],
378
serviceName: props.service.name,
0 commit comments