CfnVpcEndpointAssociationProps Struct
Properties for defining a CfnVpcEndpointAssociation.
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 cfnVpcEndpointAssociationProps: networkfirewall.CfnVpcEndpointAssociationProps = {
firewallArn: 'firewallArn',
subnetMapping: {
subnetId: 'subnetId',
// the properties below are optional
ipAddressType: 'ipAddressType',
},
vpcId: 'vpcId',
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#A description of the VPC endpoint association.
The Amazon Resource Name (ARN) of the firewall.
subnetMappingIResolvable | CfnVpcEndpointAssociation.SubnetMappingPropertysubnet_mappingtyping.Union[IResolvable, SubnetMappingProperty]subnetMappingIResolvableSubnetMappingIResolvableSubnetMappinginterface{}required#The ID for a subnet that's used in an association with a firewall.
notes
This is used in CreateFirewall , AssociateSubnets , and CreateVpcEndpointAssociation . AWS Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#The key:value pairs to associate with the resource.
The unique identifier of the VPC for the endpoint association.