Interface CfnConnection.OAuth2PropertiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnection.OAuth2PropertiesProperty.Jsii$Proxy
- Enclosing class:
CfnConnection
@Stability(Stable)
public static interface CfnConnection.OAuth2PropertiesProperty
extends software.amazon.jsii.JsiiSerializable
A structure containing the authentication credentials 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.services.glue.*;
Object tokenUrlParametersMap;
OAuth2PropertiesProperty oAuth2PropertiesProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnection.OAuth2PropertiesPropertystatic final classAn implementation forCfnConnection.OAuth2PropertiesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA structure containing the authorization code used in the authentication configuration.default ObjectThe OAuth2 client app used for the connection.default ObjectA structure containing the OAuth2 credentials used in the authentication configuration.default StringThe grant type used in the authentication configuration.default StringThe URL used in the authentication configuration.default ObjectA map of key-value pairs used in the authentication configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizationCodeProperties
A structure containing the authorization code used in the authentication configuration.Returns union: either
IResolvableorCfnConnection.AuthorizationCodePropertiesProperty- See Also:
-
getOAuth2ClientApplication
The OAuth2 client app used for the connection.Returns union: either
IResolvableorCfnConnection.OAuth2ClientApplicationProperty- See Also:
-
getOAuth2Credentials
A structure containing the OAuth2 credentials used in the authentication configuration.Returns union: either
IResolvableorCfnConnection.OAuth2CredentialsProperty- See Also:
-
getOAuth2GrantType
The grant type used in the authentication configuration.- See Also:
-
getTokenUrl
The URL used in the authentication configuration.- See Also:
-
getTokenUrlParametersMap
A map of key-value pairs used in the authentication configuration.- See Also:
-
builder
-