Class CfnConnectionPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.glue.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:59.667Z")
@Stability(Stable)
public class CfnConnectionPropsMixin
extends Mixin
implements software.constructs.IMixin
The
AWS::Glue::Connection resource specifies an AWS Glue connection to a data source.
For more information, see Adding a Connection to Your Data Store and Connection Structure in the AWS Glue Developer Guide .
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.glue.*;
import software.amazon.awscdk.*;
Object athenaProperties;
Object connectionProperties;
Object customAuthenticationCredentials;
IMergeStrategy mergeStrategy;
Object pythonProperties;
Object sparkProperties;
Object tokenUrlParametersMap;
CfnConnectionPropsMixin cfnConnectionPropsMixin = CfnConnectionPropsMixin.Builder.create(CfnConnectionMixinProps.builder()
.catalogId("catalogId")
.connectionInput(ConnectionInputProperty.builder()
.athenaProperties(athenaProperties)
.authenticationConfiguration(AuthenticationConfigurationInputProperty.builder()
.authenticationType("authenticationType")
.basicAuthenticationCredentials(BasicAuthenticationCredentialsProperty.builder()
.password("password")
.username("username")
.build())
.customAuthenticationCredentials(customAuthenticationCredentials)
.kmsKeyArn("kmsKeyArn")
.oAuth2Properties(OAuth2PropertiesInputProperty.builder()
.authorizationCodeProperties(AuthorizationCodePropertiesProperty.builder()
.authorizationCode("authorizationCode")
.redirectUri("redirectUri")
.build())
.oAuth2ClientApplication(OAuth2ClientApplicationProperty.builder()
.awsManagedClientApplicationReference("awsManagedClientApplicationReference")
.userManagedClientApplicationClientId("userManagedClientApplicationClientId")
.build())
.oAuth2Credentials(OAuth2CredentialsProperty.builder()
.accessToken("accessToken")
.jwtToken("jwtToken")
.refreshToken("refreshToken")
.userManagedClientApplicationClientSecret("userManagedClientApplicationClientSecret")
.build())
.oAuth2GrantType("oAuth2GrantType")
.tokenUrl("tokenUrl")
.tokenUrlParametersMap(tokenUrlParametersMap)
.build())
.secretArn("secretArn")
.build())
.connectionProperties(connectionProperties)
.connectionType("connectionType")
.description("description")
.matchCriteria(List.of("matchCriteria"))
.name("name")
.physicalConnectionRequirements(PhysicalConnectionRequirementsProperty.builder()
.availabilityZone("availabilityZone")
.securityGroupIdList(List.of("securityGroupIdList"))
.subnetId("subnetId")
.build())
.pythonProperties(pythonProperties)
.sparkProperties(sparkProperties)
.validateCredentials(false)
.validateForComputeEnvironments(List.of("validateForComputeEnvironments"))
.build())
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA structure containing the authentication configuration in the CreateConnection request.static interfaceThe set of properties required for the the OAuth2AUTHORIZATION_CODEgrant type workflow.static interfaceFor supplying basic auth credentials when not providing aSecretArnvalue.static final classA fluent builder forCfnConnectionPropsMixin.static interfaceA structure that is used to specify a connection to create or update.static interfaceThe OAuth2 client app used for the connection.static interfaceThe credentials used when the authentication type is OAuth2 authentication.static interfaceA structure containing properties for OAuth2 in the CreateConnection request.static interfaceThe OAuth client app in GetConnection response.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::Glue::Connection.CfnConnectionPropsMixin(CfnConnectionMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Glue::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::Glue::Connection.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnConnectionPropsMixin
Create a mixin to apply properties toAWS::Glue::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
-