Class CfnNetworkConnectorPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnNetworkConnectorPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkConnectorPropsMixin>
- Enclosing class:
CfnNetworkConnectorPropsMixin
@Stability(Stable)
public static final class CfnNetworkConnectorPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkConnectorPropsMixin>
A fluent builder for
CfnNetworkConnectorPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()configuration(CfnNetworkConnectorPropsMixin.ConfigProperty configuration) The network configuration for the connector.configuration(IResolvable configuration) The network configuration for the connector.create()create(CfnPropertyMixinOptions options) A unique name for the network connector within your account and Region.operatorRole(String operatorRole) The ARN of the IAM role that Lambda assumes to manage elastic network interfaces in your VPC.A list of tags to apply to the network connector.
-
Method Details
-
create
@Stability(Stable) public static CfnNetworkConnectorPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnNetworkConnectorPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnNetworkConnectorPropsMixin.Builder.
-
configuration
@Stability(Stable) public CfnNetworkConnectorPropsMixin.Builder configuration(IResolvable configuration) The network configuration for the connector.Specify a VpcEgressConfiguration to enable outbound traffic routing through your VPC.
- Parameters:
configuration- The network configuration for the connector. This parameter is required.- Returns:
this- See Also:
-
configuration
@Stability(Stable) public CfnNetworkConnectorPropsMixin.Builder configuration(CfnNetworkConnectorPropsMixin.ConfigProperty configuration) The network configuration for the connector.Specify a VpcEgressConfiguration to enable outbound traffic routing through your VPC.
- Parameters:
configuration- The network configuration for the connector. This parameter is required.- Returns:
this- See Also:
-
name
A unique name for the network connector within your account and Region.Must be 1 to 64 alphanumeric characters, hyphens, or underscores.
- Parameters:
name- A unique name for the network connector within your account and Region. This parameter is required.- Returns:
this- See Also:
-
operatorRole
The ARN of the IAM role that Lambda assumes to manage elastic network interfaces in your VPC.This role must have permissions for ec2:CreateNetworkInterface and related describe operations.
- Parameters:
operatorRole- The ARN of the IAM role that Lambda assumes to manage elastic network interfaces in your VPC. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags to apply to the network connector.Use tags to categorize network connectors for cost allocation, access control, or operational management.
- Parameters:
tags- A list of tags to apply to the network connector. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkConnectorPropsMixin>- Returns:
- a newly built instance of
CfnNetworkConnectorPropsMixin.
-