Skip to content
v2.275.0

VpcEndpointProperty Struct Added in v2.275.0 ​

The VPC and subnets for a proxy-mode firewall's endpoint.

Provide this instead of the top-level VpcId and SubnetMappings when NoSourcePreservation is true.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const vpcEndpointProperty: networkfirewall.CfnFirewall.VpcEndpointProperty = {
  subnetMappings: [{
    subnetId: 'subnetId',

    // the properties below are optional
    ipAddressType: 'ipAddressType',
  }],
  vpcId: 'vpcId',
};

Properties ​

subnetMappingsoptionalIResolvable | IResolvable | CfnFirewall.SubnetMappingProperty[]subnet_mappingsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SubnetMappingProperty]]]subnetMappingsoptionalIResolvableSubnetMappingsoptionalIResolvableSubnetMappingsoptionalinterface{}#
vpcIdoptionalstringvpc_idoptionalstrvpcIdoptionalStringVpcIdoptionalstringVpcIdoptional*string#
The unique identifier of the VPC for the firewall endpoint.