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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forConnectionProps
static final class
An implementation forConnectionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionProps.Builder
builder()
getType()
(experimental) The type of the connection.Methods inherited from interface software.amazon.awscdk.services.glue.ConnectionOptions
getConnectionName, getDescription, getMatchCriteria, getProperties, getSecurityGroups, getSubnet
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
(experimental) The type of the connection. -
builder
- Returns:
- a
ConnectionProps.Builder
ofConnectionProps
-