class CfnConnectionPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DataZone.Mixins.CfnConnectionPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdatazone/mixins#CfnConnectionPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.datazone.mixins.CfnConnectionPropsMixin |
Python | aws_cdk.mixins_preview.aws_datazone.mixins.CfnConnectionPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_datazone » mixins » CfnConnectionPropsMixin |
Implements
IMixin
Extends
Mixin
In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as datazone_mixins } from '@aws-cdk/mixins-preview/aws-datazone';
const cfnConnectionPropsMixin = new datazone_mixins.CfnConnectionPropsMixin({
awsLocation: {
accessRole: 'accessRole',
awsAccountId: 'awsAccountId',
awsRegion: 'awsRegion',
iamConnectionId: 'iamConnectionId',
},
description: 'description',
domainIdentifier: 'domainIdentifier',
enableTrustedIdentityPropagation: false,
environmentIdentifier: 'environmentIdentifier',
name: 'name',
projectIdentifier: 'projectIdentifier',
props: {
amazonQProperties: {
authMode: 'authMode',
isEnabled: false,
profileArn: 'profileArn',
},
athenaProperties: {
workgroupName: 'workgroupName',
},
glueProperties: {
glueConnectionInput: {
athenaProperties: {
athenaPropertiesKey: 'athenaProperties',
},
authenticationConfiguration: {
authenticationType: 'authenticationType',
basicAuthenticationCredentials: {
password: 'password',
userName: 'userName',
},
customAuthenticationCredentials: {
customAuthenticationCredentialsKey: '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: {
tokenUrlParametersMapKey: 'tokenUrlParametersMap',
},
},
secretArn: 'secretArn',
},
connectionProperties: {
connectionPropertiesKey: 'connectionProperties',
},
connectionType: 'connectionType',
description: 'description',
matchCriteria: 'matchCriteria',
name: 'name',
physicalConnectionRequirements: {
availabilityZone: 'availabilityZone',
securityGroupIdList: ['securityGroupIdList'],
subnetId: 'subnetId',
subnetIdList: ['subnetIdList'],
},
pythonProperties: {
pythonPropertiesKey: 'pythonProperties',
},
sparkProperties: {
sparkPropertiesKey: 'sparkProperties',
},
validateCredentials: false,
validateForComputeEnvironments: ['validateForComputeEnvironments'],
},
},
hyperPodProperties: {
clusterName: 'clusterName',
},
iamProperties: {
glueLineageSyncEnabled: false,
},
mlflowProperties: {
trackingServerArn: 'trackingServerArn',
},
redshiftProperties: {
credentials: {
secretArn: 'secretArn',
usernamePassword: {
password: 'password',
username: 'username',
},
},
databaseName: 'databaseName',
host: 'host',
lineageSync: {
enabled: false,
schedule: {
schedule: 'schedule',
},
},
port: 123,
storage: {
clusterName: 'clusterName',
workgroupName: 'workgroupName',
},
},
s3Properties: {
s3AccessGrantLocationId: 's3AccessGrantLocationId',
s3Uri: 's3Uri',
},
sparkEmrProperties: {
computeArn: 'computeArn',
instanceProfileArn: 'instanceProfileArn',
javaVirtualEnv: 'javaVirtualEnv',
logUri: 'logUri',
managedEndpointArn: 'managedEndpointArn',
pythonVirtualEnv: 'pythonVirtualEnv',
runtimeRole: 'runtimeRole',
trustedCertificatesS3Uri: 'trustedCertificatesS3Uri',
},
sparkGlueProperties: {
additionalArgs: {
connection: 'connection',
},
glueConnectionName: 'glueConnectionName',
glueVersion: 'glueVersion',
idleTimeout: 123,
javaVirtualEnv: 'javaVirtualEnv',
numberOfWorkers: 123,
pythonVirtualEnv: 'pythonVirtualEnv',
workerType: 'workerType',
},
},
scope: 'scope',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnConnectionPropsMixin(props: CfnConnectionMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Connection Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::DataZone::Connection.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript