Interface CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Jsii$Proxy
- Enclosing class:
CfnConnectorProfilePropsMixin
@Stability(Stable)
public static interface CfnConnectorProfilePropsMixin.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.cfnpropertymixins.services.appflow.*;
CustomConnectorProfileCredentialsProperty customConnectorProfileCredentialsProperty = CustomConnectorProfileCredentialsProperty.builder()
.apiKey(ApiKeyCredentialsProperty.builder()
.apiKey("apiKey")
.apiSecretKey("apiSecretKey")
.build())
.authenticationType("authenticationType")
.basic(BasicAuthCredentialsProperty.builder()
.password("password")
.username("username")
.build())
.custom(CustomAuthCredentialsProperty.builder()
.credentialsMap(Map.of(
"credentialsMapKey", "credentialsMap"))
.customAuthenticationType("customAuthenticationType")
.build())
.oauth2(OAuth2CredentialsProperty.builder()
.accessToken("accessToken")
.clientId("clientId")
.clientSecret("clientSecret")
.oAuthRequest(ConnectorOAuthRequestProperty.builder()
.authCode("authCode")
.redirectUri("redirectUri")
.build())
.refreshToken("refreshToken")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe API keys required for the authentication of the user.default StringThe authentication type that the custom connector uses for authenticating while creating a connector profile.default ObjectgetBasic()The basic credentials that are required for the authentication of the user.default ObjectIf the connector uses the custom authentication mechanism, this holds the required credentials.default ObjectThe OAuth 2.0 credentials required for the authentication of the user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiKey
The API keys required for the authentication of the user.Returns union: either
IResolvableorCfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty- See Also:
-
getAuthenticationType
The authentication type that the custom connector uses for authenticating while creating a connector profile.- See Also:
-
getBasic
The basic credentials that are required for the authentication of the user.Returns union: either
IResolvableorCfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty- See Also:
-
getCustom
If the connector uses the custom authentication mechanism, this holds the required credentials.Returns union: either
IResolvableorCfnConnectorProfilePropsMixin.CustomAuthCredentialsProperty- See Also:
-
getOauth2
The OAuth 2.0 credentials required for the authentication of the user.Returns union: either
IResolvableorCfnConnectorProfilePropsMixin.OAuth2CredentialsProperty- See Also:
-
builder
@Stability(Stable) static CfnConnectorProfilePropsMixin.CustomConnectorProfileCredentialsProperty.Builder builder()
-