Interface CfnConnection.OAuth2CredentialsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnection.OAuth2CredentialsProperty.Jsii$Proxy
- Enclosing class:
CfnConnection
@Stability(Stable)
public static interface CfnConnection.OAuth2CredentialsProperty
extends software.amazon.jsii.JsiiSerializable
The credentials used when the authentication type is OAuth2 authentication.
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.*;
OAuth2CredentialsProperty oAuth2CredentialsProperty = OAuth2CredentialsProperty.builder()
.accessToken("accessToken")
.jwtToken("jwtToken")
.refreshToken("refreshToken")
.userManagedClientApplicationClientSecret("userManagedClientApplicationClientSecret")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnection.OAuth2CredentialsPropertystatic final classAn implementation forCfnConnection.OAuth2CredentialsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe access token used when the authentication type is OAuth2.default StringThe JSON Web Token (JWT) used when the authentication type is OAuth2.default StringThe refresh token used when the authentication type is OAuth2.default StringThe client application client secret if the client application is user managed.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessToken
The access token used when the authentication type is OAuth2.- See Also:
-
getJwtToken
The JSON Web Token (JWT) used when the authentication type is OAuth2.- See Also:
-
getRefreshToken
The refresh token used when the authentication type is OAuth2.- See Also:
-
getUserManagedClientApplicationClientSecret
The client application client secret if the client application is user managed.- See Also:
-
builder
-