@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:07.705Z") @Stability(value=Experimental) public interface ConnectionOptions extends software.amazon.jsii.JsiiSerializable
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.ec2.*;
import software.amazon.awscdk.services.glue.*;
SecurityGroup securityGroup;
Subnet subnet;
ConnectionOptions connectionOptions = ConnectionOptions.builder()
.connectionName("connectionName")
.description("description")
.matchCriteria(List.of("matchCriteria"))
.properties(Map.of(
"propertiesKey", "properties"))
.securityGroups(List.of(securityGroup))
.subnet(subnet)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ConnectionOptions.Builder
A builder for
ConnectionOptions |
static class |
ConnectionOptions.Jsii$Proxy
An implementation for
ConnectionOptions |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionOptions.Builder |
builder() |
default String |
getConnectionName()
(experimental) The name of the connection.
|
default String |
getDescription()
(experimental) The description of the connection.
|
default List<String> |
getMatchCriteria()
(experimental) A list of criteria that can be used in selecting this connection.
|
default Map<String,String> |
getProperties()
(experimental) Key-Value pairs that define parameters for the connection.
|
default List<ISecurityGroup> |
getSecurityGroups()
(experimental) The list of security groups needed to successfully make this connection e.g.
|
default ISubnet |
getSubnet()
(experimental) The VPC subnet to connect to resources within a VPC.
|
@Stability(value=Experimental) @Nullable default String getConnectionName()
Default: cloudformation generated name
@Stability(value=Experimental) @Nullable default String getDescription()
Default: no description
@Stability(value=Experimental) @Nullable default List<String> getMatchCriteria()
This is useful for filtering the results of https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/get-connections.html
Default: no match criteria
@Stability(value=Experimental) @Nullable default Map<String,String> getProperties()
Default: empty properties
@Stability(value=Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
Default: no security group
@Stability(value=Experimental) @Nullable default ISubnet getSubnet()
See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html.
Default: no subnet
@Stability(value=Experimental) static ConnectionOptions.Builder builder()
ConnectionOptions.Builder of ConnectionOptionsCopyright © 2022. All rights reserved.