# CfnOAuthClientApplicationProps

Properties for defining a `CfnOAuthClientApplication`.

Used as props by: [CfnOAuthClientApplication](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnOAuthClientApplication.html)

- Source: Generated at build time
- Type last changed: v2.262.0 · 22 Jul 2026

## Example

TypeScript:

```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 cfnOAuthClientApplicationProps: quicksight.CfnOAuthClientApplicationProps = {
  name: 'name',
  oAuthClientApplicationId: 'oAuthClientApplicationId',
  oAuthClientAuthenticationType: 'oAuthClientAuthenticationType',
  oAuthTokenEndpointUrl: 'oAuthTokenEndpointUrl',

  // the properties below are optional
  clientId: 'clientId',
  clientSecret: 'clientSecret',
  dataSourceType: 'dataSourceType',
  identityProviderVpcConnectionProperties: {
    vpcConnectionArn: 'vpcConnectionArn',
  },
  oAuthAuthorizationEndpointUrl: 'oAuthAuthorizationEndpointUrl',
  oAuthScopes: 'oAuthScopes',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# 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

cfn_o_auth_client_application_props = quicksight.CfnOAuthClientApplicationProps(
    name="name",
    o_auth_client_application_id="oAuthClientApplicationId",
    o_auth_client_authentication_type="oAuthClientAuthenticationType",
    o_auth_token_endpoint_url="oAuthTokenEndpointUrl",

    # the properties below are optional
    client_id="clientId",
    client_secret="clientSecret",
    data_source_type="dataSourceType",
    identity_provider_vpc_connection_properties=quicksight.CfnOAuthClientApplication.IdentityProviderVpcConnectionPropertiesProperty(
        vpc_connection_arn="vpcConnectionArn"
    ),
    o_auth_authorization_endpoint_url="oAuthAuthorizationEndpointUrl",
    o_auth_scopes="oAuthScopes",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```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.*;

CfnOAuthClientApplicationProps cfnOAuthClientApplicationProps = CfnOAuthClientApplicationProps.builder()
        .name("name")
        .oAuthClientApplicationId("oAuthClientApplicationId")
        .oAuthClientAuthenticationType("oAuthClientAuthenticationType")
        .oAuthTokenEndpointUrl("oAuthTokenEndpointUrl")

        // the properties below are optional
        .clientId("clientId")
        .clientSecret("clientSecret")
        .dataSourceType("dataSourceType")
        .identityProviderVpcConnectionProperties(IdentityProviderVpcConnectionPropertiesProperty.builder()
                .vpcConnectionArn("vpcConnectionArn")
                .build())
        .oAuthAuthorizationEndpointUrl("oAuthAuthorizationEndpointUrl")
        .oAuthScopes("oAuthScopes")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```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 cfnOAuthClientApplicationProps = new CfnOAuthClientApplicationProps {
    Name = "name",
    OAuthClientApplicationId = "oAuthClientApplicationId",
    OAuthClientAuthenticationType = "oAuthClientAuthenticationType",
    OAuthTokenEndpointUrl = "oAuthTokenEndpointUrl",

    // the properties below are optional
    ClientId = "clientId",
    ClientSecret = "clientSecret",
    DataSourceType = "dataSourceType",
    IdentityProviderVpcConnectionProperties = new IdentityProviderVpcConnectionPropertiesProperty {
        VpcConnectionArn = "vpcConnectionArn"
    },
    OAuthAuthorizationEndpointUrl = "oAuthAuthorizationEndpointUrl",
    OAuthScopes = "oAuthScopes",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```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"

cfnOAuthClientApplicationProps := &CfnOAuthClientApplicationProps{
	Name: jsii.String("name"),
	OAuthClientApplicationId: jsii.String("oAuthClientApplicationId"),
	OAuthClientAuthenticationType: jsii.String("oAuthClientAuthenticationType"),
	OAuthTokenEndpointUrl: jsii.String("oAuthTokenEndpointUrl"),

	// the properties below are optional
	ClientId: jsii.String("clientId"),
	ClientSecret: jsii.String("clientSecret"),
	DataSourceType: jsii.String("dataSourceType"),
	IdentityProviderVpcConnectionProperties: &IdentityProviderVpcConnectionPropertiesProperty{
		VpcConnectionArn: jsii.String("vpcConnectionArn"),
	},
	OAuthAuthorizationEndpointUrl: jsii.String("oAuthAuthorizationEndpointUrl"),
	OAuthScopes: jsii.String("oAuthScopes"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `clientId`: string

- `clientSecret`: string

- `dataSourceType`: string

- `identityProviderVpcConnectionProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnOAuthClientApplication.IdentityProviderVpcConnectionPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnOAuthClientApplication.IdentityProviderVpcConnectionPropertiesProperty.html)

- `name`: string (required)

- `oAuthAuthorizationEndpointUrl`: string

- `oAuthClientApplicationId`: string (required)

- `oAuthClientAuthenticationType`: string (required)

- `oAuthScopes`: string

- `oAuthTokenEndpointUrl`: string (required)

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[]
