interface CfnConnectionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnConnectionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnConnectionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnConnectionMixinProps |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnConnectionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnConnectionMixinProps |
Properties for CfnConnectionPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-connection.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
declare const athenaProperties: any;
declare const connectionProperties: any;
declare const customAuthenticationCredentials: any;
declare const pythonProperties: any;
declare const sparkProperties: any;
declare const tokenUrlParametersMap: any;
const cfnConnectionMixinProps: glue_mixins.CfnConnectionMixinProps = {
catalogId: 'catalogId',
connectionInput: {
athenaProperties: athenaProperties,
authenticationConfiguration: {
authenticationType: 'authenticationType',
basicAuthenticationCredentials: {
password: 'password',
username: 'username',
},
customAuthenticationCredentials: customAuthenticationCredentials,
kmsKeyArn: 'kmsKeyArn',
oAuth2Properties: {
authorizationCodeProperties: {
authorizationCode: 'authorizationCode',
redirectUri: 'redirectUri',
},
oAuth2ClientApplication: {
awsManagedClientApplicationReference: 'awsManagedClientApplicationReference',
userManagedClientApplicationClientId: 'userManagedClientApplicationClientId',
},
oAuth2Credentials: {
accessToken: 'accessToken',
jwtToken: 'jwtToken',
refreshToken: 'refreshToken',
userManagedClientApplicationClientSecret: 'userManagedClientApplicationClientSecret',
},
oAuth2GrantType: 'oAuth2GrantType',
tokenUrl: 'tokenUrl',
tokenUrlParametersMap: tokenUrlParametersMap,
},
secretArn: 'secretArn',
},
connectionProperties: connectionProperties,
connectionType: 'connectionType',
description: 'description',
matchCriteria: ['matchCriteria'],
name: 'name',
physicalConnectionRequirements: {
availabilityZone: 'availabilityZone',
securityGroupIdList: ['securityGroupIdList'],
subnetId: 'subnetId',
},
pythonProperties: pythonProperties,
sparkProperties: sparkProperties,
validateCredentials: false,
validateForComputeEnvironments: ['validateForComputeEnvironments'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| catalog | string | The ID of the data catalog to create the catalog object in. |
| connection | IResolvable | Connection | The connection that you want to create. |
catalogId?
Type:
string
(optional)
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
Refintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountId.
connectionInput?
Type:
IResolvable | Connection
(optional)
The connection that you want to create.

.NET
Go
Java
Python
TypeScript