Interface CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Jsii$Proxy
- Enclosing class:
CfnConnectionPropsMixin
@Stability(Stable)
public static interface CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty
extends software.amazon.jsii.JsiiSerializable
A structure containing the authentication configuration in the CreateConnection request.
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.*;
Object customAuthenticationCredentials;
Object tokenUrlParametersMap;
AuthenticationConfigurationInputProperty authenticationConfigurationInputProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnConnectionPropsMixin.AuthenticationConfigurationInputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA structure containing the authentication configuration in the CreateConnection request.default ObjectThe credentials used when the authentication type is basic authentication.default ObjectThe credentials used when the authentication type is custom authentication.default StringThe ARN of the KMS key used to encrypt the connection.default ObjectThe properties for OAuth2 authentication 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
The credentials used when the authentication type is basic authentication.Returns union: either
IResolvableorCfnConnectionPropsMixin.BasicAuthenticationCredentialsProperty- See Also:
-
getCustomAuthenticationCredentials
The credentials used when the authentication type is custom authentication.- See Also:
-
getKmsKeyArn
The ARN of the KMS key used to encrypt the connection.Only taken an as input in the request and stored in the Secret Manager.
- See Also:
-
getOAuth2Properties
The properties for OAuth2 authentication in the CreateConnection request.Returns union: either
IResolvableorCfnConnectionPropsMixin.OAuth2PropertiesInputProperty- See Also:
-
getSecretArn
The secret manager ARN to store credentials in the CreateConnection request.- See Also:
-
builder
@Stability(Stable) static CfnConnectionPropsMixin.AuthenticationConfigurationInputProperty.Builder builder()
-