1. Packages
  2. AWS
  3. API Docs
  4. cloudwatch
  5. EventConnection
AWS v6.75.0 published on Wednesday, Apr 2, 2025 by Pulumi

aws.cloudwatch.EventConnection

Explore with Pulumi AI

Provides an EventBridge connection resource.

Note: EventBridge was formerly known as CloudWatch Events. The functionality is identical.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.cloudwatch.EventConnection("test", {
    name: "ngrok-connection",
    description: "A connection description",
    authorizationType: "API_KEY",
    authParameters: {
        apiKey: {
            key: "x-signature",
            value: "1234",
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

test = aws.cloudwatch.EventConnection("test",
    name="ngrok-connection",
    description="A connection description",
    authorization_type="API_KEY",
    auth_parameters={
        "api_key": {
            "key": "x-signature",
            "value": "1234",
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudwatch.NewEventConnection(ctx, "test", &cloudwatch.EventConnectionArgs{
			Name:              pulumi.String("ngrok-connection"),
			Description:       pulumi.String("A connection description"),
			AuthorizationType: pulumi.String("API_KEY"),
			AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{
				ApiKey: &cloudwatch.EventConnectionAuthParametersApiKeyArgs{
					Key:   pulumi.String("x-signature"),
					Value: pulumi.String("1234"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = new Aws.CloudWatch.EventConnection("test", new()
    {
        Name = "ngrok-connection",
        Description = "A connection description",
        AuthorizationType = "API_KEY",
        AuthParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersArgs
        {
            ApiKey = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersApiKeyArgs
            {
                Key = "x-signature",
                Value = "1234",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cloudwatch.EventConnection;
import com.pulumi.aws.cloudwatch.EventConnectionArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersApiKeyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new EventConnection("test", EventConnectionArgs.builder()
            .name("ngrok-connection")
            .description("A connection description")
            .authorizationType("API_KEY")
            .authParameters(EventConnectionAuthParametersArgs.builder()
                .apiKey(EventConnectionAuthParametersApiKeyArgs.builder()
                    .key("x-signature")
                    .value("1234")
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  test:
    type: aws:cloudwatch:EventConnection
    properties:
      name: ngrok-connection
      description: A connection description
      authorizationType: API_KEY
      authParameters:
        apiKey:
          key: x-signature
          value: '1234'
Copy

Basic Authorization

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.cloudwatch.EventConnection("test", {
    name: "ngrok-connection",
    description: "A connection description",
    authorizationType: "BASIC",
    authParameters: {
        basic: {
            username: "user",
            password: "Pass1234!",
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

test = aws.cloudwatch.EventConnection("test",
    name="ngrok-connection",
    description="A connection description",
    authorization_type="BASIC",
    auth_parameters={
        "basic": {
            "username": "user",
            "password": "Pass1234!",
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudwatch.NewEventConnection(ctx, "test", &cloudwatch.EventConnectionArgs{
			Name:              pulumi.String("ngrok-connection"),
			Description:       pulumi.String("A connection description"),
			AuthorizationType: pulumi.String("BASIC"),
			AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{
				Basic: &cloudwatch.EventConnectionAuthParametersBasicArgs{
					Username: pulumi.String("user"),
					Password: pulumi.String("Pass1234!"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = new Aws.CloudWatch.EventConnection("test", new()
    {
        Name = "ngrok-connection",
        Description = "A connection description",
        AuthorizationType = "BASIC",
        AuthParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersArgs
        {
            Basic = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersBasicArgs
            {
                Username = "user",
                Password = "Pass1234!",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cloudwatch.EventConnection;
import com.pulumi.aws.cloudwatch.EventConnectionArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersBasicArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new EventConnection("test", EventConnectionArgs.builder()
            .name("ngrok-connection")
            .description("A connection description")
            .authorizationType("BASIC")
            .authParameters(EventConnectionAuthParametersArgs.builder()
                .basic(EventConnectionAuthParametersBasicArgs.builder()
                    .username("user")
                    .password("Pass1234!")
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  test:
    type: aws:cloudwatch:EventConnection
    properties:
      name: ngrok-connection
      description: A connection description
      authorizationType: BASIC
      authParameters:
        basic:
          username: user
          password: Pass1234!
Copy

OAuth Authorization

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.cloudwatch.EventConnection("test", {
    name: "ngrok-connection",
    description: "A connection description",
    authorizationType: "OAUTH_CLIENT_CREDENTIALS",
    authParameters: {
        oauth: {
            authorizationEndpoint: "https://auth.url.com/endpoint",
            httpMethod: "GET",
            clientParameters: {
                clientId: "1234567890",
                clientSecret: "Pass1234!",
            },
            oauthHttpParameters: {
                bodies: [{
                    key: "body-parameter-key",
                    value: "body-parameter-value",
                    isValueSecret: false,
                }],
                headers: [{
                    key: "header-parameter-key",
                    value: "header-parameter-value",
                    isValueSecret: false,
                }],
                queryStrings: [{
                    key: "query-string-parameter-key",
                    value: "query-string-parameter-value",
                    isValueSecret: false,
                }],
            },
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

test = aws.cloudwatch.EventConnection("test",
    name="ngrok-connection",
    description="A connection description",
    authorization_type="OAUTH_CLIENT_CREDENTIALS",
    auth_parameters={
        "oauth": {
            "authorization_endpoint": "https://auth.url.com/endpoint",
            "http_method": "GET",
            "client_parameters": {
                "client_id": "1234567890",
                "client_secret": "Pass1234!",
            },
            "oauth_http_parameters": {
                "bodies": [{
                    "key": "body-parameter-key",
                    "value": "body-parameter-value",
                    "is_value_secret": False,
                }],
                "headers": [{
                    "key": "header-parameter-key",
                    "value": "header-parameter-value",
                    "is_value_secret": False,
                }],
                "query_strings": [{
                    "key": "query-string-parameter-key",
                    "value": "query-string-parameter-value",
                    "is_value_secret": False,
                }],
            },
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudwatch.NewEventConnection(ctx, "test", &cloudwatch.EventConnectionArgs{
			Name:              pulumi.String("ngrok-connection"),
			Description:       pulumi.String("A connection description"),
			AuthorizationType: pulumi.String("OAUTH_CLIENT_CREDENTIALS"),
			AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{
				Oauth: &cloudwatch.EventConnectionAuthParametersOauthArgs{
					AuthorizationEndpoint: pulumi.String("https://auth.url.com/endpoint"),
					HttpMethod:            pulumi.String("GET"),
					ClientParameters: &cloudwatch.EventConnectionAuthParametersOauthClientParametersArgs{
						ClientId:     pulumi.String("1234567890"),
						ClientSecret: pulumi.String("Pass1234!"),
					},
					OauthHttpParameters: &cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersArgs{
						Bodies: cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersBodyArray{
							&cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs{
								Key:           pulumi.String("body-parameter-key"),
								Value:         pulumi.String("body-parameter-value"),
								IsValueSecret: pulumi.Bool(false),
							},
						},
						Headers: cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray{
							&cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs{
								Key:           pulumi.String("header-parameter-key"),
								Value:         pulumi.String("header-parameter-value"),
								IsValueSecret: pulumi.Bool(false),
							},
						},
						QueryStrings: cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray{
							&cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs{
								Key:           pulumi.String("query-string-parameter-key"),
								Value:         pulumi.String("query-string-parameter-value"),
								IsValueSecret: pulumi.Bool(false),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = new Aws.CloudWatch.EventConnection("test", new()
    {
        Name = "ngrok-connection",
        Description = "A connection description",
        AuthorizationType = "OAUTH_CLIENT_CREDENTIALS",
        AuthParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersArgs
        {
            Oauth = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthArgs
            {
                AuthorizationEndpoint = "https://auth.url.com/endpoint",
                HttpMethod = "GET",
                ClientParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthClientParametersArgs
                {
                    ClientId = "1234567890",
                    ClientSecret = "Pass1234!",
                },
                OauthHttpParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthOauthHttpParametersArgs
                {
                    Bodies = new[]
                    {
                        new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs
                        {
                            Key = "body-parameter-key",
                            Value = "body-parameter-value",
                            IsValueSecret = false,
                        },
                    },
                    Headers = new[]
                    {
                        new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs
                        {
                            Key = "header-parameter-key",
                            Value = "header-parameter-value",
                            IsValueSecret = false,
                        },
                    },
                    QueryStrings = new[]
                    {
                        new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs
                        {
                            Key = "query-string-parameter-key",
                            Value = "query-string-parameter-value",
                            IsValueSecret = false,
                        },
                    },
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cloudwatch.EventConnection;
import com.pulumi.aws.cloudwatch.EventConnectionArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersOauthArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersOauthClientParametersArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersOauthOauthHttpParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new EventConnection("test", EventConnectionArgs.builder()
            .name("ngrok-connection")
            .description("A connection description")
            .authorizationType("OAUTH_CLIENT_CREDENTIALS")
            .authParameters(EventConnectionAuthParametersArgs.builder()
                .oauth(EventConnectionAuthParametersOauthArgs.builder()
                    .authorizationEndpoint("https://auth.url.com/endpoint")
                    .httpMethod("GET")
                    .clientParameters(EventConnectionAuthParametersOauthClientParametersArgs.builder()
                        .clientId("1234567890")
                        .clientSecret("Pass1234!")
                        .build())
                    .oauthHttpParameters(EventConnectionAuthParametersOauthOauthHttpParametersArgs.builder()
                        .bodies(EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs.builder()
                            .key("body-parameter-key")
                            .value("body-parameter-value")
                            .isValueSecret(false)
                            .build())
                        .headers(EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs.builder()
                            .key("header-parameter-key")
                            .value("header-parameter-value")
                            .isValueSecret(false)
                            .build())
                        .queryStrings(EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs.builder()
                            .key("query-string-parameter-key")
                            .value("query-string-parameter-value")
                            .isValueSecret(false)
                            .build())
                        .build())
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  test:
    type: aws:cloudwatch:EventConnection
    properties:
      name: ngrok-connection
      description: A connection description
      authorizationType: OAUTH_CLIENT_CREDENTIALS
      authParameters:
        oauth:
          authorizationEndpoint: https://auth.url.com/endpoint
          httpMethod: GET
          clientParameters:
            clientId: '1234567890'
            clientSecret: Pass1234!
          oauthHttpParameters:
            bodies:
              - key: body-parameter-key
                value: body-parameter-value
                isValueSecret: false
            headers:
              - key: header-parameter-key
                value: header-parameter-value
                isValueSecret: false
            queryStrings:
              - key: query-string-parameter-key
                value: query-string-parameter-value
                isValueSecret: false
Copy

Invocation Http Parameters

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.cloudwatch.EventConnection("test", {
    name: "ngrok-connection",
    description: "A connection description",
    authorizationType: "BASIC",
    authParameters: {
        basic: {
            username: "user",
            password: "Pass1234!",
        },
        invocationHttpParameters: {
            bodies: [
                {
                    key: "body-parameter-key",
                    value: "body-parameter-value",
                    isValueSecret: false,
                },
                {
                    key: "body-parameter-key2",
                    value: "body-parameter-value2",
                    isValueSecret: true,
                },
            ],
            headers: [{
                key: "header-parameter-key",
                value: "header-parameter-value",
                isValueSecret: false,
            }],
            queryStrings: [{
                key: "query-string-parameter-key",
                value: "query-string-parameter-value",
                isValueSecret: false,
            }],
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

test = aws.cloudwatch.EventConnection("test",
    name="ngrok-connection",
    description="A connection description",
    authorization_type="BASIC",
    auth_parameters={
        "basic": {
            "username": "user",
            "password": "Pass1234!",
        },
        "invocation_http_parameters": {
            "bodies": [
                {
                    "key": "body-parameter-key",
                    "value": "body-parameter-value",
                    "is_value_secret": False,
                },
                {
                    "key": "body-parameter-key2",
                    "value": "body-parameter-value2",
                    "is_value_secret": True,
                },
            ],
            "headers": [{
                "key": "header-parameter-key",
                "value": "header-parameter-value",
                "is_value_secret": False,
            }],
            "query_strings": [{
                "key": "query-string-parameter-key",
                "value": "query-string-parameter-value",
                "is_value_secret": False,
            }],
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudwatch.NewEventConnection(ctx, "test", &cloudwatch.EventConnectionArgs{
			Name:              pulumi.String("ngrok-connection"),
			Description:       pulumi.String("A connection description"),
			AuthorizationType: pulumi.String("BASIC"),
			AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{
				Basic: &cloudwatch.EventConnectionAuthParametersBasicArgs{
					Username: pulumi.String("user"),
					Password: pulumi.String("Pass1234!"),
				},
				InvocationHttpParameters: &cloudwatch.EventConnectionAuthParametersInvocationHttpParametersArgs{
					Bodies: cloudwatch.EventConnectionAuthParametersInvocationHttpParametersBodyArray{
						&cloudwatch.EventConnectionAuthParametersInvocationHttpParametersBodyArgs{
							Key:           pulumi.String("body-parameter-key"),
							Value:         pulumi.String("body-parameter-value"),
							IsValueSecret: pulumi.Bool(false),
						},
						&cloudwatch.EventConnectionAuthParametersInvocationHttpParametersBodyArgs{
							Key:           pulumi.String("body-parameter-key2"),
							Value:         pulumi.String("body-parameter-value2"),
							IsValueSecret: pulumi.Bool(true),
						},
					},
					Headers: cloudwatch.EventConnectionAuthParametersInvocationHttpParametersHeaderArray{
						&cloudwatch.EventConnectionAuthParametersInvocationHttpParametersHeaderArgs{
							Key:           pulumi.String("header-parameter-key"),
							Value:         pulumi.String("header-parameter-value"),
							IsValueSecret: pulumi.Bool(false),
						},
					},
					QueryStrings: cloudwatch.EventConnectionAuthParametersInvocationHttpParametersQueryStringArray{
						&cloudwatch.EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs{
							Key:           pulumi.String("query-string-parameter-key"),
							Value:         pulumi.String("query-string-parameter-value"),
							IsValueSecret: pulumi.Bool(false),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = new Aws.CloudWatch.EventConnection("test", new()
    {
        Name = "ngrok-connection",
        Description = "A connection description",
        AuthorizationType = "BASIC",
        AuthParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersArgs
        {
            Basic = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersBasicArgs
            {
                Username = "user",
                Password = "Pass1234!",
            },
            InvocationHttpParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersArgs
            {
                Bodies = new[]
                {
                    new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersBodyArgs
                    {
                        Key = "body-parameter-key",
                        Value = "body-parameter-value",
                        IsValueSecret = false,
                    },
                    new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersBodyArgs
                    {
                        Key = "body-parameter-key2",
                        Value = "body-parameter-value2",
                        IsValueSecret = true,
                    },
                },
                Headers = new[]
                {
                    new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersHeaderArgs
                    {
                        Key = "header-parameter-key",
                        Value = "header-parameter-value",
                        IsValueSecret = false,
                    },
                },
                QueryStrings = new[]
                {
                    new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs
                    {
                        Key = "query-string-parameter-key",
                        Value = "query-string-parameter-value",
                        IsValueSecret = false,
                    },
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cloudwatch.EventConnection;
import com.pulumi.aws.cloudwatch.EventConnectionArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersBasicArgs;
import com.pulumi.aws.cloudwatch.inputs.EventConnectionAuthParametersInvocationHttpParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new EventConnection("test", EventConnectionArgs.builder()
            .name("ngrok-connection")
            .description("A connection description")
            .authorizationType("BASIC")
            .authParameters(EventConnectionAuthParametersArgs.builder()
                .basic(EventConnectionAuthParametersBasicArgs.builder()
                    .username("user")
                    .password("Pass1234!")
                    .build())
                .invocationHttpParameters(EventConnectionAuthParametersInvocationHttpParametersArgs.builder()
                    .bodies(                    
                        EventConnectionAuthParametersInvocationHttpParametersBodyArgs.builder()
                            .key("body-parameter-key")
                            .value("body-parameter-value")
                            .isValueSecret(false)
                            .build(),
                        EventConnectionAuthParametersInvocationHttpParametersBodyArgs.builder()
                            .key("body-parameter-key2")
                            .value("body-parameter-value2")
                            .isValueSecret(true)
                            .build())
                    .headers(EventConnectionAuthParametersInvocationHttpParametersHeaderArgs.builder()
                        .key("header-parameter-key")
                        .value("header-parameter-value")
                        .isValueSecret(false)
                        .build())
                    .queryStrings(EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs.builder()
                        .key("query-string-parameter-key")
                        .value("query-string-parameter-value")
                        .isValueSecret(false)
                        .build())
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  test:
    type: aws:cloudwatch:EventConnection
    properties:
      name: ngrok-connection
      description: A connection description
      authorizationType: BASIC
      authParameters:
        basic:
          username: user
          password: Pass1234!
        invocationHttpParameters:
          bodies:
            - key: body-parameter-key
              value: body-parameter-value
              isValueSecret: false
            - key: body-parameter-key2
              value: body-parameter-value2
              isValueSecret: true
          headers:
            - key: header-parameter-key
              value: header-parameter-value
              isValueSecret: false
          queryStrings:
            - key: query-string-parameter-key
              value: query-string-parameter-value
              isValueSecret: false
Copy

Create EventConnection Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new EventConnection(name: string, args: EventConnectionArgs, opts?: CustomResourceOptions);
@overload
def EventConnection(resource_name: str,
                    args: EventConnectionArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def EventConnection(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    auth_parameters: Optional[EventConnectionAuthParametersArgs] = None,
                    authorization_type: Optional[str] = None,
                    description: Optional[str] = None,
                    invocation_connectivity_parameters: Optional[EventConnectionInvocationConnectivityParametersArgs] = None,
                    name: Optional[str] = None)
func NewEventConnection(ctx *Context, name string, args EventConnectionArgs, opts ...ResourceOption) (*EventConnection, error)
public EventConnection(string name, EventConnectionArgs args, CustomResourceOptions? opts = null)
public EventConnection(String name, EventConnectionArgs args)
public EventConnection(String name, EventConnectionArgs args, CustomResourceOptions options)
type: aws:cloudwatch:EventConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EventConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EventConnectionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EventConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EventConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EventConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var eventConnectionResource = new Aws.CloudWatch.EventConnection("eventConnectionResource", new()
{
    AuthParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersArgs
    {
        ApiKey = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersApiKeyArgs
        {
            Key = "string",
            Value = "string",
        },
        Basic = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersBasicArgs
        {
            Password = "string",
            Username = "string",
        },
        InvocationHttpParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersArgs
        {
            Bodies = new[]
            {
                new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersBodyArgs
                {
                    IsValueSecret = false,
                    Key = "string",
                    Value = "string",
                },
            },
            Headers = new[]
            {
                new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersHeaderArgs
                {
                    IsValueSecret = false,
                    Key = "string",
                    Value = "string",
                },
            },
            QueryStrings = new[]
            {
                new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs
                {
                    IsValueSecret = false,
                    Key = "string",
                    Value = "string",
                },
            },
        },
        Oauth = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthArgs
        {
            AuthorizationEndpoint = "string",
            HttpMethod = "string",
            OauthHttpParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthOauthHttpParametersArgs
            {
                Bodies = new[]
                {
                    new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs
                    {
                        IsValueSecret = false,
                        Key = "string",
                        Value = "string",
                    },
                },
                Headers = new[]
                {
                    new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs
                    {
                        IsValueSecret = false,
                        Key = "string",
                        Value = "string",
                    },
                },
                QueryStrings = new[]
                {
                    new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs
                    {
                        IsValueSecret = false,
                        Key = "string",
                        Value = "string",
                    },
                },
            },
            ClientParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthClientParametersArgs
            {
                ClientId = "string",
                ClientSecret = "string",
            },
        },
    },
    AuthorizationType = "string",
    Description = "string",
    InvocationConnectivityParameters = new Aws.CloudWatch.Inputs.EventConnectionInvocationConnectivityParametersArgs
    {
        ResourceParameters = new Aws.CloudWatch.Inputs.EventConnectionInvocationConnectivityParametersResourceParametersArgs
        {
            ResourceConfigurationArn = "string",
            ResourceAssociationArn = "string",
        },
    },
    Name = "string",
});
Copy
example, err := cloudwatch.NewEventConnection(ctx, "eventConnectionResource", &cloudwatch.EventConnectionArgs{
	AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{
		ApiKey: &cloudwatch.EventConnectionAuthParametersApiKeyArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
		Basic: &cloudwatch.EventConnectionAuthParametersBasicArgs{
			Password: pulumi.String("string"),
			Username: pulumi.String("string"),
		},
		InvocationHttpParameters: &cloudwatch.EventConnectionAuthParametersInvocationHttpParametersArgs{
			Bodies: cloudwatch.EventConnectionAuthParametersInvocationHttpParametersBodyArray{
				&cloudwatch.EventConnectionAuthParametersInvocationHttpParametersBodyArgs{
					IsValueSecret: pulumi.Bool(false),
					Key:           pulumi.String("string"),
					Value:         pulumi.String("string"),
				},
			},
			Headers: cloudwatch.EventConnectionAuthParametersInvocationHttpParametersHeaderArray{
				&cloudwatch.EventConnectionAuthParametersInvocationHttpParametersHeaderArgs{
					IsValueSecret: pulumi.Bool(false),
					Key:           pulumi.String("string"),
					Value:         pulumi.String("string"),
				},
			},
			QueryStrings: cloudwatch.EventConnectionAuthParametersInvocationHttpParametersQueryStringArray{
				&cloudwatch.EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs{
					IsValueSecret: pulumi.Bool(false),
					Key:           pulumi.String("string"),
					Value:         pulumi.String("string"),
				},
			},
		},
		Oauth: &cloudwatch.EventConnectionAuthParametersOauthArgs{
			AuthorizationEndpoint: pulumi.String("string"),
			HttpMethod:            pulumi.String("string"),
			OauthHttpParameters: &cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersArgs{
				Bodies: cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersBodyArray{
					&cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs{
						IsValueSecret: pulumi.Bool(false),
						Key:           pulumi.String("string"),
						Value:         pulumi.String("string"),
					},
				},
				Headers: cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray{
					&cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs{
						IsValueSecret: pulumi.Bool(false),
						Key:           pulumi.String("string"),
						Value:         pulumi.String("string"),
					},
				},
				QueryStrings: cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray{
					&cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs{
						IsValueSecret: pulumi.Bool(false),
						Key:           pulumi.String("string"),
						Value:         pulumi.String("string"),
					},
				},
			},
			ClientParameters: &cloudwatch.EventConnectionAuthParametersOauthClientParametersArgs{
				ClientId:     pulumi.String("string"),
				ClientSecret: pulumi.String("string"),
			},
		},
	},
	AuthorizationType: pulumi.String("string"),
	Description:       pulumi.String("string"),
	InvocationConnectivityParameters: &cloudwatch.EventConnectionInvocationConnectivityParametersArgs{
		ResourceParameters: &cloudwatch.EventConnectionInvocationConnectivityParametersResourceParametersArgs{
			ResourceConfigurationArn: pulumi.String("string"),
			ResourceAssociationArn:   pulumi.String("string"),
		},
	},
	Name: pulumi.String("string"),
})
Copy
var eventConnectionResource = new EventConnection("eventConnectionResource", EventConnectionArgs.builder()
    .authParameters(EventConnectionAuthParametersArgs.builder()
        .apiKey(EventConnectionAuthParametersApiKeyArgs.builder()
            .key("string")
            .value("string")
            .build())
        .basic(EventConnectionAuthParametersBasicArgs.builder()
            .password("string")
            .username("string")
            .build())
        .invocationHttpParameters(EventConnectionAuthParametersInvocationHttpParametersArgs.builder()
            .bodies(EventConnectionAuthParametersInvocationHttpParametersBodyArgs.builder()
                .isValueSecret(false)
                .key("string")
                .value("string")
                .build())
            .headers(EventConnectionAuthParametersInvocationHttpParametersHeaderArgs.builder()
                .isValueSecret(false)
                .key("string")
                .value("string")
                .build())
            .queryStrings(EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs.builder()
                .isValueSecret(false)
                .key("string")
                .value("string")
                .build())
            .build())
        .oauth(EventConnectionAuthParametersOauthArgs.builder()
            .authorizationEndpoint("string")
            .httpMethod("string")
            .oauthHttpParameters(EventConnectionAuthParametersOauthOauthHttpParametersArgs.builder()
                .bodies(EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs.builder()
                    .isValueSecret(false)
                    .key("string")
                    .value("string")
                    .build())
                .headers(EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs.builder()
                    .isValueSecret(false)
                    .key("string")
                    .value("string")
                    .build())
                .queryStrings(EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs.builder()
                    .isValueSecret(false)
                    .key("string")
                    .value("string")
                    .build())
                .build())
            .clientParameters(EventConnectionAuthParametersOauthClientParametersArgs.builder()
                .clientId("string")
                .clientSecret("string")
                .build())
            .build())
        .build())
    .authorizationType("string")
    .description("string")
    .invocationConnectivityParameters(EventConnectionInvocationConnectivityParametersArgs.builder()
        .resourceParameters(EventConnectionInvocationConnectivityParametersResourceParametersArgs.builder()
            .resourceConfigurationArn("string")
            .resourceAssociationArn("string")
            .build())
        .build())
    .name("string")
    .build());
Copy
event_connection_resource = aws.cloudwatch.EventConnection("eventConnectionResource",
    auth_parameters={
        "api_key": {
            "key": "string",
            "value": "string",
        },
        "basic": {
            "password": "string",
            "username": "string",
        },
        "invocation_http_parameters": {
            "bodies": [{
                "is_value_secret": False,
                "key": "string",
                "value": "string",
            }],
            "headers": [{
                "is_value_secret": False,
                "key": "string",
                "value": "string",
            }],
            "query_strings": [{
                "is_value_secret": False,
                "key": "string",
                "value": "string",
            }],
        },
        "oauth": {
            "authorization_endpoint": "string",
            "http_method": "string",
            "oauth_http_parameters": {
                "bodies": [{
                    "is_value_secret": False,
                    "key": "string",
                    "value": "string",
                }],
                "headers": [{
                    "is_value_secret": False,
                    "key": "string",
                    "value": "string",
                }],
                "query_strings": [{
                    "is_value_secret": False,
                    "key": "string",
                    "value": "string",
                }],
            },
            "client_parameters": {
                "client_id": "string",
                "client_secret": "string",
            },
        },
    },
    authorization_type="string",
    description="string",
    invocation_connectivity_parameters={
        "resource_parameters": {
            "resource_configuration_arn": "string",
            "resource_association_arn": "string",
        },
    },
    name="string")
Copy
const eventConnectionResource = new aws.cloudwatch.EventConnection("eventConnectionResource", {
    authParameters: {
        apiKey: {
            key: "string",
            value: "string",
        },
        basic: {
            password: "string",
            username: "string",
        },
        invocationHttpParameters: {
            bodies: [{
                isValueSecret: false,
                key: "string",
                value: "string",
            }],
            headers: [{
                isValueSecret: false,
                key: "string",
                value: "string",
            }],
            queryStrings: [{
                isValueSecret: false,
                key: "string",
                value: "string",
            }],
        },
        oauth: {
            authorizationEndpoint: "string",
            httpMethod: "string",
            oauthHttpParameters: {
                bodies: [{
                    isValueSecret: false,
                    key: "string",
                    value: "string",
                }],
                headers: [{
                    isValueSecret: false,
                    key: "string",
                    value: "string",
                }],
                queryStrings: [{
                    isValueSecret: false,
                    key: "string",
                    value: "string",
                }],
            },
            clientParameters: {
                clientId: "string",
                clientSecret: "string",
            },
        },
    },
    authorizationType: "string",
    description: "string",
    invocationConnectivityParameters: {
        resourceParameters: {
            resourceConfigurationArn: "string",
            resourceAssociationArn: "string",
        },
    },
    name: "string",
});
Copy
type: aws:cloudwatch:EventConnection
properties:
    authParameters:
        apiKey:
            key: string
            value: string
        basic:
            password: string
            username: string
        invocationHttpParameters:
            bodies:
                - isValueSecret: false
                  key: string
                  value: string
            headers:
                - isValueSecret: false
                  key: string
                  value: string
            queryStrings:
                - isValueSecret: false
                  key: string
                  value: string
        oauth:
            authorizationEndpoint: string
            clientParameters:
                clientId: string
                clientSecret: string
            httpMethod: string
            oauthHttpParameters:
                bodies:
                    - isValueSecret: false
                      key: string
                      value: string
                headers:
                    - isValueSecret: false
                      key: string
                      value: string
                queryStrings:
                    - isValueSecret: false
                      key: string
                      value: string
    authorizationType: string
    description: string
    invocationConnectivityParameters:
        resourceParameters:
            resourceAssociationArn: string
            resourceConfigurationArn: string
    name: string
Copy

EventConnection Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The EventConnection resource accepts the following input properties:

AuthParameters This property is required. EventConnectionAuthParameters
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
AuthorizationType This property is required. string
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
Description string
Enter a description for the connection. Maximum of 512 characters.
InvocationConnectivityParameters EventConnectionInvocationConnectivityParameters
The parameters to use for invoking a private API. Documented below.
Name Changes to this property will trigger replacement. string
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
AuthParameters This property is required. EventConnectionAuthParametersArgs
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
AuthorizationType This property is required. string
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
Description string
Enter a description for the connection. Maximum of 512 characters.
InvocationConnectivityParameters EventConnectionInvocationConnectivityParametersArgs
The parameters to use for invoking a private API. Documented below.
Name Changes to this property will trigger replacement. string
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
authParameters This property is required. EventConnectionAuthParameters
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
authorizationType This property is required. String
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
description String
Enter a description for the connection. Maximum of 512 characters.
invocationConnectivityParameters EventConnectionInvocationConnectivityParameters
The parameters to use for invoking a private API. Documented below.
name Changes to this property will trigger replacement. String
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
authParameters This property is required. EventConnectionAuthParameters
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
authorizationType This property is required. string
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
description string
Enter a description for the connection. Maximum of 512 characters.
invocationConnectivityParameters EventConnectionInvocationConnectivityParameters
The parameters to use for invoking a private API. Documented below.
name Changes to this property will trigger replacement. string
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
auth_parameters This property is required. EventConnectionAuthParametersArgs
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
authorization_type This property is required. str
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
description str
Enter a description for the connection. Maximum of 512 characters.
invocation_connectivity_parameters EventConnectionInvocationConnectivityParametersArgs
The parameters to use for invoking a private API. Documented below.
name Changes to this property will trigger replacement. str
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
authParameters This property is required. Property Map
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
authorizationType This property is required. String
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
description String
Enter a description for the connection. Maximum of 512 characters.
invocationConnectivityParameters Property Map
The parameters to use for invoking a private API. Documented below.
name Changes to this property will trigger replacement. String
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.

Outputs

All input properties are implicitly available as output properties. Additionally, the EventConnection resource produces the following output properties:

Arn string
The Amazon Resource Name (ARN) of the connection.
Id string
The provider-assigned unique ID for this managed resource.
SecretArn string
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
Arn string
The Amazon Resource Name (ARN) of the connection.
Id string
The provider-assigned unique ID for this managed resource.
SecretArn string
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
arn String
The Amazon Resource Name (ARN) of the connection.
id String
The provider-assigned unique ID for this managed resource.
secretArn String
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
arn string
The Amazon Resource Name (ARN) of the connection.
id string
The provider-assigned unique ID for this managed resource.
secretArn string
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
arn str
The Amazon Resource Name (ARN) of the connection.
id str
The provider-assigned unique ID for this managed resource.
secret_arn str
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
arn String
The Amazon Resource Name (ARN) of the connection.
id String
The provider-assigned unique ID for this managed resource.
secretArn String
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.

Look up Existing EventConnection Resource

Get an existing EventConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EventConnectionState, opts?: CustomResourceOptions): EventConnection
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        auth_parameters: Optional[EventConnectionAuthParametersArgs] = None,
        authorization_type: Optional[str] = None,
        description: Optional[str] = None,
        invocation_connectivity_parameters: Optional[EventConnectionInvocationConnectivityParametersArgs] = None,
        name: Optional[str] = None,
        secret_arn: Optional[str] = None) -> EventConnection
func GetEventConnection(ctx *Context, name string, id IDInput, state *EventConnectionState, opts ...ResourceOption) (*EventConnection, error)
public static EventConnection Get(string name, Input<string> id, EventConnectionState? state, CustomResourceOptions? opts = null)
public static EventConnection get(String name, Output<String> id, EventConnectionState state, CustomResourceOptions options)
resources:  _:    type: aws:cloudwatch:EventConnection    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string
The Amazon Resource Name (ARN) of the connection.
AuthParameters EventConnectionAuthParameters
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
AuthorizationType string
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
Description string
Enter a description for the connection. Maximum of 512 characters.
InvocationConnectivityParameters EventConnectionInvocationConnectivityParameters
The parameters to use for invoking a private API. Documented below.
Name Changes to this property will trigger replacement. string
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
SecretArn string
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
Arn string
The Amazon Resource Name (ARN) of the connection.
AuthParameters EventConnectionAuthParametersArgs
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
AuthorizationType string
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
Description string
Enter a description for the connection. Maximum of 512 characters.
InvocationConnectivityParameters EventConnectionInvocationConnectivityParametersArgs
The parameters to use for invoking a private API. Documented below.
Name Changes to this property will trigger replacement. string
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
SecretArn string
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
arn String
The Amazon Resource Name (ARN) of the connection.
authParameters EventConnectionAuthParameters
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
authorizationType String
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
description String
Enter a description for the connection. Maximum of 512 characters.
invocationConnectivityParameters EventConnectionInvocationConnectivityParameters
The parameters to use for invoking a private API. Documented below.
name Changes to this property will trigger replacement. String
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
secretArn String
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
arn string
The Amazon Resource Name (ARN) of the connection.
authParameters EventConnectionAuthParameters
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
authorizationType string
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
description string
Enter a description for the connection. Maximum of 512 characters.
invocationConnectivityParameters EventConnectionInvocationConnectivityParameters
The parameters to use for invoking a private API. Documented below.
name Changes to this property will trigger replacement. string
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
secretArn string
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
arn str
The Amazon Resource Name (ARN) of the connection.
auth_parameters EventConnectionAuthParametersArgs
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
authorization_type str
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
description str
Enter a description for the connection. Maximum of 512 characters.
invocation_connectivity_parameters EventConnectionInvocationConnectivityParametersArgs
The parameters to use for invoking a private API. Documented below.
name Changes to this property will trigger replacement. str
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
secret_arn str
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
arn String
The Amazon Resource Name (ARN) of the connection.
authParameters Property Map
Parameters used for authorization. A maximum of 1 are allowed. Documented below.
authorizationType String
Choose the type of authorization to use for the connection. One of API_KEY,BASIC,OAUTH_CLIENT_CREDENTIALS.
description String
Enter a description for the connection. Maximum of 512 characters.
invocationConnectivityParameters Property Map
The parameters to use for invoking a private API. Documented below.
name Changes to this property will trigger replacement. String
The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
secretArn String
The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.

Supporting Types

EventConnectionAuthParameters
, EventConnectionAuthParametersArgs

ApiKey EventConnectionAuthParametersApiKey
Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with basic and oauth. Documented below.
Basic EventConnectionAuthParametersBasic
Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with api_key and oauth. Documented below.
InvocationHttpParameters EventConnectionAuthParametersInvocationHttpParameters
Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
Oauth EventConnectionAuthParametersOauth
Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with basic and api_key. Documented below.
ApiKey EventConnectionAuthParametersApiKey
Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with basic and oauth. Documented below.
Basic EventConnectionAuthParametersBasic
Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with api_key and oauth. Documented below.
InvocationHttpParameters EventConnectionAuthParametersInvocationHttpParameters
Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
Oauth EventConnectionAuthParametersOauth
Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with basic and api_key. Documented below.
apiKey EventConnectionAuthParametersApiKey
Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with basic and oauth. Documented below.
basic EventConnectionAuthParametersBasic
Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with api_key and oauth. Documented below.
invocationHttpParameters EventConnectionAuthParametersInvocationHttpParameters
Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
oauth EventConnectionAuthParametersOauth
Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with basic and api_key. Documented below.
apiKey EventConnectionAuthParametersApiKey
Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with basic and oauth. Documented below.
basic EventConnectionAuthParametersBasic
Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with api_key and oauth. Documented below.
invocationHttpParameters EventConnectionAuthParametersInvocationHttpParameters
Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
oauth EventConnectionAuthParametersOauth
Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with basic and api_key. Documented below.
api_key EventConnectionAuthParametersApiKey
Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with basic and oauth. Documented below.
basic EventConnectionAuthParametersBasic
Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with api_key and oauth. Documented below.
invocation_http_parameters EventConnectionAuthParametersInvocationHttpParameters
Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
oauth EventConnectionAuthParametersOauth
Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with basic and api_key. Documented below.
apiKey Property Map
Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with basic and oauth. Documented below.
basic Property Map
Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with api_key and oauth. Documented below.
invocationHttpParameters Property Map
Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
oauth Property Map
Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with basic and api_key. Documented below.

EventConnectionAuthParametersApiKey
, EventConnectionAuthParametersApiKeyArgs

Key This property is required. string
Header Name.
Value This property is required. string
Header Value. Created and stored in AWS Secrets Manager.
Key This property is required. string
Header Name.
Value This property is required. string
Header Value. Created and stored in AWS Secrets Manager.
key This property is required. String
Header Name.
value This property is required. String
Header Value. Created and stored in AWS Secrets Manager.
key This property is required. string
Header Name.
value This property is required. string
Header Value. Created and stored in AWS Secrets Manager.
key This property is required. str
Header Name.
value This property is required. str
Header Value. Created and stored in AWS Secrets Manager.
key This property is required. String
Header Name.
value This property is required. String
Header Value. Created and stored in AWS Secrets Manager.

EventConnectionAuthParametersBasic
, EventConnectionAuthParametersBasicArgs

Password This property is required. string
A password for the authorization. Created and stored in AWS Secrets Manager.
Username This property is required. string
A username for the authorization.
Password This property is required. string
A password for the authorization. Created and stored in AWS Secrets Manager.
Username This property is required. string
A username for the authorization.
password This property is required. String
A password for the authorization. Created and stored in AWS Secrets Manager.
username This property is required. String
A username for the authorization.
password This property is required. string
A password for the authorization. Created and stored in AWS Secrets Manager.
username This property is required. string
A username for the authorization.
password This property is required. str
A password for the authorization. Created and stored in AWS Secrets Manager.
username This property is required. str
A username for the authorization.
password This property is required. String
A password for the authorization. Created and stored in AWS Secrets Manager.
username This property is required. String
A username for the authorization.

EventConnectionAuthParametersInvocationHttpParameters
, EventConnectionAuthParametersInvocationHttpParametersArgs

Bodies List<EventConnectionAuthParametersInvocationHttpParametersBody>
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
Headers List<EventConnectionAuthParametersInvocationHttpParametersHeader>
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
QueryStrings List<EventConnectionAuthParametersInvocationHttpParametersQueryString>
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
Bodies []EventConnectionAuthParametersInvocationHttpParametersBody
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
Headers []EventConnectionAuthParametersInvocationHttpParametersHeader
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
QueryStrings []EventConnectionAuthParametersInvocationHttpParametersQueryString
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
bodies List<EventConnectionAuthParametersInvocationHttpParametersBody>
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
headers List<EventConnectionAuthParametersInvocationHttpParametersHeader>
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
queryStrings List<EventConnectionAuthParametersInvocationHttpParametersQueryString>
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
bodies EventConnectionAuthParametersInvocationHttpParametersBody[]
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
headers EventConnectionAuthParametersInvocationHttpParametersHeader[]
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
queryStrings EventConnectionAuthParametersInvocationHttpParametersQueryString[]
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
bodies Sequence[EventConnectionAuthParametersInvocationHttpParametersBody]
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
headers Sequence[EventConnectionAuthParametersInvocationHttpParametersHeader]
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
query_strings Sequence[EventConnectionAuthParametersInvocationHttpParametersQueryString]
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
bodies List<Property Map>
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
headers List<Property Map>
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
queryStrings List<Property Map>
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:

EventConnectionAuthParametersInvocationHttpParametersBody
, EventConnectionAuthParametersInvocationHttpParametersBodyArgs

IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret boolean
Specified whether the value is secret.
key string
The key for the parameter.
value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
is_value_secret bool
Specified whether the value is secret.
key str
The key for the parameter.
value str
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

EventConnectionAuthParametersInvocationHttpParametersHeader
, EventConnectionAuthParametersInvocationHttpParametersHeaderArgs

IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret boolean
Specified whether the value is secret.
key string
The key for the parameter.
value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
is_value_secret bool
Specified whether the value is secret.
key str
The key for the parameter.
value str
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

EventConnectionAuthParametersInvocationHttpParametersQueryString
, EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs

IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret boolean
Specified whether the value is secret.
key string
The key for the parameter.
value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
is_value_secret bool
Specified whether the value is secret.
key str
The key for the parameter.
value str
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

EventConnectionAuthParametersOauth
, EventConnectionAuthParametersOauthArgs

AuthorizationEndpoint This property is required. string
The URL to the authorization endpoint.
HttpMethod This property is required. string
A password for the authorization. Created and stored in AWS Secrets Manager.
OauthHttpParameters This property is required. EventConnectionAuthParametersOauthOauthHttpParameters
OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
ClientParameters EventConnectionAuthParametersOauthClientParameters
Contains the client parameters for OAuth authorization. Contains the following two parameters.
AuthorizationEndpoint This property is required. string
The URL to the authorization endpoint.
HttpMethod This property is required. string
A password for the authorization. Created and stored in AWS Secrets Manager.
OauthHttpParameters This property is required. EventConnectionAuthParametersOauthOauthHttpParameters
OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
ClientParameters EventConnectionAuthParametersOauthClientParameters
Contains the client parameters for OAuth authorization. Contains the following two parameters.
authorizationEndpoint This property is required. String
The URL to the authorization endpoint.
httpMethod This property is required. String
A password for the authorization. Created and stored in AWS Secrets Manager.
oauthHttpParameters This property is required. EventConnectionAuthParametersOauthOauthHttpParameters
OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
clientParameters EventConnectionAuthParametersOauthClientParameters
Contains the client parameters for OAuth authorization. Contains the following two parameters.
authorizationEndpoint This property is required. string
The URL to the authorization endpoint.
httpMethod This property is required. string
A password for the authorization. Created and stored in AWS Secrets Manager.
oauthHttpParameters This property is required. EventConnectionAuthParametersOauthOauthHttpParameters
OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
clientParameters EventConnectionAuthParametersOauthClientParameters
Contains the client parameters for OAuth authorization. Contains the following two parameters.
authorization_endpoint This property is required. str
The URL to the authorization endpoint.
http_method This property is required. str
A password for the authorization. Created and stored in AWS Secrets Manager.
oauth_http_parameters This property is required. EventConnectionAuthParametersOauthOauthHttpParameters
OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
client_parameters EventConnectionAuthParametersOauthClientParameters
Contains the client parameters for OAuth authorization. Contains the following two parameters.
authorizationEndpoint This property is required. String
The URL to the authorization endpoint.
httpMethod This property is required. String
A password for the authorization. Created and stored in AWS Secrets Manager.
oauthHttpParameters This property is required. Property Map
OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
clientParameters Property Map
Contains the client parameters for OAuth authorization. Contains the following two parameters.

EventConnectionAuthParametersOauthClientParameters
, EventConnectionAuthParametersOauthClientParametersArgs

ClientId This property is required. string
The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
ClientSecret This property is required. string
The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
ClientId This property is required. string
The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
ClientSecret This property is required. string
The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
clientId This property is required. String
The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
clientSecret This property is required. String
The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
clientId This property is required. string
The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
clientSecret This property is required. string
The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
client_id This property is required. str
The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
client_secret This property is required. str
The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
clientId This property is required. String
The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
clientSecret This property is required. String
The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

EventConnectionAuthParametersOauthOauthHttpParameters
, EventConnectionAuthParametersOauthOauthHttpParametersArgs

Bodies List<EventConnectionAuthParametersOauthOauthHttpParametersBody>
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
Headers List<EventConnectionAuthParametersOauthOauthHttpParametersHeader>
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
QueryStrings List<EventConnectionAuthParametersOauthOauthHttpParametersQueryString>
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
Bodies []EventConnectionAuthParametersOauthOauthHttpParametersBody
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
Headers []EventConnectionAuthParametersOauthOauthHttpParametersHeader
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
QueryStrings []EventConnectionAuthParametersOauthOauthHttpParametersQueryString
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
bodies List<EventConnectionAuthParametersOauthOauthHttpParametersBody>
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
headers List<EventConnectionAuthParametersOauthOauthHttpParametersHeader>
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
queryStrings List<EventConnectionAuthParametersOauthOauthHttpParametersQueryString>
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
bodies EventConnectionAuthParametersOauthOauthHttpParametersBody[]
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
headers EventConnectionAuthParametersOauthOauthHttpParametersHeader[]
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
queryStrings EventConnectionAuthParametersOauthOauthHttpParametersQueryString[]
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
bodies Sequence[EventConnectionAuthParametersOauthOauthHttpParametersBody]
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
headers Sequence[EventConnectionAuthParametersOauthOauthHttpParametersHeader]
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
query_strings Sequence[EventConnectionAuthParametersOauthOauthHttpParametersQueryString]
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
bodies List<Property Map>
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
headers List<Property Map>
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
queryStrings List<Property Map>
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:

EventConnectionAuthParametersOauthOauthHttpParametersBody
, EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs

IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret boolean
Specified whether the value is secret.
key string
The key for the parameter.
value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
is_value_secret bool
Specified whether the value is secret.
key str
The key for the parameter.
value str
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

EventConnectionAuthParametersOauthOauthHttpParametersHeader
, EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs

IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret boolean
Specified whether the value is secret.
key string
The key for the parameter.
value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
is_value_secret bool
Specified whether the value is secret.
key str
The key for the parameter.
value str
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

EventConnectionAuthParametersOauthOauthHttpParametersQueryString
, EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs

IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
IsValueSecret bool
Specified whether the value is secret.
Key string
The key for the parameter.
Value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret boolean
Specified whether the value is secret.
key string
The key for the parameter.
value string
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
is_value_secret bool
Specified whether the value is secret.
key str
The key for the parameter.
value str
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
isValueSecret Boolean
Specified whether the value is secret.
key String
The key for the parameter.
value String
The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

EventConnectionInvocationConnectivityParameters
, EventConnectionInvocationConnectivityParametersArgs

ResourceParameters This property is required. EventConnectionInvocationConnectivityParametersResourceParameters
The parameters for EventBridge to use when invoking the resource endpoint. Documented below.
ResourceParameters This property is required. EventConnectionInvocationConnectivityParametersResourceParameters
The parameters for EventBridge to use when invoking the resource endpoint. Documented below.
resourceParameters This property is required. EventConnectionInvocationConnectivityParametersResourceParameters
The parameters for EventBridge to use when invoking the resource endpoint. Documented below.
resourceParameters This property is required. EventConnectionInvocationConnectivityParametersResourceParameters
The parameters for EventBridge to use when invoking the resource endpoint. Documented below.
resource_parameters This property is required. EventConnectionInvocationConnectivityParametersResourceParameters
The parameters for EventBridge to use when invoking the resource endpoint. Documented below.
resourceParameters This property is required. Property Map
The parameters for EventBridge to use when invoking the resource endpoint. Documented below.

EventConnectionInvocationConnectivityParametersResourceParameters
, EventConnectionInvocationConnectivityParametersResourceParametersArgs

ResourceConfigurationArn This property is required. string
ARN of the Amazon VPC Lattice resource configuration for the resource endpoint.
ResourceAssociationArn string
ResourceConfigurationArn This property is required. string
ARN of the Amazon VPC Lattice resource configuration for the resource endpoint.
ResourceAssociationArn string
resourceConfigurationArn This property is required. String
ARN of the Amazon VPC Lattice resource configuration for the resource endpoint.
resourceAssociationArn String
resourceConfigurationArn This property is required. string
ARN of the Amazon VPC Lattice resource configuration for the resource endpoint.
resourceAssociationArn string
resource_configuration_arn This property is required. str
ARN of the Amazon VPC Lattice resource configuration for the resource endpoint.
resource_association_arn str
resourceConfigurationArn This property is required. String
ARN of the Amazon VPC Lattice resource configuration for the resource endpoint.
resourceAssociationArn String

Import

Using pulumi import, import EventBridge EventBridge connection using the name. For example:

$ pulumi import aws:cloudwatch/eventConnection:EventConnection test ngrok-connection
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.