package awsappflow // The OAuth 2.0 credentials required for OAuth 2.0 authentication. // // 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" // // oAuth2CredentialsProperty := &OAuth2CredentialsProperty{ // AccessToken: jsii.String("accessToken"), // ClientId: jsii.String("clientId"), // ClientSecret: jsii.String("clientSecret"), // OAuthRequest: &ConnectorOAuthRequestProperty{ // AuthCode: jsii.String("authCode"), // RedirectUri: jsii.String("redirectUri"), // }, // RefreshToken: jsii.String("refreshToken"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-oauth2credentials.html // type CfnConnectorProfile_OAuth2CredentialsProperty struct { // The access token used to access the connector on your behalf. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-oauth2credentials.html#cfn-appflow-connectorprofile-oauth2credentials-accesstoken // AccessToken *string `field:"optional" json:"accessToken" yaml:"accessToken"` // The identifier for the desired client. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-oauth2credentials.html#cfn-appflow-connectorprofile-oauth2credentials-clientid // ClientId *string `field:"optional" 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-oauth2credentials.html#cfn-appflow-connectorprofile-oauth2credentials-clientsecret // ClientSecret *string `field:"optional" json:"clientSecret" yaml:"clientSecret"` // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-oauth2credentials.html#cfn-appflow-connectorprofile-oauth2credentials-oauthrequest // OAuthRequest interface{} `field:"optional" json:"oAuthRequest" yaml:"oAuthRequest"` // The refresh token used to refresh an expired access token. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-oauth2credentials.html#cfn-appflow-connectorprofile-oauth2credentials-refreshtoken // RefreshToken *string `field:"optional" json:"refreshToken" yaml:"refreshToken"` }