# ClientParametersProperty

The OAuth authorization parameters to use for the connection.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const clientParametersProperty: events.CfnConnection.ClientParametersProperty = {
  clientId: 'clientId',
  clientSecret: 'clientSecret',
};
```

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_events as events

client_parameters_property = events.CfnConnection.ClientParametersProperty(
    client_id="clientId",
    client_secret="clientSecret"
)
```

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

ClientParametersProperty clientParametersProperty = ClientParametersProperty.builder()
        .clientId("clientId")
        .clientSecret("clientSecret")
        .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.Events;

var clientParametersProperty = new ClientParametersProperty {
    ClientId = "clientId",
    ClientSecret = "clientSecret"
};
```

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"

clientParametersProperty := &ClientParametersProperty{
	ClientId: jsii.String("clientId"),
	ClientSecret: jsii.String("clientSecret"),
}
```

## Properties

- `clientId`: string (required) — The client ID to use for OAuth authorization.

- `clientSecret`: string (required) — The client secret assciated with the client ID to use for OAuth authorization.
