Class CfnNetworkConnector
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.lambda.CfnNetworkConnector
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,INetworkConnectorRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)",
date="2026-07-02T13:32:41.778Z")
@Stability(Stable)
public class CfnNetworkConnector
extends CfnResource
implements IInspectable, INetworkConnectorRef, ITaggableV2
Resource Type definition for AWS::Lambda::NetworkConnector.
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.lambda.*;
CfnNetworkConnector cfnNetworkConnector = CfnNetworkConnector.Builder.create(this, "MyCfnNetworkConnector")
.configuration(ConfigProperty.builder()
.vpcEgressConfiguration(VpcEgressConfigurationProperty.builder()
.associatedComputeResourceTypes(List.of("associatedComputeResourceTypes"))
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.networkProtocol("networkProtocol")
.securityGroupIds(List.of("securityGroupIds"))
.build())
.build())
// the properties below are optional
.name("name")
.operatorRole("operatorRole")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnNetworkConnector.static interfaceThe network configuration for the connector.static interfaceThe VPC egress configuration for the network connector.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.lambda.INetworkConnectorRef
INetworkConnectorRef.Jsii$Default, INetworkConnectorRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnNetworkConnector(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnNetworkConnector(software.amazon.jsii.JsiiObjectRef objRef) CfnNetworkConnector(software.constructs.Construct scope, String id, CfnNetworkConnectorProps props) Create a newAWS::Lambda::NetworkConnector. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForNetworkConnector(INetworkConnectorRef resource) The Amazon Resource Name (ARN) of the network connector.The current state of the network connector.Tag Manager which manages the tags for this resource.The network configuration for the connector.getName()A unique name for the network connector within your account and Region.A reference to a NetworkConnector resource.The ARN of the IAM role that Lambda assumes to manage elastic network interfaces in your VPC.getTags()A list of tags to apply to the network connector.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnNetworkConnector.renderProperties(Map<String, Object> props) voidsetConfiguration(IResolvable value) The network configuration for the connector.voidThe network configuration for the connector.voidA unique name for the network connector within your account and Region.voidsetOperatorRole(String value) The ARN of the IAM role that Lambda assumes to manage elastic network interfaces in your VPC.voidA list of tags to apply to the network connector.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnNetworkConnector
protected CfnNetworkConnector(software.amazon.jsii.JsiiObjectRef objRef) -
CfnNetworkConnector
protected CfnNetworkConnector(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnNetworkConnector
@Stability(Stable) public CfnNetworkConnector(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNetworkConnectorProps props) Create a newAWS::Lambda::NetworkConnector.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForNetworkConnector
@Stability(Stable) @NotNull public static String arnForNetworkConnector(@NotNull INetworkConnectorRef resource) - Parameters:
resource- This parameter is required.
-
isCfnNetworkConnector
Checks whether the given object is a CfnNetworkConnector.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the network connector. -
getAttrState
The current state of the network connector. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getNetworkConnectorRef
A reference to a NetworkConnector resource.- Specified by:
getNetworkConnectorRefin interfaceINetworkConnectorRef
-
getConfiguration
The network configuration for the connector.Returns union: either
IResolvableorCfnNetworkConnector.ConfigProperty -
setConfiguration
The network configuration for the connector. -
setConfiguration
The network configuration for the connector. -
getName
A unique name for the network connector within your account and Region. -
setName
A unique name for the network connector within your account and Region. -
getOperatorRole
The ARN of the IAM role that Lambda assumes to manage elastic network interfaces in your VPC. -
setOperatorRole
The ARN of the IAM role that Lambda assumes to manage elastic network interfaces in your VPC. -
getTags
A list of tags to apply to the network connector. -
setTags
A list of tags to apply to the network connector.
-