Class CfnConnectorProfile.CustomConnectorProfileCredentialsProperty
The connector-specific profile credentials that are required when using the custom connector.
Inheritance
Namespace: Amazon.CDK.AWS.AppFlow
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CustomConnectorProfileCredentialsProperty : Object, CfnConnectorProfile.ICustomConnectorProfileCredentialsProperty
Syntax (vb)
Public Class CustomConnectorProfileCredentialsProperty
Inherits Object
Implements CfnConnectorProfile.ICustomConnectorProfileCredentialsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppFlow;
var customConnectorProfileCredentialsProperty = new CustomConnectorProfileCredentialsProperty {
AuthenticationType = "authenticationType",
// the properties below are optional
ApiKey = new ApiKeyCredentialsProperty {
ApiKey = "apiKey",
// the properties below are optional
ApiSecretKey = "apiSecretKey"
},
Basic = new BasicAuthCredentialsProperty {
Password = "password",
Username = "username"
},
Custom = new CustomAuthCredentialsProperty {
CustomAuthenticationType = "customAuthenticationType",
// the properties below are optional
CredentialsMap = new Dictionary<string, string> {
{ "credentialsMapKey", "credentialsMap" }
}
},
Oauth2 = new OAuth2CredentialsProperty {
AccessToken = "accessToken",
ClientId = "clientId",
ClientSecret = "clientSecret",
OAuthRequest = new ConnectorOAuthRequestProperty {
AuthCode = "authCode",
RedirectUri = "redirectUri"
},
RefreshToken = "refreshToken"
}
};
Synopsis
Constructors
CustomConnectorProfileCredentialsProperty() |
Properties
ApiKey | The API keys required for the authentication of the user. |
AuthenticationType | The authentication type that the custom connector uses for authenticating while creating a connector profile. |
Basic | The basic credentials that are required for the authentication of the user. |
Custom | If the connector uses the custom authentication mechanism, this holds the required credentials. |
Oauth2 | The OAuth 2.0 credentials required for the authentication of the user. |
Constructors
CustomConnectorProfileCredentialsProperty()
public CustomConnectorProfileCredentialsProperty()
Properties
ApiKey
The API keys required for the authentication of the user.
public object ApiKey { get; set; }
Property Value
System.Object
Remarks
AuthenticationType
The authentication type that the custom connector uses for authenticating while creating a connector profile.
public string AuthenticationType { get; set; }
Property Value
System.String
Remarks
Basic
The basic credentials that are required for the authentication of the user.
public object Basic { get; set; }
Property Value
System.Object
Remarks
Custom
If the connector uses the custom authentication mechanism, this holds the required credentials.
public object Custom { get; set; }
Property Value
System.Object
Remarks
Oauth2
The OAuth 2.0 credentials required for the authentication of the user.
public object Oauth2 { get; set; }
Property Value
System.Object