interface ConnectionOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.ConnectionOptions |
Java | software.amazon.awscdk.services.glue.ConnectionOptions |
Python | aws_cdk.aws_glue.ConnectionOptions |
TypeScript (source) | @aws-cdk/aws-glue » ConnectionOptions |
Base Connection Options.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
import * as glue from '@aws-cdk/aws-glue';
declare const securityGroup: ec2.SecurityGroup;
declare const subnet: ec2.Subnet;
const connectionOptions: glue.ConnectionOptions = {
connectionName: 'connectionName',
description: 'description',
matchCriteria: ['matchCriteria'],
properties: {
propertiesKey: 'properties',
},
securityGroups: [securityGroup],
subnet: subnet,
};
Properties
Name | Type | Description |
---|---|---|
connection | string | The name of the connection. |
description? | string | The description of the connection. |
match | string[] | A list of criteria that can be used in selecting this connection. |
properties? | { [string]: string } | Key-Value pairs that define parameters for the connection. |
security | ISecurity [] | The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC. |
subnet? | ISubnet | The VPC subnet to connect to resources within a VPC. |
connectionName?
Type:
string
(optional, default: cloudformation generated name)
The name of the connection.
description?
Type:
string
(optional, default: no description)
The description of the connection.
matchCriteria?
Type:
string[]
(optional, default: no match criteria)
A list of criteria that can be used in selecting this connection.
This is useful for filtering the results of https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/get-connections.html
properties?
Type:
{ [string]: string }
(optional, default: empty properties)
Key-Value pairs that define parameters for the connection.
securityGroups?
Type:
ISecurity
[]
(optional, default: no security group)
The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC.
subnet?
Type:
ISubnet
(optional, default: no subnet)
The VPC subnet to connect to resources within a VPC.
See more at https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html.