Skip to content

Commit

Permalink
Merge pull request #20245 from camjc/patch-1
Browse files Browse the repository at this point in the history
Improve documentation for EventBridge oauth flow
  • Loading branch information
ewbankkit committed Jul 20, 2021
2 parents 6e5d338 + a7c39ea commit 5e6e4df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/r/cloudwatch_event_connection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resource "aws_cloudwatch_event_connection" "test" {
resource "aws_cloudwatch_event_connection" "test" {
name = "ngrok-connection"
description = "A connection description"
authorization_type = "BASIC"
authorization_type = "OAUTH_CLIENT_CREDENTIALS"
auth_parameters {
oauth {
Expand Down Expand Up @@ -160,7 +160,7 @@ The following arguments are supported:

`oauth` support the following:

* `authorization_endpoint` - (Required) A username for the authorization.
* `authorization_endpoint` - (Required) The URL to the authorization endpoint.
* `http_method` - (Required) A password for the authorization. Created and stored in AWS Secrets Manager.
* `client_parameters` - (Required) Contains the client parameters for OAuth authorization. Contains the following two parameters.
* `client_id` - (Required) The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
Expand Down

0 comments on commit 5e6e4df

Please sign in to comment.