Interface CfnVpcEndpointAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVpcEndpointAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:42.576Z")
@Stability(Stable)
public interface CfnVpcEndpointAssociationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVpcEndpointAssociation.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkfirewall.*;
CfnVpcEndpointAssociationProps cfnVpcEndpointAssociationProps = CfnVpcEndpointAssociationProps.builder()
.firewallArn("firewallArn")
.subnetMapping(SubnetMappingProperty.builder()
.subnetId("subnetId")
// the properties below are optional
.ipAddressType("ipAddressType")
.build())
.vpcId("vpcId")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVpcEndpointAssociationPropsstatic final classAn implementation forCfnVpcEndpointAssociationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA description of the VPC endpoint association.The Amazon Resource Name (ARN) of the firewall.The ID for a subnet that's used in an association with a firewall.getTags()The key:value pairs to associate with the resource.getVpcId()The unique identifier of the VPC for the endpoint association.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFirewallArn
The Amazon Resource Name (ARN) of the firewall.- See Also:
-
getSubnetMapping
The ID for a subnet that's used in an association with a firewall.This is used in
CreateFirewall,AssociateSubnets, andCreateVpcEndpointAssociation. 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.Returns union: either
IResolvableorCfnVpcEndpointAssociation.SubnetMappingProperty- See Also:
-
getVpcId
The unique identifier of the VPC for the endpoint association.- See Also:
-
getDescription
A description of the VPC endpoint association.- See Also:
-
getTags
The key:value pairs to associate with the resource.- See Also:
-
builder
-