Class CfnConnectionPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnConnectionPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.912Z")
@Stability(Stable)
public class CfnConnectionPropsMixin
extends Mixin
implements software.constructs.IMixin
In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.datazone.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnConnectionPropsMixin cfnConnectionPropsMixin = CfnConnectionPropsMixin.Builder.create(CfnConnectionMixinProps.builder()
.awsLocation(AwsLocationProperty.builder()
.accessRole("accessRole")
.awsAccountId("awsAccountId")
.awsRegion("awsRegion")
.iamConnectionId("iamConnectionId")
.build())
.description("description")
.domainIdentifier("domainIdentifier")
.enableTrustedIdentityPropagation(false)
.environmentIdentifier("environmentIdentifier")
.name("name")
.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)
.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()
.s3AccessGrantLocationId("s3AccessGrantLocationId")
.s3Uri("s3Uri")
.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())
.build())
.scope("scope")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAmazon Q properties of the connection.static interfaceThe Amazon Athena properties of a connection.static interfaceThe authentication configuration of a connection.static interfaceThe authorization code properties of a connection.static interfaceThe location of a project.static interfaceThe basic authentication credentials of a connection.static final classA fluent builder forCfnConnectionPropsMixin.static interfaceThe properties of a connection.static interfaceThe AWS Glue connecton input.static interfaceThe GlueOAuth2 credentials of a connection.static interfaceThe AWS Glue properties of a connection.static interfaceThe hyper pod properties of a AWS Glue properties patch.static interfaceThe IAM properties of a connection.static interfaceThe lineage sync schedule.static interfaceMLflow Properties Input.static interfaceThe OAuth2Client application.static interfaceThe OAuth2 properties.static interfacePhysical connection requirements of a connection.static interfaceAmazon Redshift credentials of a connection.static interfaceThe Amaon Redshift lineage sync configuration.static interfaceThe Amazon Redshift properties.static interfaceThe Amazon Redshift storage properties.static interfaceS3 Properties Input.static interfaceThe Spark EMR properties.static interfaceThe Spark AWS Glue args.static interfaceThe Spark AWS Glue properties.static interfaceThe username and password of a connection.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::DataZone::Connection.CfnConnectionPropsMixin(CfnConnectionMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::DataZone::Connection.protectedCfnConnectionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnConnectionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnConnectionMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnConnectionPropsMixin
protected CfnConnectionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnConnectionPropsMixin
protected CfnConnectionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnConnectionPropsMixin
@Stability(Stable) public CfnConnectionPropsMixin(@NotNull CfnConnectionMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::DataZone::Connection.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnConnectionPropsMixin
Create a mixin to apply properties toAWS::DataZone::Connection.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-