Interface CfnConnection.AuthenticationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnection.AuthenticationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnConnection
@Stability(Stable)
public static interface CfnConnection.AuthenticationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.glue.*;
Object customAuthenticationCredentials;
Object tokenUrlParametersMap;
AuthenticationConfigurationProperty authenticationConfigurationProperty = AuthenticationConfigurationProperty.builder()
.authenticationType("authenticationType")
// the properties below are optional
.basicAuthenticationCredentials(BasicAuthenticationCredentialsProperty.builder()
.password("password")
.username("username")
.build())
.customAuthenticationCredentials(customAuthenticationCredentials)
.kmsKeyArn("kmsKeyArn")
.oAuth2Properties(OAuth2PropertiesProperty.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnection.AuthenticationConfigurationPropertystatic final classAn implementation forCfnConnection.AuthenticationConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A structure containing the authentication configuration in the CreateConnection request.default ObjectA structure containing the authentication credentials in the CreateConnection request.default ObjectA structure containing the authentication credentials in the CreateConnection request.default StringThe Amazon Resource Name (ARN) of the KMS key used in the authentication configuration.default ObjectA structure containing the authentication credentials in the CreateConnection request.default StringThe secret manager ARN to store credentials in the CreateConnection request.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthenticationType
A structure containing the authentication configuration in the CreateConnection request.- See Also:
-
getBasicAuthenticationCredentials
A structure containing the authentication credentials in the CreateConnection request.Returns union: either
IResolvableorCfnConnection.BasicAuthenticationCredentialsProperty- See Also:
-
getCustomAuthenticationCredentials
A structure containing the authentication credentials in the CreateConnection request.- See Also:
-
getKmsKeyArn
The Amazon Resource Name (ARN) of the KMS key used in the authentication configuration.- See Also:
-
getOAuth2Properties
A structure containing the authentication credentials in the CreateConnection request.Returns union: either
IResolvableorCfnConnection.OAuth2PropertiesProperty- See Also:
-
getSecretArn
The secret manager ARN to store credentials in the CreateConnection request.- See Also:
-
builder
-