Interface CfnConnectionPropsMixin.AuthenticationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnConnectionPropsMixin
@Stability(Stable)
public static interface CfnConnectionPropsMixin.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.cfnpropertymixins.services.glue.*;
Object customAuthenticationCredentials;
Object tokenUrlParametersMap;
AuthenticationConfigurationProperty authenticationConfigurationProperty = AuthenticationConfigurationProperty.builder()
.authenticationType("authenticationType")
.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 classstatic final classAn implementation forCfnConnectionPropsMixin.AuthenticationConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA 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
IResolvableorCfnConnectionPropsMixin.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
IResolvableorCfnConnectionPropsMixin.OAuth2PropertiesProperty- See Also:
-
getSecretArn
The secret manager ARN to store credentials in the CreateConnection request.- See Also:
-
builder
@Stability(Stable) static CfnConnectionPropsMixin.AuthenticationConfigurationProperty.Builder builder()
-