aws-cdk-lib.aws_glue.CfnConnectionProps

interface CfnConnectionProps

LanguageType name
.NETAmazon.CDK.AWS.Glue.CfnConnectionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnConnectionProps
Javasoftware.amazon.awscdk.services.glue.CfnConnectionProps
Pythonaws_cdk.aws_glue.CfnConnectionProps
TypeScript aws-cdk-lib » aws_glue » CfnConnectionProps

Properties for defining a CfnConnection.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';

declare const connectionProperties: any;
const cfnConnectionProps: glue.CfnConnectionProps = {
  catalogId: 'catalogId',
  connectionInput: {
    connectionType: 'connectionType',

    // the properties below are optional
    connectionProperties: connectionProperties,
    description: 'description',
    matchCriteria: ['matchCriteria'],
    name: 'name',
    physicalConnectionRequirements: {
      availabilityZone: 'availabilityZone',
      securityGroupIdList: ['securityGroupIdList'],
      subnetId: 'subnetId',
    },
  },
};

Properties

NameTypeDescription
catalogIdstringThe ID of the data catalog to create the catalog object in.
connectionInputIResolvable | ConnectionInputPropertyThe connection that you want to create.

catalogId

Type: string

The ID of the data catalog to create the catalog object in.

Currently, this should be the AWS account ID.

To specify the account ID, you can use the Ref intrinsic function with the AWS::AccountId pseudo parameter. For example: !Ref AWS::AccountId .


connectionInput

Type: IResolvable | ConnectionInputProperty

The connection that you want to create.