Interface CfnConnectorProfile.ServiceNowConnectorProfileCredentialsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectorProfile.ServiceNowConnectorProfileCredentialsProperty.Jsii$Proxy
- Enclosing class:
CfnConnectorProfile
@Stability(Stable)
public static interface CfnConnectorProfile.ServiceNowConnectorProfileCredentialsProperty
extends software.amazon.jsii.JsiiSerializable
The connector-specific profile credentials required when using ServiceNow.
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.*;
ServiceNowConnectorProfileCredentialsProperty serviceNowConnectorProfileCredentialsProperty = ServiceNowConnectorProfileCredentialsProperty.builder()
.oAuth2Credentials(OAuth2CredentialsProperty.builder()
.accessToken("accessToken")
.clientId("clientId")
.clientSecret("clientSecret")
.oAuthRequest(ConnectorOAuthRequestProperty.builder()
.authCode("authCode")
.redirectUri("redirectUri")
.build())
.refreshToken("refreshToken")
.build())
.password("password")
.username("username")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnConnectorProfile.ServiceNowConnectorProfileCredentialsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOAuth2Credentials
The OAuth 2.0 credentials required to authenticate the user.Returns union: either
IResolvableorCfnConnectorProfile.OAuth2CredentialsProperty- See Also:
-
getPassword
The password that corresponds to the user name.- See Also:
-
getUsername
The name of the user.- See Also:
-
builder
@Stability(Stable) static CfnConnectorProfile.ServiceNowConnectorProfileCredentialsProperty.Builder builder()
-