Interface ConnectionProps
- All Superinterfaces:
ConnectionOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.536Z")
@Stability(Experimental)
public interface ConnectionProps
extends software.amazon.jsii.JsiiSerializable, ConnectionOptions
(experimental) Construction properties for
Connection.
Example:
SecurityGroup securityGroup;
Subnet subnet;
Connection.Builder.create(this, "MyConnection")
.type(ConnectionType.NETWORK)
// The security groups granting AWS Glue inbound access to the data source within the VPC
.securityGroups(List.of(securityGroup))
// The VPC subnet which contains the data source
.subnet(subnet)
.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.ConnectionOptions
getConnectionName, getDescription, getMatchCriteria, getProperties, getSecurityGroups, getSubnetMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
(experimental) The type of the connection. -
builder
- Returns:
- a
ConnectionProps.BuilderofConnectionProps
-