CfnConnectionProps Struct
Properties for defining a CfnConnection.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
declare const workflowsServerlessProperties: any;
const cfnConnectionProps: datazone.CfnConnectionProps = {
domainIdentifier: 'domainIdentifier',
name: 'name',
// the properties below are optional
awsLocation: {
accessRole: 'accessRole',
awsAccountId: 'awsAccountId',
awsRegion: 'awsRegion',
iamConnectionId: 'iamConnectionId',
},
configurations: [{
classification: 'classification',
properties: {
propertiesKey: 'properties',
},
}],
description: 'description',
enableTrustedIdentityPropagation: false,
environmentIdentifier: 'environmentIdentifier',
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,
roleArn: 'roleArn',
},
lakehouseProperties: {
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: {
s3Uri: 's3Uri',
// the properties below are optional
registerS3AccessGrantLocation: false,
s3AccessGrantLocationId: 's3AccessGrantLocationId',
},
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',
},
workflowsMwaaProperties: {
mwaaEnvironmentName: 'mwaaEnvironmentName',
},
workflowsServerlessProperties: workflowsServerlessProperties,
},
scope: 'scope',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_datazone as datazone
# workflows_serverless_properties: Any
cfn_connection_props = datazone.CfnConnectionProps(
domain_identifier="domainIdentifier",
name="name",
# the properties below are optional
aws_location=datazone.CfnConnection.AwsLocationProperty(
access_role="accessRole",
aws_account_id="awsAccountId",
aws_region="awsRegion",
iam_connection_id="iamConnectionId"
),
configurations=[datazone.CfnConnection.ConnectionConfigurationProperty(
classification="classification",
properties={
"properties_key": "properties"
}
)],
description="description",
enable_trusted_identity_propagation=False,
environment_identifier="environmentIdentifier",
project_identifier="projectIdentifier",
props=datazone.CfnConnection.ConnectionPropertiesInputProperty(
amazon_q_properties=datazone.CfnConnection.AmazonQPropertiesInputProperty(
auth_mode="authMode",
is_enabled=False,
profile_arn="profileArn"
),
athena_properties=datazone.CfnConnection.AthenaPropertiesInputProperty(
workgroup_name="workgroupName"
),
glue_properties=datazone.CfnConnection.GluePropertiesInputProperty(
glue_connection_input=datazone.CfnConnection.GlueConnectionInputProperty(
athena_properties={
"athena_properties_key": "athenaProperties"
},
authentication_configuration=datazone.CfnConnection.AuthenticationConfigurationInputProperty(
authentication_type="authenticationType",
basic_authentication_credentials=datazone.CfnConnection.BasicAuthenticationCredentialsProperty(
password="password",
user_name="userName"
),
custom_authentication_credentials={
"custom_authentication_credentials_key": "customAuthenticationCredentials"
},
kms_key_arn="kmsKeyArn",
o_auth2_properties=datazone.CfnConnection.OAuth2PropertiesProperty(
authorization_code_properties=datazone.CfnConnection.AuthorizationCodePropertiesProperty(
authorization_code="authorizationCode",
redirect_uri="redirectUri"
),
o_auth2_client_application=datazone.CfnConnection.OAuth2ClientApplicationProperty(
aws_managed_client_application_reference="awsManagedClientApplicationReference",
user_managed_client_application_client_id="userManagedClientApplicationClientId"
),
o_auth2_credentials=datazone.CfnConnection.GlueOAuth2CredentialsProperty(
access_token="accessToken",
jwt_token="jwtToken",
refresh_token="refreshToken",
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
),
o_auth2_grant_type="oAuth2GrantType",
token_url="tokenUrl",
token_url_parameters_map={
"token_url_parameters_map_key": "tokenUrlParametersMap"
}
),
secret_arn="secretArn"
),
connection_properties={
"connection_properties_key": "connectionProperties"
},
connection_type="connectionType",
description="description",
match_criteria="matchCriteria",
name="name",
physical_connection_requirements=datazone.CfnConnection.PhysicalConnectionRequirementsProperty(
availability_zone="availabilityZone",
security_group_id_list=["securityGroupIdList"],
subnet_id="subnetId",
subnet_id_list=["subnetIdList"]
),
python_properties={
"python_properties_key": "pythonProperties"
},
spark_properties={
"spark_properties_key": "sparkProperties"
},
validate_credentials=False,
validate_for_compute_environments=["validateForComputeEnvironments"]
)
),
hyper_pod_properties=datazone.CfnConnection.HyperPodPropertiesInputProperty(
cluster_name="clusterName"
),
iam_properties=datazone.CfnConnection.IamPropertiesInputProperty(
glue_lineage_sync_enabled=False,
role_arn="roleArn"
),
lakehouse_properties=datazone.CfnConnection.LakehousePropertiesInputProperty(
glue_lineage_sync_enabled=False
),
mlflow_properties=datazone.CfnConnection.MlflowPropertiesInputProperty(
tracking_server_arn="trackingServerArn"
),
redshift_properties=datazone.CfnConnection.RedshiftPropertiesInputProperty(
credentials=datazone.CfnConnection.RedshiftCredentialsProperty(
secret_arn="secretArn",
username_password=datazone.CfnConnection.UsernamePasswordProperty(
password="password",
username="username"
)
),
database_name="databaseName",
host="host",
lineage_sync=datazone.CfnConnection.RedshiftLineageSyncConfigurationInputProperty(
enabled=False,
schedule=datazone.CfnConnection.LineageSyncScheduleProperty(
schedule="schedule"
)
),
port=123,
storage=datazone.CfnConnection.RedshiftStoragePropertiesProperty(
cluster_name="clusterName",
workgroup_name="workgroupName"
)
),
s3_properties=datazone.CfnConnection.S3PropertiesInputProperty(
s3_uri="s3Uri",
# the properties below are optional
register_s3_access_grant_location=False,
s3_access_grant_location_id="s3AccessGrantLocationId"
),
spark_emr_properties=datazone.CfnConnection.SparkEmrPropertiesInputProperty(
compute_arn="computeArn",
instance_profile_arn="instanceProfileArn",
java_virtual_env="javaVirtualEnv",
log_uri="logUri",
managed_endpoint_arn="managedEndpointArn",
python_virtual_env="pythonVirtualEnv",
runtime_role="runtimeRole",
trusted_certificates_s3_uri="trustedCertificatesS3Uri"
),
spark_glue_properties=datazone.CfnConnection.SparkGluePropertiesInputProperty(
additional_args=datazone.CfnConnection.SparkGlueArgsProperty(
connection="connection"
),
glue_connection_name="glueConnectionName",
glue_version="glueVersion",
idle_timeout=123,
java_virtual_env="javaVirtualEnv",
number_of_workers=123,
python_virtual_env="pythonVirtualEnv",
worker_type="workerType"
),
workflows_mwaa_properties=datazone.CfnConnection.WorkflowsMwaaPropertiesInputProperty(
mwaa_environment_name="mwaaEnvironmentName"
),
workflows_serverless_properties=workflows_serverless_properties
),
scope="scope"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.datazone.*;
Object workflowsServerlessProperties;
CfnConnectionProps cfnConnectionProps = CfnConnectionProps.builder()
.domainIdentifier("domainIdentifier")
.name("name")
// the properties below are optional
.awsLocation(AwsLocationProperty.builder()
.accessRole("accessRole")
.awsAccountId("awsAccountId")
.awsRegion("awsRegion")
.iamConnectionId("iamConnectionId")
.build())
.configurations(List.of(ConnectionConfigurationProperty.builder()
.classification("classification")
.properties(Map.of(
"propertiesKey", "properties"))
.build()))
.description("description")
.enableTrustedIdentityPropagation(false)
.environmentIdentifier("environmentIdentifier")
.projectIdentifier("projectIdentifier")
.props(ConnectionPropertiesInputProperty.builder()
.amazonQProperties(AmazonQPropertiesInputProperty.builder()
.authMode("authMode")
.isEnabled(false)
.profileArn("profileArn")
.build())
.athenaProperties(AthenaPropertiesInputProperty.builder()
.workgroupName("workgroupName")
.build())
.glueProperties(GluePropertiesInputProperty.builder()
.glueConnectionInput(GlueConnectionInputProperty.builder()
.athenaProperties(Map.of(
"athenaPropertiesKey", "athenaProperties"))
.authenticationConfiguration(AuthenticationConfigurationInputProperty.builder()
.authenticationType("authenticationType")
.basicAuthenticationCredentials(BasicAuthenticationCredentialsProperty.builder()
.password("password")
.userName("userName")
.build())
.customAuthenticationCredentials(Map.of(
"customAuthenticationCredentialsKey", "customAuthenticationCredentials"))
.kmsKeyArn("kmsKeyArn")
.oAuth2Properties(OAuth2PropertiesProperty.builder()
.authorizationCodeProperties(AuthorizationCodePropertiesProperty.builder()
.authorizationCode("authorizationCode")
.redirectUri("redirectUri")
.build())
.oAuth2ClientApplication(OAuth2ClientApplicationProperty.builder()
.awsManagedClientApplicationReference("awsManagedClientApplicationReference")
.userManagedClientApplicationClientId("userManagedClientApplicationClientId")
.build())
.oAuth2Credentials(GlueOAuth2CredentialsProperty.builder()
.accessToken("accessToken")
.jwtToken("jwtToken")
.refreshToken("refreshToken")
.userManagedClientApplicationClientSecret("userManagedClientApplicationClientSecret")
.build())
.oAuth2GrantType("oAuth2GrantType")
.tokenUrl("tokenUrl")
.tokenUrlParametersMap(Map.of(
"tokenUrlParametersMapKey", "tokenUrlParametersMap"))
.build())
.secretArn("secretArn")
.build())
.connectionProperties(Map.of(
"connectionPropertiesKey", "connectionProperties"))
.connectionType("connectionType")
.description("description")
.matchCriteria("matchCriteria")
.name("name")
.physicalConnectionRequirements(PhysicalConnectionRequirementsProperty.builder()
.availabilityZone("availabilityZone")
.securityGroupIdList(List.of("securityGroupIdList"))
.subnetId("subnetId")
.subnetIdList(List.of("subnetIdList"))
.build())
.pythonProperties(Map.of(
"pythonPropertiesKey", "pythonProperties"))
.sparkProperties(Map.of(
"sparkPropertiesKey", "sparkProperties"))
.validateCredentials(false)
.validateForComputeEnvironments(List.of("validateForComputeEnvironments"))
.build())
.build())
.hyperPodProperties(HyperPodPropertiesInputProperty.builder()
.clusterName("clusterName")
.build())
.iamProperties(IamPropertiesInputProperty.builder()
.glueLineageSyncEnabled(false)
.roleArn("roleArn")
.build())
.lakehouseProperties(LakehousePropertiesInputProperty.builder()
.glueLineageSyncEnabled(false)
.build())
.mlflowProperties(MlflowPropertiesInputProperty.builder()
.trackingServerArn("trackingServerArn")
.build())
.redshiftProperties(RedshiftPropertiesInputProperty.builder()
.credentials(RedshiftCredentialsProperty.builder()
.secretArn("secretArn")
.usernamePassword(UsernamePasswordProperty.builder()
.password("password")
.username("username")
.build())
.build())
.databaseName("databaseName")
.host("host")
.lineageSync(RedshiftLineageSyncConfigurationInputProperty.builder()
.enabled(false)
.schedule(LineageSyncScheduleProperty.builder()
.schedule("schedule")
.build())
.build())
.port(123)
.storage(RedshiftStoragePropertiesProperty.builder()
.clusterName("clusterName")
.workgroupName("workgroupName")
.build())
.build())
.s3Properties(S3PropertiesInputProperty.builder()
.s3Uri("s3Uri")
// the properties below are optional
.registerS3AccessGrantLocation(false)
.s3AccessGrantLocationId("s3AccessGrantLocationId")
.build())
.sparkEmrProperties(SparkEmrPropertiesInputProperty.builder()
.computeArn("computeArn")
.instanceProfileArn("instanceProfileArn")
.javaVirtualEnv("javaVirtualEnv")
.logUri("logUri")
.managedEndpointArn("managedEndpointArn")
.pythonVirtualEnv("pythonVirtualEnv")
.runtimeRole("runtimeRole")
.trustedCertificatesS3Uri("trustedCertificatesS3Uri")
.build())
.sparkGlueProperties(SparkGluePropertiesInputProperty.builder()
.additionalArgs(SparkGlueArgsProperty.builder()
.connection("connection")
.build())
.glueConnectionName("glueConnectionName")
.glueVersion("glueVersion")
.idleTimeout(123)
.javaVirtualEnv("javaVirtualEnv")
.numberOfWorkers(123)
.pythonVirtualEnv("pythonVirtualEnv")
.workerType("workerType")
.build())
.workflowsMwaaProperties(WorkflowsMwaaPropertiesInputProperty.builder()
.mwaaEnvironmentName("mwaaEnvironmentName")
.build())
.workflowsServerlessProperties(workflowsServerlessProperties)
.build())
.scope("scope")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataZone;
var workflowsServerlessProperties;
var cfnConnectionProps = new CfnConnectionProps {
DomainIdentifier = "domainIdentifier",
Name = "name",
// the properties below are optional
AwsLocation = new AwsLocationProperty {
AccessRole = "accessRole",
AwsAccountId = "awsAccountId",
AwsRegion = "awsRegion",
IamConnectionId = "iamConnectionId"
},
Configurations = new [] { new ConnectionConfigurationProperty {
Classification = "classification",
Properties = new Dictionary<string, string> {
{ "propertiesKey", "properties" }
}
} },
Description = "description",
EnableTrustedIdentityPropagation = false,
EnvironmentIdentifier = "environmentIdentifier",
ProjectIdentifier = "projectIdentifier",
Props = new ConnectionPropertiesInputProperty {
AmazonQProperties = new AmazonQPropertiesInputProperty {
AuthMode = "authMode",
IsEnabled = false,
ProfileArn = "profileArn"
},
AthenaProperties = new AthenaPropertiesInputProperty {
WorkgroupName = "workgroupName"
},
GlueProperties = new GluePropertiesInputProperty {
GlueConnectionInput = new GlueConnectionInputProperty {
AthenaProperties = new Dictionary<string, string> {
{ "athenaPropertiesKey", "athenaProperties" }
},
AuthenticationConfiguration = new AuthenticationConfigurationInputProperty {
AuthenticationType = "authenticationType",
BasicAuthenticationCredentials = new BasicAuthenticationCredentialsProperty {
Password = "password",
UserName = "userName"
},
CustomAuthenticationCredentials = new Dictionary<string, string> {
{ "customAuthenticationCredentialsKey", "customAuthenticationCredentials" }
},
KmsKeyArn = "kmsKeyArn",
OAuth2Properties = new OAuth2PropertiesProperty {
AuthorizationCodeProperties = new AuthorizationCodePropertiesProperty {
AuthorizationCode = "authorizationCode",
RedirectUri = "redirectUri"
},
OAuth2ClientApplication = new OAuth2ClientApplicationProperty {
AwsManagedClientApplicationReference = "awsManagedClientApplicationReference",
UserManagedClientApplicationClientId = "userManagedClientApplicationClientId"
},
OAuth2Credentials = new GlueOAuth2CredentialsProperty {
AccessToken = "accessToken",
JwtToken = "jwtToken",
RefreshToken = "refreshToken",
UserManagedClientApplicationClientSecret = "userManagedClientApplicationClientSecret"
},
OAuth2GrantType = "oAuth2GrantType",
TokenUrl = "tokenUrl",
TokenUrlParametersMap = new Dictionary<string, string> {
{ "tokenUrlParametersMapKey", "tokenUrlParametersMap" }
}
},
SecretArn = "secretArn"
},
ConnectionProperties = new Dictionary<string, string> {
{ "connectionPropertiesKey", "connectionProperties" }
},
ConnectionType = "connectionType",
Description = "description",
MatchCriteria = "matchCriteria",
Name = "name",
PhysicalConnectionRequirements = new PhysicalConnectionRequirementsProperty {
AvailabilityZone = "availabilityZone",
SecurityGroupIdList = new [] { "securityGroupIdList" },
SubnetId = "subnetId",
SubnetIdList = new [] { "subnetIdList" }
},
PythonProperties = new Dictionary<string, string> {
{ "pythonPropertiesKey", "pythonProperties" }
},
SparkProperties = new Dictionary<string, string> {
{ "sparkPropertiesKey", "sparkProperties" }
},
ValidateCredentials = false,
ValidateForComputeEnvironments = new [] { "validateForComputeEnvironments" }
}
},
HyperPodProperties = new HyperPodPropertiesInputProperty {
ClusterName = "clusterName"
},
IamProperties = new IamPropertiesInputProperty {
GlueLineageSyncEnabled = false,
RoleArn = "roleArn"
},
LakehouseProperties = new LakehousePropertiesInputProperty {
GlueLineageSyncEnabled = false
},
MlflowProperties = new MlflowPropertiesInputProperty {
TrackingServerArn = "trackingServerArn"
},
RedshiftProperties = new RedshiftPropertiesInputProperty {
Credentials = new RedshiftCredentialsProperty {
SecretArn = "secretArn",
UsernamePassword = new UsernamePasswordProperty {
Password = "password",
Username = "username"
}
},
DatabaseName = "databaseName",
Host = "host",
LineageSync = new RedshiftLineageSyncConfigurationInputProperty {
Enabled = false,
Schedule = new LineageSyncScheduleProperty {
Schedule = "schedule"
}
},
Port = 123,
Storage = new RedshiftStoragePropertiesProperty {
ClusterName = "clusterName",
WorkgroupName = "workgroupName"
}
},
S3Properties = new S3PropertiesInputProperty {
S3Uri = "s3Uri",
// the properties below are optional
RegisterS3AccessGrantLocation = false,
S3AccessGrantLocationId = "s3AccessGrantLocationId"
},
SparkEmrProperties = new SparkEmrPropertiesInputProperty {
ComputeArn = "computeArn",
InstanceProfileArn = "instanceProfileArn",
JavaVirtualEnv = "javaVirtualEnv",
LogUri = "logUri",
ManagedEndpointArn = "managedEndpointArn",
PythonVirtualEnv = "pythonVirtualEnv",
RuntimeRole = "runtimeRole",
TrustedCertificatesS3Uri = "trustedCertificatesS3Uri"
},
SparkGlueProperties = new SparkGluePropertiesInputProperty {
AdditionalArgs = new SparkGlueArgsProperty {
Connection = "connection"
},
GlueConnectionName = "glueConnectionName",
GlueVersion = "glueVersion",
IdleTimeout = 123,
JavaVirtualEnv = "javaVirtualEnv",
NumberOfWorkers = 123,
PythonVirtualEnv = "pythonVirtualEnv",
WorkerType = "workerType"
},
WorkflowsMwaaProperties = new WorkflowsMwaaPropertiesInputProperty {
MwaaEnvironmentName = "mwaaEnvironmentName"
},
WorkflowsServerlessProperties = workflowsServerlessProperties
},
Scope = "scope"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var workflowsServerlessProperties interface{}
cfnConnectionProps := &CfnConnectionProps{
DomainIdentifier: jsii.String("domainIdentifier"),
Name: jsii.String("name"),
// the properties below are optional
AwsLocation: &AwsLocationProperty{
AccessRole: jsii.String("accessRole"),
AwsAccountId: jsii.String("awsAccountId"),
AwsRegion: jsii.String("awsRegion"),
IamConnectionId: jsii.String("iamConnectionId"),
},
Configurations: []interface{}{
&ConnectionConfigurationProperty{
Classification: jsii.String("classification"),
Properties: map[string]*string{
"propertiesKey": jsii.String("properties"),
},
},
},
Description: jsii.String("description"),
EnableTrustedIdentityPropagation: jsii.Boolean(false),
EnvironmentIdentifier: jsii.String("environmentIdentifier"),
ProjectIdentifier: jsii.String("projectIdentifier"),
Props: &ConnectionPropertiesInputProperty{
AmazonQProperties: &AmazonQPropertiesInputProperty{
AuthMode: jsii.String("authMode"),
IsEnabled: jsii.Boolean(false),
ProfileArn: jsii.String("profileArn"),
},
AthenaProperties: &AthenaPropertiesInputProperty{
WorkgroupName: jsii.String("workgroupName"),
},
GlueProperties: &GluePropertiesInputProperty{
GlueConnectionInput: &GlueConnectionInputProperty{
AthenaProperties: map[string]*string{
"athenaPropertiesKey": jsii.String("athenaProperties"),
},
AuthenticationConfiguration: &AuthenticationConfigurationInputProperty{
AuthenticationType: jsii.String("authenticationType"),
BasicAuthenticationCredentials: &BasicAuthenticationCredentialsProperty{
Password: jsii.String("password"),
UserName: jsii.String("userName"),
},
CustomAuthenticationCredentials: map[string]*string{
"customAuthenticationCredentialsKey": jsii.String("customAuthenticationCredentials"),
},
KmsKeyArn: jsii.String("kmsKeyArn"),
OAuth2Properties: &OAuth2PropertiesProperty{
AuthorizationCodeProperties: &AuthorizationCodePropertiesProperty{
AuthorizationCode: jsii.String("authorizationCode"),
RedirectUri: jsii.String("redirectUri"),
},
OAuth2ClientApplication: &OAuth2ClientApplicationProperty{
AwsManagedClientApplicationReference: jsii.String("awsManagedClientApplicationReference"),
UserManagedClientApplicationClientId: jsii.String("userManagedClientApplicationClientId"),
},
OAuth2Credentials: &GlueOAuth2CredentialsProperty{
AccessToken: jsii.String("accessToken"),
JwtToken: jsii.String("jwtToken"),
RefreshToken: jsii.String("refreshToken"),
UserManagedClientApplicationClientSecret: jsii.String("userManagedClientApplicationClientSecret"),
},
OAuth2GrantType: jsii.String("oAuth2GrantType"),
TokenUrl: jsii.String("tokenUrl"),
TokenUrlParametersMap: map[string]*string{
"tokenUrlParametersMapKey": jsii.String("tokenUrlParametersMap"),
},
},
SecretArn: jsii.String("secretArn"),
},
ConnectionProperties: map[string]*string{
"connectionPropertiesKey": jsii.String("connectionProperties"),
},
ConnectionType: jsii.String("connectionType"),
Description: jsii.String("description"),
MatchCriteria: jsii.String("matchCriteria"),
Name: jsii.String("name"),
PhysicalConnectionRequirements: &PhysicalConnectionRequirementsProperty{
AvailabilityZone: jsii.String("availabilityZone"),
SecurityGroupIdList: []*string{
jsii.String("securityGroupIdList"),
},
SubnetId: jsii.String("subnetId"),
SubnetIdList: []*string{
jsii.String("subnetIdList"),
},
},
PythonProperties: map[string]*string{
"pythonPropertiesKey": jsii.String("pythonProperties"),
},
SparkProperties: map[string]*string{
"sparkPropertiesKey": jsii.String("sparkProperties"),
},
ValidateCredentials: jsii.Boolean(false),
ValidateForComputeEnvironments: []*string{
jsii.String("validateForComputeEnvironments"),
},
},
},
HyperPodProperties: &HyperPodPropertiesInputProperty{
ClusterName: jsii.String("clusterName"),
},
IamProperties: &IamPropertiesInputProperty{
GlueLineageSyncEnabled: jsii.Boolean(false),
RoleArn: jsii.String("roleArn"),
},
LakehouseProperties: &LakehousePropertiesInputProperty{
GlueLineageSyncEnabled: jsii.Boolean(false),
},
MlflowProperties: &MlflowPropertiesInputProperty{
TrackingServerArn: jsii.String("trackingServerArn"),
},
RedshiftProperties: &RedshiftPropertiesInputProperty{
Credentials: &RedshiftCredentialsProperty{
SecretArn: jsii.String("secretArn"),
UsernamePassword: &UsernamePasswordProperty{
Password: jsii.String("password"),
Username: jsii.String("username"),
},
},
DatabaseName: jsii.String("databaseName"),
Host: jsii.String("host"),
LineageSync: &RedshiftLineageSyncConfigurationInputProperty{
Enabled: jsii.Boolean(false),
Schedule: &LineageSyncScheduleProperty{
Schedule: jsii.String("schedule"),
},
},
Port: jsii.Number(123),
Storage: &RedshiftStoragePropertiesProperty{
ClusterName: jsii.String("clusterName"),
WorkgroupName: jsii.String("workgroupName"),
},
},
S3Properties: &S3PropertiesInputProperty{
S3Uri: jsii.String("s3Uri"),
// the properties below are optional
RegisterS3AccessGrantLocation: jsii.Boolean(false),
S3AccessGrantLocationId: jsii.String("s3AccessGrantLocationId"),
},
SparkEmrProperties: &SparkEmrPropertiesInputProperty{
ComputeArn: jsii.String("computeArn"),
InstanceProfileArn: jsii.String("instanceProfileArn"),
JavaVirtualEnv: jsii.String("javaVirtualEnv"),
LogUri: jsii.String("logUri"),
ManagedEndpointArn: jsii.String("managedEndpointArn"),
PythonVirtualEnv: jsii.String("pythonVirtualEnv"),
RuntimeRole: jsii.String("runtimeRole"),
TrustedCertificatesS3Uri: jsii.String("trustedCertificatesS3Uri"),
},
SparkGlueProperties: &SparkGluePropertiesInputProperty{
AdditionalArgs: &SparkGlueArgsProperty{
Connection: jsii.String("connection"),
},
GlueConnectionName: jsii.String("glueConnectionName"),
GlueVersion: jsii.String("glueVersion"),
IdleTimeout: jsii.Number(123),
JavaVirtualEnv: jsii.String("javaVirtualEnv"),
NumberOfWorkers: jsii.Number(123),
PythonVirtualEnv: jsii.String("pythonVirtualEnv"),
WorkerType: jsii.String("workerType"),
},
WorkflowsMwaaProperties: &WorkflowsMwaaPropertiesInputProperty{
MwaaEnvironmentName: jsii.String("mwaaEnvironmentName"),
},
WorkflowsServerlessProperties: workflowsServerlessProperties,
},
Scope: jsii.String("scope"),
}
Properties
awsLocationoptionalIResolvable | CfnConnection.aws_locationoptionaltyping.Union[IResolvable, AwsLocationProperty]awsLocationoptionalIResolvableAwsLocationoptionalIResolvableAwsLocationoptionalinterface{} #The location where the connection is created.
configurationsoptionalIResolvable | IResolvable | CfnConnection.configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConnectionConfigurationProperty]]]configurationsoptionalIResolvableConfigurationsoptionalIResolvableConfigurationsoptionalinterface{} #The configurations of the connection.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #Connection description.
domainIdentifierstringdomain_identifierstrdomainIdentifierStringDomainIdentifierstringDomainIdentifier*string required #The ID of the domain where the connection is created.
enableTrustedIdentityPropagationoptionalboolean | IResolvableenable_trusted_identity_propagationoptionaltyping.Union[bool, IResolvable]enableTrustedIdentityPropagationoptionalBooleanEnableTrustedIdentityPropagationoptionalboolEnableTrustedIdentityPropagationoptionalinterface{} #Specifies whether the trusted identity propagation is enabled.
environmentIdentifieroptionalstringenvironment_identifieroptionalstrenvironmentIdentifieroptionalStringEnvironmentIdentifieroptionalstringEnvironmentIdentifieroptional*string #The ID of the environment where the connection is created.
The name of the connection.
projectIdentifieroptionalstringproject_identifieroptionalstrprojectIdentifieroptionalStringProjectIdentifieroptionalstringProjectIdentifieroptional*string #The identifier of the project in which the connection should be created.
If
propsoptionalIResolvable | CfnConnection.propsoptionaltyping.Union[IResolvable, ConnectionPropertiesInputProperty]propsoptionalIResolvablePropsoptionalIResolvablePropsoptionalinterface{} #Connection props.
The scope of the connection.