Interface ConnectionProps
- All Superinterfaces:
ConnectionOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-08-27T15:24:50.069Z")
@Stability(Experimental)
public interface ConnectionProps
extends software.amazon.jsii.JsiiSerializable, ConnectionOptions
(experimental) Construction properties for
Connection.
Example:
SecurityGroup securityGroup;
Vpc vpc;
Connection.Builder.create(this, "MyConnection")
.type(ConnectionType.NETWORK)
.securityGroups(List.of(securityGroup))
.vpc(vpc)
// Optional - defaults to private subnets
.vpcSubnets(SubnetSelection.builder().subnetType(SubnetType.PRIVATE_WITH_EGRESS).build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forConnectionPropsstatic final classAn implementation forConnectionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionProps.Builderbuilder()getType()(experimental) The type of the connection.Methods inherited from interface software.amazon.awscdk.services.glue.alpha.ConnectionOptions
getConnectionName, getDescription, getMatchCriteria, getProperties, getSecret, getSecurityGroups, getSubnet, getVpc, getVpcSubnetsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
(experimental) The type of the connection. -
builder
- Returns:
- a
ConnectionProps.BuilderofConnectionProps
-