Interface CfnConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:10.864Z")
@Stability(Stable)
public interface CfnConnectionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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.*;
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())
.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)
.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")
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectionPropsstatic final classAn implementation forCfnConnectionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnConnectionProps.Builderbuilder()default ObjectThe location where the connection is created.default StringConnection description.The ID of the domain where the connection is created.default ObjectSpecifies whether the trusted identity propagation is enabled.default StringThe ID of the environment where the connection is created.getName()The name of the connection.default StringThe identifier of the project in which the connection should be created.default ObjectgetProps()Connection props.default StringgetScope()The scope of the connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainIdentifier
The ID of the domain where the connection is created.- See Also:
-
getName
The name of the connection.- See Also:
-
getAwsLocation
The location where the connection is created.Returns union: either
IResolvableorCfnConnection.AwsLocationProperty- See Also:
-
getDescription
Connection description.- See Also:
-
getEnableTrustedIdentityPropagation
Specifies whether the trusted identity propagation is enabled.Returns union: either
BooleanorIResolvable- See Also:
-
getEnvironmentIdentifier
The ID of the environment where the connection is created.- See Also:
-
getProjectIdentifier
The identifier of the project in which the connection should be created.If
- See Also:
-
getProps
Connection props.Returns union: either
IResolvableorCfnConnection.ConnectionPropertiesInputProperty- See Also:
-
getScope
The scope of the connection.- See Also:
-
builder
- Returns:
- a
CfnConnectionProps.BuilderofCfnConnectionProps
-