AwsEventbridgeConnectionOAuthParametersArgs
interface AwsEventbridgeConnectionOAuthParametersArgs {
authorizationEndpoint: Input<string>;
clientParameters?: AwsEventbridgeConnectionOAuthClientParametersArgs;
httpMethod: Input<string>;
oauthHttpParameters: AwsEventbridgeConnectionOAuthHttpParametersArgs;
}Parameters for OAUTH_CLIENT_CREDENTIALS authorization.
Example
CODE
const oauth: AwsEventbridgeConnectionOAuthParametersArgs = {
authorizationEndpoint: 'https://auth.example.com/token',
httpMethod: 'POST',
oauthHttpParameters: {
bodies: [{ key: 'grant_type', value: 'client_credentials' }],
},
clientParameters: {
clientId: 'my-client-id',
clientSecret: 'my-client-secret',
},
};Properties
authorizationEndpoint: Input<string>
URL of the authorization endpoint used to obtain an access token.
clientParameters: AwsEventbridgeConnectionOAuthClientParametersArgs
OAuth client credentials used to obtain an access token.
httpMethod: Input<string>
HTTP method used when calling the authorization endpoint. For example POST or GET.
oauthHttpParameters: AwsEventbridgeConnectionOAuthHttpParametersArgs
HTTP parameters sent to the authorization endpoint as part of every token request. Required by the provider even when empty.