Interface CfnConnectorProfile.CustomConnectorProfileCredentialsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.Jsii$Proxy
Enclosing class:
CfnConnectorProfile

@Stability(Stable) public static interface CfnConnectorProfile.CustomConnectorProfileCredentialsProperty extends software.amazon.jsii.JsiiSerializable
The connector-specific profile credentials that are required when using the custom connector.

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.appflow.*;
 CustomConnectorProfileCredentialsProperty customConnectorProfileCredentialsProperty = CustomConnectorProfileCredentialsProperty.builder()
         .authenticationType("authenticationType")
         // the properties below are optional
         .apiKey(ApiKeyCredentialsProperty.builder()
                 .apiKey("apiKey")
                 // the properties below are optional
                 .apiSecretKey("apiSecretKey")
                 .build())
         .basic(BasicAuthCredentialsProperty.builder()
                 .password("password")
                 .username("username")
                 .build())
         .custom(CustomAuthCredentialsProperty.builder()
                 .customAuthenticationType("customAuthenticationType")
                 // the properties below are optional
                 .credentialsMap(Map.of(
                         "credentialsMapKey", "credentialsMap"))
                 .build())
         .oauth2(OAuth2CredentialsProperty.builder()
                 .accessToken("accessToken")
                 .clientId("clientId")
                 .clientSecret("clientSecret")
                 .oAuthRequest(ConnectorOAuthRequestProperty.builder()
                         .authCode("authCode")
                         .redirectUri("redirectUri")
                         .build())
                 .refreshToken("refreshToken")
                 .build())
         .build();