ClientParametersProperty Struct
The OAuth authorization parameters to use for the connection.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
The client ID to use for OAuth authorization.
clientSecretstringclient_secretstrclientSecretStringClientSecretstringClientSecret*string required #The client secret assciated with the client ID to use for OAuth authorization.