Class CfnNetworkConnectorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnNetworkConnectorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkConnectorMixinProps>
- Enclosing interface:
CfnNetworkConnectorMixinProps
@Stability(Stable)
public static final class CfnNetworkConnectorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkConnectorMixinProps>
A builder for
CfnNetworkConnectorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(CfnNetworkConnectorPropsMixin.ConfigProperty configuration) Sets the value ofCfnNetworkConnectorMixinProps.getConfiguration()configuration(IResolvable configuration) Sets the value ofCfnNetworkConnectorMixinProps.getConfiguration()Sets the value ofCfnNetworkConnectorMixinProps.getName()operatorRole(String operatorRole) Sets the value ofCfnNetworkConnectorMixinProps.getOperatorRole()Sets the value ofCfnNetworkConnectorMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
@Stability(Stable) public CfnNetworkConnectorMixinProps.Builder configuration(IResolvable configuration) Sets the value ofCfnNetworkConnectorMixinProps.getConfiguration()- Parameters:
configuration- The network configuration for the connector. Specify a VpcEgressConfiguration to enable outbound traffic routing through your VPC.- Returns:
this
-
configuration
@Stability(Stable) public CfnNetworkConnectorMixinProps.Builder configuration(CfnNetworkConnectorPropsMixin.ConfigProperty configuration) Sets the value ofCfnNetworkConnectorMixinProps.getConfiguration()- Parameters:
configuration- The network configuration for the connector. Specify a VpcEgressConfiguration to enable outbound traffic routing through your VPC.- Returns:
this
-
name
Sets the value ofCfnNetworkConnectorMixinProps.getName()- Parameters:
name- A unique name for the network connector within your account and Region. Must be 1 to 64 alphanumeric characters, hyphens, or underscores.- Returns:
this
-
operatorRole
Sets the value ofCfnNetworkConnectorMixinProps.getOperatorRole()- Parameters:
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.- Returns:
this
-
tags
Sets the value ofCfnNetworkConnectorMixinProps.getTags()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkConnectorMixinProps>- Returns:
- a new instance of
CfnNetworkConnectorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-