Interface CfnConnection.AuthenticationConfigurationInputProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnConnection.AuthenticationConfigurationInputProperty.Jsii$Proxy
- Enclosing class:
- CfnConnection
@Stability(Stable)
public static interface CfnConnection.AuthenticationConfigurationInputProperty
extends software.amazon.jsii.JsiiSerializable
The authentication configuration of a connection.
 
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.datazone.*;
 AuthenticationConfigurationInputProperty authenticationConfigurationInputProperty = AuthenticationConfigurationInputProperty.builder()
         .authenticationType("authenticationType")
         .basicAuthenticationCredentials(BasicAuthenticationCredentialsProperty.builder()
                 .password("password")
                 .userName("userName")
                 .build())
         .customAuthenticationCredentials(Map.of(
                 "customAuthenticationCredentialsKey", "customAuthenticationCredentials"))
         .kmsKeyArn("kmsKeyArn")
         .oAuth2Properties(OAuth2PropertiesProperty.builder()
                 .authorizationCodeProperties(AuthorizationCodePropertiesProperty.builder()
                         .authorizationCode("authorizationCode")
                         .redirectUri("redirectUri")
                         .build())
                 .oAuth2ClientApplication(OAuth2ClientApplicationProperty.builder()
                         .awsManagedClientApplicationReference("awsManagedClientApplicationReference")
                         .userManagedClientApplicationClientId("userManagedClientApplicationClientId")
                         .build())
                 .oAuth2Credentials(GlueOAuth2CredentialsProperty.builder()
                         .accessToken("accessToken")
                         .jwtToken("jwtToken")
                         .refreshToken("refreshToken")
                         .userManagedClientApplicationClientSecret("userManagedClientApplicationClientSecret")
                         .build())
                 .oAuth2GrantType("oAuth2GrantType")
                 .tokenUrl("tokenUrl")
                 .tokenUrlParametersMap(Map.of(
                         "tokenUrlParametersMapKey", "tokenUrlParametersMap"))
                 .build())
         .secretArn("secretArn")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnection.AuthenticationConfigurationInputPropertystatic final classAn implementation forCfnConnection.AuthenticationConfigurationInputProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default StringThe authentication type of a connection.default ObjectThe basic authentication credentials of a connection.default ObjectThe custom authentication credentials of a connection.default StringThe KMS key ARN of a connection.default ObjectThe oAuth2 properties of a connection.default StringThe secret ARN of a connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getAuthenticationTypeThe authentication type of a connection.- See Also:
 
- 
getBasicAuthenticationCredentialsThe basic authentication credentials of a connection.Returns union: either IResolvableorCfnConnection.BasicAuthenticationCredentialsProperty- See Also:
 
- 
getCustomAuthenticationCredentialsThe custom authentication credentials of a connection.Returns union: either Mapinvalid input: '<'String, String> orIResolvable- See Also:
 
- 
getKmsKeyArnThe KMS key ARN of a connection.- See Also:
 
- 
getOAuth2PropertiesThe oAuth2 properties of a connection.Returns union: either IResolvableorCfnConnection.OAuth2PropertiesProperty- See Also:
 
- 
getSecretArnThe secret ARN of a connection.- See Also:
 
- 
builder
 
-