@aws-cdk_aws-glue-alpha.ConnectionOptions

interface ConnectionOptions ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Glue.Alpha.ConnectionOptions
Gogithub.com/aws/aws-cdk-go/awscdkgluealpha/v2#ConnectionOptions
Javasoftware.amazon.awscdk.services.glue.alpha.ConnectionOptions
Pythonaws_cdk.aws_glue_alpha.ConnectionOptions
TypeScript (source)@aws-cdk/aws-glue-alpha ยป 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 glue_alpha from '@aws-cdk/aws-glue-alpha';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';

declare const securityGroup: ec2.SecurityGroup;
declare const subnet: ec2.Subnet;
const connectionOptions: glue_alpha.ConnectionOptions = {
  connectionName: 'connectionName',
  description: 'description',
  matchCriteria: ['matchCriteria'],
  properties: {
    propertiesKey: 'properties',
  },
  securityGroups: [securityGroup],
  subnet: subnet,
};

Properties

NameTypeDescription
connectionName?๐Ÿ”นstringThe name of the connection.
description?๐Ÿ”นstringThe description of the connection.
matchCriteria?๐Ÿ”น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.
securityGroups?๐Ÿ”นISecurityGroup[]The list of security groups needed to successfully make this connection e.g. to successfully connect to VPC.
subnet?๐Ÿ”นISubnetThe 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.

See also: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect.html


securityGroups?๐Ÿ”น

Type: ISecurityGroup[] (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.