package awsappflow // The connector-specific profile credentials required when using Zendesk. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // zendeskConnectorProfileCredentialsProperty := &ZendeskConnectorProfileCredentialsProperty{ // ClientId: jsii.String("clientId"), // ClientSecret: jsii.String("clientSecret"), // // // the properties below are optional // AccessToken: jsii.String("accessToken"), // ConnectorOAuthRequest: &ConnectorOAuthRequestProperty{ // AuthCode: jsii.String("authCode"), // RedirectUri: jsii.String("redirectUri"), // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html // type CfnConnectorProfile_ZendeskConnectorProfileCredentialsProperty struct { // The identifier for the desired client. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html#cfn-appflow-connectorprofile-zendeskconnectorprofilecredentials-clientid // ClientId *string `field:"required" json:"clientId" yaml:"clientId"` // The client secret used by the OAuth client to authenticate to the authorization server. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html#cfn-appflow-connectorprofile-zendeskconnectorprofilecredentials-clientsecret // ClientSecret *string `field:"required" json:"clientSecret" yaml:"clientSecret"` // The credentials used to access protected Zendesk resources. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html#cfn-appflow-connectorprofile-zendeskconnectorprofilecredentials-accesstoken // AccessToken *string `field:"optional" json:"accessToken" yaml:"accessToken"` // Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html#cfn-appflow-connectorprofile-zendeskconnectorprofilecredentials-connectoroauthrequest // ConnectorOAuthRequest interface{} `field:"optional" json:"connectorOAuthRequest" yaml:"connectorOAuthRequest"` }