AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

EventConnection

Provides an EventBridge connection resource.

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

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var test = new Aws.CloudWatch.EventConnection("test", new Aws.CloudWatch.EventConnectionArgs
        {
            AuthParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersArgs
            {
                ApiKey = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersApiKeyArgs
                {
                    Key = "x-signature",
                    Value = "1234",
                },
            },
            AuthorizationType = "API_KEY",
            Description = "A connection description",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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{
			AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{
				ApiKey: &cloudwatch.EventConnectionAuthParametersApiKeyArgs{
					Key:   pulumi.String("x-signature"),
					Value: pulumi.String("1234"),
				},
			},
			AuthorizationType: pulumi.String("API_KEY"),
			Description:       pulumi.String("A connection description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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()        
            .authParameters(EventConnectionAuthParametersArgs.builder()
                .apiKey(EventConnectionAuthParametersApiKeyArgs.builder()
                    .key("x-signature")
                    .value("1234")
                    .build())
                .build())
            .authorizationType("API_KEY")
            .description("A connection description")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

test = aws.cloudwatch.EventConnection("test",
    auth_parameters=aws.cloudwatch.EventConnectionAuthParametersArgs(
        api_key=aws.cloudwatch.EventConnectionAuthParametersApiKeyArgs(
            key="x-signature",
            value="1234",
        ),
    ),
    authorization_type="API_KEY",
    description="A connection description")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.cloudwatch.EventConnection("test", {
    authParameters: {
        apiKey: {
            key: "x-signature",
            value: "1234",
        },
    },
    authorizationType: "API_KEY",
    description: "A connection description",
});
resources:
  test:
    type: aws:cloudwatch:EventConnection
    properties:
      authParameters:
        apiKey:
          key: x-signature
          value: 1234
      authorizationType: API_KEY
      description: A connection description

Basic Authorization

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var test = new Aws.CloudWatch.EventConnection("test", new Aws.CloudWatch.EventConnectionArgs
        {
            AuthParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersArgs
            {
                Basic = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersBasicArgs
                {
                    Password = "Pass1234!",
                    Username = "user",
                },
            },
            AuthorizationType = "BASIC",
            Description = "A connection description",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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{
			AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{
				Basic: &cloudwatch.EventConnectionAuthParametersBasicArgs{
					Password: pulumi.String("Pass1234!"),
					Username: pulumi.String("user"),
				},
			},
			AuthorizationType: pulumi.String("BASIC"),
			Description:       pulumi.String("A connection description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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()        
            .authParameters(EventConnectionAuthParametersArgs.builder()
                .basic(EventConnectionAuthParametersBasicArgs.builder()
                    .password("Pass1234!")
                    .username("user")
                    .build())
                .build())
            .authorizationType("BASIC")
            .description("A connection description")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

test = aws.cloudwatch.EventConnection("test",
    auth_parameters=aws.cloudwatch.EventConnectionAuthParametersArgs(
        basic=aws.cloudwatch.EventConnectionAuthParametersBasicArgs(
            password="Pass1234!",
            username="user",
        ),
    ),
    authorization_type="BASIC",
    description="A connection description")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.cloudwatch.EventConnection("test", {
    authParameters: {
        basic: {
            password: "Pass1234!",
            username: "user",
        },
    },
    authorizationType: "BASIC",
    description: "A connection description",
});
resources:
  test:
    type: aws:cloudwatch:EventConnection
    properties:
      authParameters:
        basic:
          password: Pass1234!
          username: user
      authorizationType: BASIC
      description: A connection description

OAuth Authorization

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var test = new Aws.CloudWatch.EventConnection("test", new Aws.CloudWatch.EventConnectionArgs
        {
            AuthParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersArgs
            {
                Oauth = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthArgs
                {
                    AuthorizationEndpoint = "https://auth.url.com/endpoint",
                    ClientParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthClientParametersArgs
                    {
                        ClientId = "1234567890",
                        ClientSecret = "Pass1234!",
                    },
                    HttpMethod = "GET",
                    OauthHttpParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersOauthOauthHttpParametersArgs
                    {
                        Body = 
                        {
                            
                            {
                                { "isValueSecret", false },
                                { "key", "body-parameter-key" },
                                { "value", "body-parameter-value" },
                            },
                        },
                        Header = 
                        {
                            
                            {
                                { "isValueSecret", false },
                                { "key", "header-parameter-key" },
                                { "value", "header-parameter-value" },
                            },
                        },
                        QueryString = 
                        {
                            
                            {
                                { "isValueSecret", false },
                                { "key", "query-string-parameter-key" },
                                { "value", "query-string-parameter-value" },
                            },
                        },
                    },
                },
            },
            AuthorizationType = "OAUTH_CLIENT_CREDENTIALS",
            Description = "A connection description",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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{
			AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{
				Oauth: &cloudwatch.EventConnectionAuthParametersOauthArgs{
					AuthorizationEndpoint: pulumi.String("https://auth.url.com/endpoint"),
					ClientParameters: &cloudwatch.EventConnectionAuthParametersOauthClientParametersArgs{
						ClientId:     pulumi.String("1234567890"),
						ClientSecret: pulumi.String("Pass1234!"),
					},
					HttpMethod: pulumi.String("GET"),
					OauthHttpParameters: &cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersArgs{
						Body: []map[string]interface{}{
							map[string]interface{}{
								"isValueSecret": false,
								"key":           "body-parameter-key",
								"value":         "body-parameter-value",
							},
						},
						Header: []map[string]interface{}{
							map[string]interface{}{
								"isValueSecret": false,
								"key":           "header-parameter-key",
								"value":         "header-parameter-value",
							},
						},
						QueryString: []map[string]interface{}{
							map[string]interface{}{
								"isValueSecret": false,
								"key":           "query-string-parameter-key",
								"value":         "query-string-parameter-value",
							},
						},
					},
				},
			},
			AuthorizationType: pulumi.String("OAUTH_CLIENT_CREDENTIALS"),
			Description:       pulumi.String("A connection description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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()        
            .authParameters(EventConnectionAuthParametersArgs.builder()
                .oauth(EventConnectionAuthParametersOauthArgs.builder()
                    .authorizationEndpoint("https://auth.url.com/endpoint")
                    .clientParameters(EventConnectionAuthParametersOauthClientParametersArgs.builder()
                        .clientId("1234567890")
                        .clientSecret("Pass1234!")
                        .build())
                    .httpMethod("GET")
                    .oauthHttpParameters(EventConnectionAuthParametersOauthOauthHttpParametersArgs.builder()
                        .body(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .header(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .queryString(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .build())
                    .build())
                .build())
            .authorizationType("OAUTH_CLIENT_CREDENTIALS")
            .description("A connection description")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

test = aws.cloudwatch.EventConnection("test",
    auth_parameters=aws.cloudwatch.EventConnectionAuthParametersArgs(
        oauth=aws.cloudwatch.EventConnectionAuthParametersOauthArgs(
            authorization_endpoint="https://auth.url.com/endpoint",
            client_parameters=aws.cloudwatch.EventConnectionAuthParametersOauthClientParametersArgs(
                client_id="1234567890",
                client_secret="Pass1234!",
            ),
            http_method="GET",
            oauth_http_parameters=aws.cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersArgs(
                body=[{
                    "isValueSecret": False,
                    "key": "body-parameter-key",
                    "value": "body-parameter-value",
                }],
                header=[{
                    "isValueSecret": False,
                    "key": "header-parameter-key",
                    "value": "header-parameter-value",
                }],
                query_string=[{
                    "isValueSecret": False,
                    "key": "query-string-parameter-key",
                    "value": "query-string-parameter-value",
                }],
            ),
        ),
    ),
    authorization_type="OAUTH_CLIENT_CREDENTIALS",
    description="A connection description")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

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

Invocation Http Parameters

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var test = new Aws.CloudWatch.EventConnection("test", new Aws.CloudWatch.EventConnectionArgs
        {
            AuthParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersArgs
            {
                Basic = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersBasicArgs
                {
                    Password = "Pass1234!",
                    Username = "user",
                },
                InvocationHttpParameters = new Aws.CloudWatch.Inputs.EventConnectionAuthParametersInvocationHttpParametersArgs
                {
                    Body = 
                    {
                        
                        {
                            { "isValueSecret", false },
                            { "key", "body-parameter-key" },
                            { "value", "body-parameter-value" },
                        },
                        
                        {
                            { "isValueSecret", true },
                            { "key", "body-parameter-key2" },
                            { "value", "body-parameter-value2" },
                        },
                    },
                    Header = 
                    {
                        
                        {
                            { "isValueSecret", false },
                            { "key", "header-parameter-key" },
                            { "value", "header-parameter-value" },
                        },
                    },
                    QueryString = 
                    {
                        
                        {
                            { "isValueSecret", false },
                            { "key", "query-string-parameter-key" },
                            { "value", "query-string-parameter-value" },
                        },
                    },
                },
            },
            AuthorizationType = "BASIC",
            Description = "A connection description",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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{
			AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{
				Basic: &cloudwatch.EventConnectionAuthParametersBasicArgs{
					Password: pulumi.String("Pass1234!"),
					Username: pulumi.String("user"),
				},
				InvocationHttpParameters: &cloudwatch.EventConnectionAuthParametersInvocationHttpParametersArgs{
					Body: []interface{}{
						map[string]interface{}{
							"isValueSecret": false,
							"key":           "body-parameter-key",
							"value":         "body-parameter-value",
						},
						map[string]interface{}{
							"isValueSecret": true,
							"key":           "body-parameter-key2",
							"value":         "body-parameter-value2",
						},
					},
					Header: []map[string]interface{}{
						map[string]interface{}{
							"isValueSecret": false,
							"key":           "header-parameter-key",
							"value":         "header-parameter-value",
						},
					},
					QueryString: []map[string]interface{}{
						map[string]interface{}{
							"isValueSecret": false,
							"key":           "query-string-parameter-key",
							"value":         "query-string-parameter-value",
						},
					},
				},
			},
			AuthorizationType: pulumi.String("BASIC"),
			Description:       pulumi.String("A connection description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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()        
            .authParameters(EventConnectionAuthParametersArgs.builder()
                .basic(EventConnectionAuthParametersBasicArgs.builder()
                    .password("Pass1234!")
                    .username("user")
                    .build())
                .invocationHttpParameters(EventConnectionAuthParametersInvocationHttpParametersArgs.builder()
                    .body(                    
                        %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
                        %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .header(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .queryString(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build())
                .build())
            .authorizationType("BASIC")
            .description("A connection description")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

test = aws.cloudwatch.EventConnection("test",
    auth_parameters=aws.cloudwatch.EventConnectionAuthParametersArgs(
        basic=aws.cloudwatch.EventConnectionAuthParametersBasicArgs(
            password="Pass1234!",
            username="user",
        ),
        invocation_http_parameters=aws.cloudwatch.EventConnectionAuthParametersInvocationHttpParametersArgs(
            body=[
                {
                    "isValueSecret": False,
                    "key": "body-parameter-key",
                    "value": "body-parameter-value",
                },
                {
                    "isValueSecret": True,
                    "key": "body-parameter-key2",
                    "value": "body-parameter-value2",
                },
            ],
            header=[{
                "isValueSecret": False,
                "key": "header-parameter-key",
                "value": "header-parameter-value",
            }],
            query_string=[{
                "isValueSecret": False,
                "key": "query-string-parameter-key",
                "value": "query-string-parameter-value",
            }],
        ),
    ),
    authorization_type="BASIC",
    description="A connection description")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

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

Create a EventConnection Resource

new EventConnection(name: string, args: EventConnectionArgs, opts?: CustomResourceOptions);
@overload
def EventConnection(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    auth_parameters: Optional[EventConnectionAuthParametersArgs] = None,
                    authorization_type: Optional[str] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None)
@overload
def EventConnection(resource_name: str,
                    args: EventConnectionArgs,
                    opts: Optional[ResourceOptions] = 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.

name string
The unique name of the resource.
args EventConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args 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 string
The unique name of the resource.
args EventConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EventConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EventConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

The EventConnection resource accepts the following input properties:

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.

Name string

The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.

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.

Name string

The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.

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.

name String

The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.

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.

name string

The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.

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.

name str

The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.

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.

name 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 an 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,
        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)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
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 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.

Name 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.

Name 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.

name 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.

name 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.

name 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.

name 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

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

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

key string

Header Name.

value string

Header Value. Created and stored in AWS Secrets Manager.

key str

Header Name.

value str

Header Value. Created and stored in AWS Secrets Manager.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

EventConnectionAuthParametersBasic

Password string

A password for the authorization. Created and stored in AWS Secrets Manager.

Username string

A username for the authorization.

Password string

A password for the authorization. Created and stored in AWS Secrets Manager.

Username string

A username for the authorization.

password String

A password for the authorization. Created and stored in AWS Secrets Manager.

username String

A username for the authorization.

password string

A password for the authorization. Created and stored in AWS Secrets Manager.

username string

A username for the authorization.

password str

A password for the authorization. Created and stored in AWS Secrets Manager.

username str

A username for the authorization.

password String

A password for the authorization. Created and stored in AWS Secrets Manager.

username String

A username for the authorization.

EventConnectionAuthParametersInvocationHttpParameters

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

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret boolean

Specified whether the value is secret.

key string

Header Name.

value string

Header Value. Created and stored in AWS Secrets Manager.

is_value_secret bool

Specified whether the value is secret.

key str

Header Name.

value str

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

EventConnectionAuthParametersInvocationHttpParametersHeader

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret boolean

Specified whether the value is secret.

key string

Header Name.

value string

Header Value. Created and stored in AWS Secrets Manager.

is_value_secret bool

Specified whether the value is secret.

key str

Header Name.

value str

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

EventConnectionAuthParametersInvocationHttpParametersQueryString

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret boolean

Specified whether the value is secret.

key string

Header Name.

value string

Header Value. Created and stored in AWS Secrets Manager.

is_value_secret bool

Specified whether the value is secret.

key str

Header Name.

value str

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

EventConnectionAuthParametersOauth

AuthorizationEndpoint string

The URL to the authorization endpoint.

HttpMethod string

A password for the authorization. Created and stored in AWS Secrets Manager.

OauthHttpParameters 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 string

The URL to the authorization endpoint.

HttpMethod string

A password for the authorization. Created and stored in AWS Secrets Manager.

OauthHttpParameters 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 String

The URL to the authorization endpoint.

httpMethod String

A password for the authorization. Created and stored in AWS Secrets Manager.

oauthHttpParameters 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 string

The URL to the authorization endpoint.

httpMethod string

A password for the authorization. Created and stored in AWS Secrets Manager.

oauthHttpParameters 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 str

The URL to the authorization endpoint.

http_method str

A password for the authorization. Created and stored in AWS Secrets Manager.

oauth_http_parameters 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 String

The URL to the authorization endpoint.

httpMethod String

A password for the authorization. Created and stored in AWS Secrets Manager.

oauthHttpParameters 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

ClientId string

The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

ClientSecret string

The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

ClientId string

The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

ClientSecret string

The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

clientId String

The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

clientSecret String

The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

clientId string

The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

clientSecret string

The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

client_id str

The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

client_secret str

The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

clientId String

The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

clientSecret String

The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.

EventConnectionAuthParametersOauthOauthHttpParameters

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

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret boolean

Specified whether the value is secret.

key string

Header Name.

value string

Header Value. Created and stored in AWS Secrets Manager.

is_value_secret bool

Specified whether the value is secret.

key str

Header Name.

value str

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

EventConnectionAuthParametersOauthOauthHttpParametersHeader

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret boolean

Specified whether the value is secret.

key string

Header Name.

value string

Header Value. Created and stored in AWS Secrets Manager.

is_value_secret bool

Specified whether the value is secret.

key str

Header Name.

value str

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

EventConnectionAuthParametersOauthOauthHttpParametersQueryString

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

IsValueSecret bool

Specified whether the value is secret.

Key string

Header Name.

Value string

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret boolean

Specified whether the value is secret.

key string

Header Name.

value string

Header Value. Created and stored in AWS Secrets Manager.

is_value_secret bool

Specified whether the value is secret.

key str

Header Name.

value str

Header Value. Created and stored in AWS Secrets Manager.

isValueSecret Boolean

Specified whether the value is secret.

key String

Header Name.

value String

Header Value. Created and stored in AWS Secrets Manager.

Import

EventBridge Connection can be imported using the name, e.g., console

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

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.