Skip to content
v2.278.0

GlueConnectionInputProperty Struct ​

The AWS Glue connecton input.

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';
const glueConnectionInputProperty: datazone.CfnConnection.GlueConnectionInputProperty = {
  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'],
};
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

glue_connection_input_property = 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"]
)
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.*;

GlueConnectionInputProperty glueConnectionInputProperty = 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();
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 glueConnectionInputProperty = 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" }
};
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"

glueConnectionInputProperty := &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"),
	},
}

Properties ​

athenaPropertiesoptionalIResolvable | { [key: string]: string }athena_propertiesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]athenaPropertiesoptionalIResolvableAthenaPropertiesoptionalIResolvableAthenaPropertiesoptionalinterface{} #
The Amazon Athena properties of the AWS Glue connection.
authenticationConfigurationoptionalIResolvable | CfnConnection.AuthenticationConfigurationInputPropertyauthentication_configurationoptionaltyping.Union[IResolvable, AuthenticationConfigurationInputProperty]authenticationConfigurationoptionalIResolvableAuthenticationConfigurationoptionalIResolvableAuthenticationConfigurationoptionalinterface{} #
The authentication configuration of the AWS Glue connection.
connectionPropertiesoptionalIResolvable | { [key: string]: string }connection_propertiesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]connectionPropertiesoptionalIResolvableConnectionPropertiesoptionalIResolvableConnectionPropertiesoptionalinterface{} #
The connection properties of the AWS Glue connection.
connectionTypeoptionalstringconnection_typeoptionalstrconnectionTypeoptionalStringConnectionTypeoptionalstringConnectionTypeoptional*string #
The connection type of the AWS Glue connection.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the AWS Glue connection.
matchCriteriaoptionalstringmatch_criteriaoptionalstrmatchCriteriaoptionalStringMatchCriteriaoptionalstringMatchCriteriaoptional*string #
The match criteria of the AWS Glue connection.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the AWS Glue connection.
physicalConnectionRequirementsoptionalIResolvable | CfnConnection.PhysicalConnectionRequirementsPropertyphysical_connection_requirementsoptionaltyping.Union[IResolvable, PhysicalConnectionRequirementsProperty]physicalConnectionRequirementsoptionalIResolvablePhysicalConnectionRequirementsoptionalIResolvablePhysicalConnectionRequirementsoptionalinterface{} #
The physical connection requirements for the AWS Glue connection.
pythonPropertiesoptionalIResolvable | { [key: string]: string }python_propertiesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]pythonPropertiesoptionalIResolvablePythonPropertiesoptionalIResolvablePythonPropertiesoptionalinterface{} #
The Python properties of the AWS Glue connection.
sparkPropertiesoptionalIResolvable | { [key: string]: string }spark_propertiesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]sparkPropertiesoptionalIResolvableSparkPropertiesoptionalIResolvableSparkPropertiesoptionalinterface{} #
The Spark properties of the AWS Glue connection.
validateCredentialsoptionalboolean | IResolvablevalidate_credentialsoptionaltyping.Union[bool, IResolvable]validateCredentialsoptionalBooleanValidateCredentialsoptionalboolValidateCredentialsoptionalinterface{} #
Speciefies whether to validate credentials of the AWS Glue connection.
validateForComputeEnvironmentsoptionalstring[]validate_for_compute_environmentsoptionaltyping.List[str]validateForComputeEnvironmentsoptionalList<String>ValidateForComputeEnvironmentsoptionalstring[]ValidateForComputeEnvironmentsoptional*[]*string #
Speciefies whether to validate for compute environments of the AWS Glue connection.