Skip to content
v2.278.0

AuthorizationCodeGrantCredentialsDetailsProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const authorizationCodeGrantCredentialsDetailsProperty: quicksight.CfnActionConnector.AuthorizationCodeGrantCredentialsDetailsProperty = {
  authorizationCodeGrantDetails: {
    authorizationEndpoint: 'authorizationEndpoint',
    clientId: 'clientId',
    clientSecret: 'clientSecret',
    tokenEndpoint: 'tokenEndpoint',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

authorization_code_grant_credentials_details_property = quicksight.CfnActionConnector.AuthorizationCodeGrantCredentialsDetailsProperty(
    authorization_code_grant_details=quicksight.CfnActionConnector.AuthorizationCodeGrantDetailsProperty(
        authorization_endpoint="authorizationEndpoint",
        client_id="clientId",
        client_secret="clientSecret",
        token_endpoint="tokenEndpoint"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

AuthorizationCodeGrantCredentialsDetailsProperty authorizationCodeGrantCredentialsDetailsProperty = AuthorizationCodeGrantCredentialsDetailsProperty.builder()
        .authorizationCodeGrantDetails(AuthorizationCodeGrantDetailsProperty.builder()
                .authorizationEndpoint("authorizationEndpoint")
                .clientId("clientId")
                .clientSecret("clientSecret")
                .tokenEndpoint("tokenEndpoint")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var authorizationCodeGrantCredentialsDetailsProperty = new AuthorizationCodeGrantCredentialsDetailsProperty {
    AuthorizationCodeGrantDetails = new AuthorizationCodeGrantDetailsProperty {
        AuthorizationEndpoint = "authorizationEndpoint",
        ClientId = "clientId",
        ClientSecret = "clientSecret",
        TokenEndpoint = "tokenEndpoint"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

authorizationCodeGrantCredentialsDetailsProperty := &AuthorizationCodeGrantCredentialsDetailsProperty{
	AuthorizationCodeGrantDetails: &AuthorizationCodeGrantDetailsProperty{
		AuthorizationEndpoint: jsii.String("authorizationEndpoint"),
		ClientId: jsii.String("clientId"),
		ClientSecret: jsii.String("clientSecret"),
		TokenEndpoint: jsii.String("tokenEndpoint"),
	},
}

Properties ​

authorizationCodeGrantDetailsIResolvable | CfnActionConnector.AuthorizationCodeGrantDetailsPropertyauthorization_code_grant_detailstyping.Union[IResolvable, AuthorizationCodeGrantDetailsProperty]authorizationCodeGrantDetailsIResolvableAuthorizationCodeGrantDetailsIResolvableAuthorizationCodeGrantDetailsinterface{} required #