@Stability(value=Stable)
public static interface CfnConnectorProfile.SlackConnectorProfileCredentialsProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
SlackConnectorProfileCredentialsProperty slackConnectorProfileCredentialsProperty = SlackConnectorProfileCredentialsProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
// the properties below are optional
.accessToken("accessToken")
.connectorOAuthRequest(ConnectorOAuthRequestProperty.builder()
.authCode("authCode")
.redirectUri("redirectUri")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder
|
static class |
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Jsii$Proxy
An implementation for
CfnConnectorProfile.SlackConnectorProfileCredentialsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder |
builder() |
default String |
getAccessToken()
The credentials used to access protected Slack resources.
|
String |
getClientId()
The identifier for the client.
|
String |
getClientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
|
default Object |
getConnectorOAuthRequest()
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
|
@Stability(value=Stable) @NotNull String getClientId()
@Stability(value=Stable) @NotNull String getClientSecret()
@Stability(value=Stable) @Nullable default String getAccessToken()
@Stability(value=Stable) @Nullable default Object getConnectorOAuthRequest()
@Stability(value=Stable) static CfnConnectorProfile.SlackConnectorProfileCredentialsProperty.Builder builder()
Copyright © 2022. All rights reserved.