interface GoogleAnalyticsConnectorProfileCredentialsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppFlow.CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappflow#CfnConnectorProfile_GoogleAnalyticsConnectorProfileCredentialsProperty |
Java | software.amazon.awscdk.services.appflow.CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty |
Python | aws_cdk.aws_appflow.CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty |
TypeScript | aws-cdk-lib » aws_appflow » CfnConnectorProfile » GoogleAnalyticsConnectorProfileCredentialsProperty |
The connector-specific profile credentials required by Google Analytics.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const googleAnalyticsConnectorProfileCredentialsProperty: appflow.CfnConnectorProfile.GoogleAnalyticsConnectorProfileCredentialsProperty = {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
accessToken: 'accessToken',
connectorOAuthRequest: {
authCode: 'authCode',
redirectUri: 'redirectUri',
},
refreshToken: 'refreshToken',
};
Properties
Name | Type | Description |
---|---|---|
client | string | The identifier for the desired client. |
client | string | The client secret used by the OAuth client to authenticate to the authorization server. |
access | string | The credentials used to access protected Google Analytics resources. |
connector | IResolvable | Connector | Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. |
refresh | string | The credentials used to acquire new access tokens. |
clientId
Type:
string
The identifier for the desired client.
clientSecret
Type:
string
The client secret used by the OAuth client to authenticate to the authorization server.
accessToken?
Type:
string
(optional)
The credentials used to access protected Google Analytics resources.
connectorOAuthRequest?
Type:
IResolvable
|
Connector
(optional)
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
refreshToken?
Type:
string
(optional)
The credentials used to acquire new access tokens.
This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.