Interface CfnConnection.ConnectionPropertiesInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnection.ConnectionPropertiesInputProperty.Jsii$Proxy
- Enclosing class:
CfnConnection
Example:
// 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.*;
ConnectionPropertiesInputProperty connectionPropertiesInputProperty = 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)
.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
.s3AccessGrantLocationId("s3AccessGrantLocationId")
.build())
.sparkEmrProperties(SparkEmrPropertiesInputProperty.builder()
.computeArn("computeArn")
.instanceProfileArn("instanceProfileArn")
.javaVirtualEnv("javaVirtualEnv")
.logUri("logUri")
.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())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnection.ConnectionPropertiesInputPropertystatic final classAn implementation forCfnConnection.ConnectionPropertiesInputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAmazon Q properties of the connection.default ObjectThe Amazon Athena properties of a connection.default ObjectThe AWS Glue properties of a connection.default ObjectThe hyper pod properties of a connection.default ObjectThe IAM properties of a connection.default ObjectThe Amazon Redshift properties of a connection.default ObjectS3 Properties Input.default ObjectThe Spark EMR properties of a connection.default ObjectThe Spark AWS Glue properties of a connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmazonQProperties
Amazon Q properties of the connection.Returns union: either
IResolvableorCfnConnection.AmazonQPropertiesInputProperty- See Also:
-
getAthenaProperties
The Amazon Athena properties of a connection.Returns union: either
IResolvableorCfnConnection.AthenaPropertiesInputProperty- See Also:
-
getGlueProperties
The AWS Glue properties of a connection.Returns union: either
IResolvableorCfnConnection.GluePropertiesInputProperty- See Also:
-
getHyperPodProperties
The hyper pod properties of a connection.Returns union: either
IResolvableorCfnConnection.HyperPodPropertiesInputProperty- See Also:
-
getIamProperties
The IAM properties of a connection.Returns union: either
IResolvableorCfnConnection.IamPropertiesInputProperty- See Also:
-
getRedshiftProperties
The Amazon Redshift properties of a connection.Returns union: either
IResolvableorCfnConnection.RedshiftPropertiesInputProperty- See Also:
-
getS3Properties
S3 Properties Input.Returns union: either
IResolvableorCfnConnection.S3PropertiesInputProperty- See Also:
-
getSparkEmrProperties
The Spark EMR properties of a connection.Returns union: either
IResolvableorCfnConnection.SparkEmrPropertiesInputProperty- See Also:
-
getSparkGlueProperties
The Spark AWS Glue properties of a connection.Returns union: either
IResolvableorCfnConnection.SparkGluePropertiesInputProperty- See Also:
-
builder
-