# OAuth2ClientApplicationProperty

The OAuth2Client application.

- Source: Generated at build time
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const oAuth2ClientApplicationProperty: datazone.CfnConnection.OAuth2ClientApplicationProperty = {
  awsManagedClientApplicationReference: 'awsManagedClientApplicationReference',
  userManagedClientApplicationClientId: 'userManagedClientApplicationClientId',
};
```

Python:

```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_datazone as datazone

o_auth2_client_application_property = datazone.CfnConnection.OAuth2ClientApplicationProperty(
    aws_managed_client_application_reference="awsManagedClientApplicationReference",
    user_managed_client_application_client_id="userManagedClientApplicationClientId"
)
```

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

OAuth2ClientApplicationProperty oAuth2ClientApplicationProperty = OAuth2ClientApplicationProperty.builder()
        .awsManagedClientApplicationReference("awsManagedClientApplicationReference")
        .userManagedClientApplicationClientId("userManagedClientApplicationClientId")
        .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.DataZone;

var oAuth2ClientApplicationProperty = new OAuth2ClientApplicationProperty {
    AwsManagedClientApplicationReference = "awsManagedClientApplicationReference",
    UserManagedClientApplicationClientId = "userManagedClientApplicationClientId"
};
```

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"

oAuth2ClientApplicationProperty := &OAuth2ClientApplicationProperty{
	AwsManagedClientApplicationReference: jsii.String("awsManagedClientApplicationReference"),
	UserManagedClientApplicationClientId: jsii.String("userManagedClientApplicationClientId"),
}
```

## Properties

- `awsManagedClientApplicationReference`: string — The AWS managed client application reference in the OAuth2Client application.

- `userManagedClientApplicationClientId`: string — The user managed client application client ID in the OAuth2Client application.
