Class CfnVpcEndpointAssociationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnVpcEndpointAssociationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcEndpointAssociationPropsMixin>
- Enclosing class:
CfnVpcEndpointAssociationPropsMixin
@Stability(Stable)
public static final class CfnVpcEndpointAssociationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcEndpointAssociationPropsMixin>
A fluent builder for
CfnVpcEndpointAssociationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) A description of the VPC endpoint association.firewallArn(String firewallArn) The Amazon Resource Name (ARN) of the firewall.The ID for a subnet that's used in an association with a firewall.subnetMapping(IResolvable subnetMapping) The ID for a subnet that's used in an association with a firewall.The key:value pairs to associate with the resource.The unique identifier of the VPC for the endpoint association.
-
Method Details
-
create
@Stability(Stable) public static CfnVpcEndpointAssociationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVpcEndpointAssociationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVpcEndpointAssociationPropsMixin.Builder.
-
description
@Stability(Stable) public CfnVpcEndpointAssociationPropsMixin.Builder description(String description) A description of the VPC endpoint association.- Parameters:
description- A description of the VPC endpoint association. This parameter is required.- Returns:
this- See Also:
-
firewallArn
@Stability(Stable) public CfnVpcEndpointAssociationPropsMixin.Builder firewallArn(String firewallArn) The Amazon Resource Name (ARN) of the firewall.- Parameters:
firewallArn- The Amazon Resource Name (ARN) of the firewall. This parameter is required.- Returns:
this- See Also:
-
subnetMapping
@Stability(Stable) public CfnVpcEndpointAssociationPropsMixin.Builder subnetMapping(IResolvable subnetMapping) 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.- Parameters:
subnetMapping- The ID for a subnet that's used in an association with a firewall. This parameter is required.- Returns:
this- See Also:
-
subnetMapping
@Stability(Stable) public CfnVpcEndpointAssociationPropsMixin.Builder subnetMapping(CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty subnetMapping) 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.- Parameters:
subnetMapping- The ID for a subnet that's used in an association with a firewall. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnVpcEndpointAssociationPropsMixin.Builder tags(List<? extends CfnTag> tags) The key:value pairs to associate with the resource.- Parameters:
tags- The key:value pairs to associate with the resource. This parameter is required.- Returns:
this- See Also:
-
vpcId
The unique identifier of the VPC for the endpoint association.- Parameters:
vpcId- The unique identifier of the VPC for the endpoint association. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcEndpointAssociationPropsMixin>- Returns:
- a newly built instance of
CfnVpcEndpointAssociationPropsMixin.
-