cloudwatch

package
v6.66.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompositeAlarm

type CompositeAlarm struct {
	pulumi.CustomResourceState

	// Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to `true`.
	ActionsEnabled pulumi.BoolPtrOutput `pulumi:"actionsEnabled"`
	// Actions will be suppressed if the suppressor alarm is in the ALARM state.
	ActionsSuppressor CompositeAlarmActionsSuppressorPtrOutput `pulumi:"actionsSuppressor"`
	// The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	AlarmActions pulumi.StringArrayOutput `pulumi:"alarmActions"`
	// The description for the composite alarm.
	AlarmDescription pulumi.StringPtrOutput `pulumi:"alarmDescription"`
	// The name for the composite alarm. This name must be unique within the region.
	AlarmName pulumi.StringOutput `pulumi:"alarmName"`
	// An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see [Creating a Composite Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html). The maximum length is 10240 characters.
	AlarmRule pulumi.StringOutput `pulumi:"alarmRule"`
	// The ARN of the composite alarm.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	InsufficientDataActions pulumi.StringArrayOutput `pulumi:"insufficientDataActions"`
	// The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	OkActions pulumi.StringArrayOutput `pulumi:"okActions"`
	// A map of tags to associate with the alarm. Up to 50 tags are allowed. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a CloudWatch Composite Alarm resource.

> **NOTE:** An alarm (composite or metric) cannot be destroyed when there are other composite alarms depending on it. This can lead to a cyclical dependency on update, as the provider will unsuccessfully attempt to destroy alarms before updating the rule. Consider using `dependsOn`, references to alarm names, and two-stage updates.

## Example Usage

```go package main

import (

"fmt"

"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.NewCompositeAlarm(ctx, "example", &cloudwatch.CompositeAlarmArgs{
			AlarmDescription: pulumi.String("This is a composite alarm!"),
			AlarmName:        pulumi.String("example-composite-alarm"),
			AlarmActions:     pulumi.Any(exampleAwsSnsTopic.Arn),
			OkActions:        pulumi.Any(exampleAwsSnsTopic.Arn),
			AlarmRule:        pulumi.Sprintf("ALARM(%v) OR\nALARM(%v)\n", alpha.AlarmName, bravo.AlarmName),
			ActionsSuppressor: &cloudwatch.CompositeAlarmActionsSuppressorArgs{
				Alarm:           pulumi.String("suppressor-alarm"),
				ExtensionPeriod: pulumi.Int(10),
				WaitPeriod:      pulumi.Int(20),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import a CloudWatch Composite Alarm using the `alarm_name`. For example:

```sh $ pulumi import aws:cloudwatch/compositeAlarm:CompositeAlarm test my-alarm ```

func GetCompositeAlarm

func GetCompositeAlarm(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CompositeAlarmState, opts ...pulumi.ResourceOption) (*CompositeAlarm, error)

GetCompositeAlarm gets an existing CompositeAlarm resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCompositeAlarm

func NewCompositeAlarm(ctx *pulumi.Context,
	name string, args *CompositeAlarmArgs, opts ...pulumi.ResourceOption) (*CompositeAlarm, error)

NewCompositeAlarm registers a new resource with the given unique name, arguments, and options.

func (*CompositeAlarm) ElementType

func (*CompositeAlarm) ElementType() reflect.Type

func (*CompositeAlarm) ToCompositeAlarmOutput

func (i *CompositeAlarm) ToCompositeAlarmOutput() CompositeAlarmOutput

func (*CompositeAlarm) ToCompositeAlarmOutputWithContext

func (i *CompositeAlarm) ToCompositeAlarmOutputWithContext(ctx context.Context) CompositeAlarmOutput

type CompositeAlarmActionsSuppressor added in v6.1.0

type CompositeAlarmActionsSuppressor struct {
	// Can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.
	Alarm string `pulumi:"alarm"`
	// The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the `ALARM` state. After this time, the composite alarm performs its actions.
	ExtensionPeriod int `pulumi:"extensionPeriod"`
	// The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the `ALARM` state. After this time, the composite alarm performs its actions.
	WaitPeriod int `pulumi:"waitPeriod"`
}

type CompositeAlarmActionsSuppressorArgs added in v6.1.0

type CompositeAlarmActionsSuppressorArgs struct {
	// Can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.
	Alarm pulumi.StringInput `pulumi:"alarm"`
	// The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the `ALARM` state. After this time, the composite alarm performs its actions.
	ExtensionPeriod pulumi.IntInput `pulumi:"extensionPeriod"`
	// The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the `ALARM` state. After this time, the composite alarm performs its actions.
	WaitPeriod pulumi.IntInput `pulumi:"waitPeriod"`
}

func (CompositeAlarmActionsSuppressorArgs) ElementType added in v6.1.0

func (CompositeAlarmActionsSuppressorArgs) ToCompositeAlarmActionsSuppressorOutput added in v6.1.0

func (i CompositeAlarmActionsSuppressorArgs) ToCompositeAlarmActionsSuppressorOutput() CompositeAlarmActionsSuppressorOutput

func (CompositeAlarmActionsSuppressorArgs) ToCompositeAlarmActionsSuppressorOutputWithContext added in v6.1.0

func (i CompositeAlarmActionsSuppressorArgs) ToCompositeAlarmActionsSuppressorOutputWithContext(ctx context.Context) CompositeAlarmActionsSuppressorOutput

func (CompositeAlarmActionsSuppressorArgs) ToCompositeAlarmActionsSuppressorPtrOutput added in v6.1.0

func (i CompositeAlarmActionsSuppressorArgs) ToCompositeAlarmActionsSuppressorPtrOutput() CompositeAlarmActionsSuppressorPtrOutput

func (CompositeAlarmActionsSuppressorArgs) ToCompositeAlarmActionsSuppressorPtrOutputWithContext added in v6.1.0

func (i CompositeAlarmActionsSuppressorArgs) ToCompositeAlarmActionsSuppressorPtrOutputWithContext(ctx context.Context) CompositeAlarmActionsSuppressorPtrOutput

type CompositeAlarmActionsSuppressorInput added in v6.1.0

type CompositeAlarmActionsSuppressorInput interface {
	pulumi.Input

	ToCompositeAlarmActionsSuppressorOutput() CompositeAlarmActionsSuppressorOutput
	ToCompositeAlarmActionsSuppressorOutputWithContext(context.Context) CompositeAlarmActionsSuppressorOutput
}

CompositeAlarmActionsSuppressorInput is an input type that accepts CompositeAlarmActionsSuppressorArgs and CompositeAlarmActionsSuppressorOutput values. You can construct a concrete instance of `CompositeAlarmActionsSuppressorInput` via:

CompositeAlarmActionsSuppressorArgs{...}

type CompositeAlarmActionsSuppressorOutput added in v6.1.0

type CompositeAlarmActionsSuppressorOutput struct{ *pulumi.OutputState }

func (CompositeAlarmActionsSuppressorOutput) Alarm added in v6.1.0

Can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.

func (CompositeAlarmActionsSuppressorOutput) ElementType added in v6.1.0

func (CompositeAlarmActionsSuppressorOutput) ExtensionPeriod added in v6.1.0

The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the `ALARM` state. After this time, the composite alarm performs its actions.

func (CompositeAlarmActionsSuppressorOutput) ToCompositeAlarmActionsSuppressorOutput added in v6.1.0

func (o CompositeAlarmActionsSuppressorOutput) ToCompositeAlarmActionsSuppressorOutput() CompositeAlarmActionsSuppressorOutput

func (CompositeAlarmActionsSuppressorOutput) ToCompositeAlarmActionsSuppressorOutputWithContext added in v6.1.0

func (o CompositeAlarmActionsSuppressorOutput) ToCompositeAlarmActionsSuppressorOutputWithContext(ctx context.Context) CompositeAlarmActionsSuppressorOutput

func (CompositeAlarmActionsSuppressorOutput) ToCompositeAlarmActionsSuppressorPtrOutput added in v6.1.0

func (o CompositeAlarmActionsSuppressorOutput) ToCompositeAlarmActionsSuppressorPtrOutput() CompositeAlarmActionsSuppressorPtrOutput

func (CompositeAlarmActionsSuppressorOutput) ToCompositeAlarmActionsSuppressorPtrOutputWithContext added in v6.1.0

func (o CompositeAlarmActionsSuppressorOutput) ToCompositeAlarmActionsSuppressorPtrOutputWithContext(ctx context.Context) CompositeAlarmActionsSuppressorPtrOutput

func (CompositeAlarmActionsSuppressorOutput) WaitPeriod added in v6.1.0

The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the `ALARM` state. After this time, the composite alarm performs its actions.

type CompositeAlarmActionsSuppressorPtrInput added in v6.1.0

type CompositeAlarmActionsSuppressorPtrInput interface {
	pulumi.Input

	ToCompositeAlarmActionsSuppressorPtrOutput() CompositeAlarmActionsSuppressorPtrOutput
	ToCompositeAlarmActionsSuppressorPtrOutputWithContext(context.Context) CompositeAlarmActionsSuppressorPtrOutput
}

CompositeAlarmActionsSuppressorPtrInput is an input type that accepts CompositeAlarmActionsSuppressorArgs, CompositeAlarmActionsSuppressorPtr and CompositeAlarmActionsSuppressorPtrOutput values. You can construct a concrete instance of `CompositeAlarmActionsSuppressorPtrInput` via:

        CompositeAlarmActionsSuppressorArgs{...}

or:

        nil

type CompositeAlarmActionsSuppressorPtrOutput added in v6.1.0

type CompositeAlarmActionsSuppressorPtrOutput struct{ *pulumi.OutputState }

func (CompositeAlarmActionsSuppressorPtrOutput) Alarm added in v6.1.0

Can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.

func (CompositeAlarmActionsSuppressorPtrOutput) Elem added in v6.1.0

func (CompositeAlarmActionsSuppressorPtrOutput) ElementType added in v6.1.0

func (CompositeAlarmActionsSuppressorPtrOutput) ExtensionPeriod added in v6.1.0

The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the `ALARM` state. After this time, the composite alarm performs its actions.

func (CompositeAlarmActionsSuppressorPtrOutput) ToCompositeAlarmActionsSuppressorPtrOutput added in v6.1.0

func (o CompositeAlarmActionsSuppressorPtrOutput) ToCompositeAlarmActionsSuppressorPtrOutput() CompositeAlarmActionsSuppressorPtrOutput

func (CompositeAlarmActionsSuppressorPtrOutput) ToCompositeAlarmActionsSuppressorPtrOutputWithContext added in v6.1.0

func (o CompositeAlarmActionsSuppressorPtrOutput) ToCompositeAlarmActionsSuppressorPtrOutputWithContext(ctx context.Context) CompositeAlarmActionsSuppressorPtrOutput

func (CompositeAlarmActionsSuppressorPtrOutput) WaitPeriod added in v6.1.0

The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the `ALARM` state. After this time, the composite alarm performs its actions.

type CompositeAlarmArgs

type CompositeAlarmArgs struct {
	// Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to `true`.
	ActionsEnabled pulumi.BoolPtrInput
	// Actions will be suppressed if the suppressor alarm is in the ALARM state.
	ActionsSuppressor CompositeAlarmActionsSuppressorPtrInput
	// The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	AlarmActions pulumi.StringArrayInput
	// The description for the composite alarm.
	AlarmDescription pulumi.StringPtrInput
	// The name for the composite alarm. This name must be unique within the region.
	AlarmName pulumi.StringInput
	// An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see [Creating a Composite Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html). The maximum length is 10240 characters.
	AlarmRule pulumi.StringInput
	// The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	InsufficientDataActions pulumi.StringArrayInput
	// The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	OkActions pulumi.StringArrayInput
	// A map of tags to associate with the alarm. Up to 50 tags are allowed. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a CompositeAlarm resource.

func (CompositeAlarmArgs) ElementType

func (CompositeAlarmArgs) ElementType() reflect.Type

type CompositeAlarmArray

type CompositeAlarmArray []CompositeAlarmInput

func (CompositeAlarmArray) ElementType

func (CompositeAlarmArray) ElementType() reflect.Type

func (CompositeAlarmArray) ToCompositeAlarmArrayOutput

func (i CompositeAlarmArray) ToCompositeAlarmArrayOutput() CompositeAlarmArrayOutput

func (CompositeAlarmArray) ToCompositeAlarmArrayOutputWithContext

func (i CompositeAlarmArray) ToCompositeAlarmArrayOutputWithContext(ctx context.Context) CompositeAlarmArrayOutput

type CompositeAlarmArrayInput

type CompositeAlarmArrayInput interface {
	pulumi.Input

	ToCompositeAlarmArrayOutput() CompositeAlarmArrayOutput
	ToCompositeAlarmArrayOutputWithContext(context.Context) CompositeAlarmArrayOutput
}

CompositeAlarmArrayInput is an input type that accepts CompositeAlarmArray and CompositeAlarmArrayOutput values. You can construct a concrete instance of `CompositeAlarmArrayInput` via:

CompositeAlarmArray{ CompositeAlarmArgs{...} }

type CompositeAlarmArrayOutput

type CompositeAlarmArrayOutput struct{ *pulumi.OutputState }

func (CompositeAlarmArrayOutput) ElementType

func (CompositeAlarmArrayOutput) ElementType() reflect.Type

func (CompositeAlarmArrayOutput) Index

func (CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutput

func (o CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutput() CompositeAlarmArrayOutput

func (CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutputWithContext

func (o CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutputWithContext(ctx context.Context) CompositeAlarmArrayOutput

type CompositeAlarmInput

type CompositeAlarmInput interface {
	pulumi.Input

	ToCompositeAlarmOutput() CompositeAlarmOutput
	ToCompositeAlarmOutputWithContext(ctx context.Context) CompositeAlarmOutput
}

type CompositeAlarmMap

type CompositeAlarmMap map[string]CompositeAlarmInput

func (CompositeAlarmMap) ElementType

func (CompositeAlarmMap) ElementType() reflect.Type

func (CompositeAlarmMap) ToCompositeAlarmMapOutput

func (i CompositeAlarmMap) ToCompositeAlarmMapOutput() CompositeAlarmMapOutput

func (CompositeAlarmMap) ToCompositeAlarmMapOutputWithContext

func (i CompositeAlarmMap) ToCompositeAlarmMapOutputWithContext(ctx context.Context) CompositeAlarmMapOutput

type CompositeAlarmMapInput

type CompositeAlarmMapInput interface {
	pulumi.Input

	ToCompositeAlarmMapOutput() CompositeAlarmMapOutput
	ToCompositeAlarmMapOutputWithContext(context.Context) CompositeAlarmMapOutput
}

CompositeAlarmMapInput is an input type that accepts CompositeAlarmMap and CompositeAlarmMapOutput values. You can construct a concrete instance of `CompositeAlarmMapInput` via:

CompositeAlarmMap{ "key": CompositeAlarmArgs{...} }

type CompositeAlarmMapOutput

type CompositeAlarmMapOutput struct{ *pulumi.OutputState }

func (CompositeAlarmMapOutput) ElementType

func (CompositeAlarmMapOutput) ElementType() reflect.Type

func (CompositeAlarmMapOutput) MapIndex

func (CompositeAlarmMapOutput) ToCompositeAlarmMapOutput

func (o CompositeAlarmMapOutput) ToCompositeAlarmMapOutput() CompositeAlarmMapOutput

func (CompositeAlarmMapOutput) ToCompositeAlarmMapOutputWithContext

func (o CompositeAlarmMapOutput) ToCompositeAlarmMapOutputWithContext(ctx context.Context) CompositeAlarmMapOutput

type CompositeAlarmOutput

type CompositeAlarmOutput struct{ *pulumi.OutputState }

func (CompositeAlarmOutput) ActionsEnabled

func (o CompositeAlarmOutput) ActionsEnabled() pulumi.BoolPtrOutput

Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to `true`.

func (CompositeAlarmOutput) ActionsSuppressor added in v6.1.0

Actions will be suppressed if the suppressor alarm is in the ALARM state.

func (CompositeAlarmOutput) AlarmActions

The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.

func (CompositeAlarmOutput) AlarmDescription

func (o CompositeAlarmOutput) AlarmDescription() pulumi.StringPtrOutput

The description for the composite alarm.

func (CompositeAlarmOutput) AlarmName

The name for the composite alarm. This name must be unique within the region.

func (CompositeAlarmOutput) AlarmRule

An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see [Creating a Composite Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html). The maximum length is 10240 characters.

func (CompositeAlarmOutput) Arn

The ARN of the composite alarm.

func (CompositeAlarmOutput) ElementType

func (CompositeAlarmOutput) ElementType() reflect.Type

func (CompositeAlarmOutput) InsufficientDataActions

func (o CompositeAlarmOutput) InsufficientDataActions() pulumi.StringArrayOutput

The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.

func (CompositeAlarmOutput) OkActions

The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.

func (CompositeAlarmOutput) Tags

A map of tags to associate with the alarm. Up to 50 tags are allowed. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (CompositeAlarmOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (CompositeAlarmOutput) ToCompositeAlarmOutput

func (o CompositeAlarmOutput) ToCompositeAlarmOutput() CompositeAlarmOutput

func (CompositeAlarmOutput) ToCompositeAlarmOutputWithContext

func (o CompositeAlarmOutput) ToCompositeAlarmOutputWithContext(ctx context.Context) CompositeAlarmOutput

type CompositeAlarmState

type CompositeAlarmState struct {
	// Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to `true`.
	ActionsEnabled pulumi.BoolPtrInput
	// Actions will be suppressed if the suppressor alarm is in the ALARM state.
	ActionsSuppressor CompositeAlarmActionsSuppressorPtrInput
	// The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	AlarmActions pulumi.StringArrayInput
	// The description for the composite alarm.
	AlarmDescription pulumi.StringPtrInput
	// The name for the composite alarm. This name must be unique within the region.
	AlarmName pulumi.StringPtrInput
	// An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see [Creating a Composite Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html). The maximum length is 10240 characters.
	AlarmRule pulumi.StringPtrInput
	// The ARN of the composite alarm.
	Arn pulumi.StringPtrInput
	// The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	InsufficientDataActions pulumi.StringArrayInput
	// The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed.
	OkActions pulumi.StringArrayInput
	// A map of tags to associate with the alarm. Up to 50 tags are allowed. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (CompositeAlarmState) ElementType

func (CompositeAlarmState) ElementType() reflect.Type

type Dashboard

type Dashboard struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the dashboard.
	DashboardArn pulumi.StringOutput `pulumi:"dashboardArn"`
	// The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).
	DashboardBody pulumi.StringOutput `pulumi:"dashboardBody"`
	// The name of the dashboard.
	DashboardName pulumi.StringOutput `pulumi:"dashboardName"`
}

Provides a CloudWatch Dashboard resource.

## Example Usage

```go package main

import (

"encoding/json"

"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 {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"widgets": []interface{}{
				map[string]interface{}{
					"type":   "metric",
					"x":      0,
					"y":      0,
					"width":  12,
					"height": 6,
					"properties": map[string]interface{}{
						"metrics": [][]string{
							[]string{
								"AWS/EC2",
								"CPUUtilization",
								"InstanceId",
								"i-012345",
							},
						},
						"period": 300,
						"stat":   "Average",
						"region": "us-east-1",
						"title":  "EC2 Instance CPU",
					},
				},
				map[string]interface{}{
					"type":   "text",
					"x":      0,
					"y":      7,
					"width":  3,
					"height": 3,
					"properties": map[string]interface{}{
						"markdown": "Hello world",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = cloudwatch.NewDashboard(ctx, "main", &cloudwatch.DashboardArgs{
			DashboardName: pulumi.String("my-dashboard"),
			DashboardBody: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CloudWatch dashboards using the `dashboard_name`. For example:

```sh $ pulumi import aws:cloudwatch/dashboard:Dashboard sample dashboard_name ```

func GetDashboard

func GetDashboard(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DashboardState, opts ...pulumi.ResourceOption) (*Dashboard, error)

GetDashboard gets an existing Dashboard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDashboard

func NewDashboard(ctx *pulumi.Context,
	name string, args *DashboardArgs, opts ...pulumi.ResourceOption) (*Dashboard, error)

NewDashboard registers a new resource with the given unique name, arguments, and options.

func (*Dashboard) ElementType

func (*Dashboard) ElementType() reflect.Type

func (*Dashboard) ToDashboardOutput

func (i *Dashboard) ToDashboardOutput() DashboardOutput

func (*Dashboard) ToDashboardOutputWithContext

func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput

type DashboardArgs

type DashboardArgs struct {
	// The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).
	DashboardBody pulumi.StringInput
	// The name of the dashboard.
	DashboardName pulumi.StringInput
}

The set of arguments for constructing a Dashboard resource.

func (DashboardArgs) ElementType

func (DashboardArgs) ElementType() reflect.Type

type DashboardArray

type DashboardArray []DashboardInput

func (DashboardArray) ElementType

func (DashboardArray) ElementType() reflect.Type

func (DashboardArray) ToDashboardArrayOutput

func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArray) ToDashboardArrayOutputWithContext

func (i DashboardArray) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput

type DashboardArrayInput

type DashboardArrayInput interface {
	pulumi.Input

	ToDashboardArrayOutput() DashboardArrayOutput
	ToDashboardArrayOutputWithContext(context.Context) DashboardArrayOutput
}

DashboardArrayInput is an input type that accepts DashboardArray and DashboardArrayOutput values. You can construct a concrete instance of `DashboardArrayInput` via:

DashboardArray{ DashboardArgs{...} }

type DashboardArrayOutput

type DashboardArrayOutput struct{ *pulumi.OutputState }

func (DashboardArrayOutput) ElementType

func (DashboardArrayOutput) ElementType() reflect.Type

func (DashboardArrayOutput) Index

func (DashboardArrayOutput) ToDashboardArrayOutput

func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArrayOutput) ToDashboardArrayOutputWithContext

func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput

type DashboardInput

type DashboardInput interface {
	pulumi.Input

	ToDashboardOutput() DashboardOutput
	ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
}

type DashboardMap

type DashboardMap map[string]DashboardInput

func (DashboardMap) ElementType

func (DashboardMap) ElementType() reflect.Type

func (DashboardMap) ToDashboardMapOutput

func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMap) ToDashboardMapOutputWithContext

func (i DashboardMap) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput

type DashboardMapInput

type DashboardMapInput interface {
	pulumi.Input

	ToDashboardMapOutput() DashboardMapOutput
	ToDashboardMapOutputWithContext(context.Context) DashboardMapOutput
}

DashboardMapInput is an input type that accepts DashboardMap and DashboardMapOutput values. You can construct a concrete instance of `DashboardMapInput` via:

DashboardMap{ "key": DashboardArgs{...} }

type DashboardMapOutput

type DashboardMapOutput struct{ *pulumi.OutputState }

func (DashboardMapOutput) ElementType

func (DashboardMapOutput) ElementType() reflect.Type

func (DashboardMapOutput) MapIndex

func (DashboardMapOutput) ToDashboardMapOutput

func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMapOutput) ToDashboardMapOutputWithContext

func (o DashboardMapOutput) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput

type DashboardOutput

type DashboardOutput struct{ *pulumi.OutputState }

func (DashboardOutput) DashboardArn

func (o DashboardOutput) DashboardArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the dashboard.

func (DashboardOutput) DashboardBody

func (o DashboardOutput) DashboardBody() pulumi.StringOutput

The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).

func (DashboardOutput) DashboardName

func (o DashboardOutput) DashboardName() pulumi.StringOutput

The name of the dashboard.

func (DashboardOutput) ElementType

func (DashboardOutput) ElementType() reflect.Type

func (DashboardOutput) ToDashboardOutput

func (o DashboardOutput) ToDashboardOutput() DashboardOutput

func (DashboardOutput) ToDashboardOutputWithContext

func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput

type DashboardState

type DashboardState struct {
	// The Amazon Resource Name (ARN) of the dashboard.
	DashboardArn pulumi.StringPtrInput
	// The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).
	DashboardBody pulumi.StringPtrInput
	// The name of the dashboard.
	DashboardName pulumi.StringPtrInput
}

func (DashboardState) ElementType

func (DashboardState) ElementType() reflect.Type

type EventApiDestination

type EventApiDestination struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the event API Destination.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// ARN of the EventBridge Connection to use for the API Destination.
	ConnectionArn pulumi.StringOutput `pulumi:"connectionArn"`
	// The description of the new API Destination. Maximum of 512 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Select the HTTP method used for the invocation endpoint, such as GET, POST, PUT, etc.
	HttpMethod pulumi.StringOutput `pulumi:"httpMethod"`
	// URL endpoint to invoke as a target. This could be a valid endpoint generated by a partner service. You can include "*" as path parameters wildcards to be set from the Target HttpParameters.
	InvocationEndpoint pulumi.StringOutput `pulumi:"invocationEndpoint"`
	// Enter the maximum number of invocations per second to allow for this destination. Enter a value greater than 0 (default 300).
	InvocationRateLimitPerSecond pulumi.IntPtrOutput `pulumi:"invocationRateLimitPerSecond"`
	// The name of the new API Destination. The name must be unique for your account. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides an EventBridge event API Destination resource.

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

## Example Usage

```go 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.NewEventApiDestination(ctx, "test", &cloudwatch.EventApiDestinationArgs{
			Name:                         pulumi.String("api-destination"),
			Description:                  pulumi.String("An API Destination"),
			InvocationEndpoint:           pulumi.String("https://api.destination.com/endpoint"),
			HttpMethod:                   pulumi.String("POST"),
			InvocationRateLimitPerSecond: pulumi.Int(20),
			ConnectionArn:                pulumi.Any(testAwsCloudwatchEventConnection.Arn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import EventBridge API Destinations using the `name`. For example:

```sh $ pulumi import aws:cloudwatch/eventApiDestination:EventApiDestination test api-destination ```

func GetEventApiDestination

func GetEventApiDestination(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventApiDestinationState, opts ...pulumi.ResourceOption) (*EventApiDestination, error)

GetEventApiDestination gets an existing EventApiDestination resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventApiDestination

func NewEventApiDestination(ctx *pulumi.Context,
	name string, args *EventApiDestinationArgs, opts ...pulumi.ResourceOption) (*EventApiDestination, error)

NewEventApiDestination registers a new resource with the given unique name, arguments, and options.

func (*EventApiDestination) ElementType

func (*EventApiDestination) ElementType() reflect.Type

func (*EventApiDestination) ToEventApiDestinationOutput

func (i *EventApiDestination) ToEventApiDestinationOutput() EventApiDestinationOutput

func (*EventApiDestination) ToEventApiDestinationOutputWithContext

func (i *EventApiDestination) ToEventApiDestinationOutputWithContext(ctx context.Context) EventApiDestinationOutput

type EventApiDestinationArgs

type EventApiDestinationArgs struct {
	// ARN of the EventBridge Connection to use for the API Destination.
	ConnectionArn pulumi.StringInput
	// The description of the new API Destination. Maximum of 512 characters.
	Description pulumi.StringPtrInput
	// Select the HTTP method used for the invocation endpoint, such as GET, POST, PUT, etc.
	HttpMethod pulumi.StringInput
	// URL endpoint to invoke as a target. This could be a valid endpoint generated by a partner service. You can include "*" as path parameters wildcards to be set from the Target HttpParameters.
	InvocationEndpoint pulumi.StringInput
	// Enter the maximum number of invocations per second to allow for this destination. Enter a value greater than 0 (default 300).
	InvocationRateLimitPerSecond pulumi.IntPtrInput
	// The name of the new API Destination. The name must be unique for your account. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a EventApiDestination resource.

func (EventApiDestinationArgs) ElementType

func (EventApiDestinationArgs) ElementType() reflect.Type

type EventApiDestinationArray

type EventApiDestinationArray []EventApiDestinationInput

func (EventApiDestinationArray) ElementType

func (EventApiDestinationArray) ElementType() reflect.Type

func (EventApiDestinationArray) ToEventApiDestinationArrayOutput

func (i EventApiDestinationArray) ToEventApiDestinationArrayOutput() EventApiDestinationArrayOutput

func (EventApiDestinationArray) ToEventApiDestinationArrayOutputWithContext

func (i EventApiDestinationArray) ToEventApiDestinationArrayOutputWithContext(ctx context.Context) EventApiDestinationArrayOutput

type EventApiDestinationArrayInput

type EventApiDestinationArrayInput interface {
	pulumi.Input

	ToEventApiDestinationArrayOutput() EventApiDestinationArrayOutput
	ToEventApiDestinationArrayOutputWithContext(context.Context) EventApiDestinationArrayOutput
}

EventApiDestinationArrayInput is an input type that accepts EventApiDestinationArray and EventApiDestinationArrayOutput values. You can construct a concrete instance of `EventApiDestinationArrayInput` via:

EventApiDestinationArray{ EventApiDestinationArgs{...} }

type EventApiDestinationArrayOutput

type EventApiDestinationArrayOutput struct{ *pulumi.OutputState }

func (EventApiDestinationArrayOutput) ElementType

func (EventApiDestinationArrayOutput) Index

func (EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutput

func (o EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutput() EventApiDestinationArrayOutput

func (EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutputWithContext

func (o EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutputWithContext(ctx context.Context) EventApiDestinationArrayOutput

type EventApiDestinationInput

type EventApiDestinationInput interface {
	pulumi.Input

	ToEventApiDestinationOutput() EventApiDestinationOutput
	ToEventApiDestinationOutputWithContext(ctx context.Context) EventApiDestinationOutput
}

type EventApiDestinationMap

type EventApiDestinationMap map[string]EventApiDestinationInput

func (EventApiDestinationMap) ElementType

func (EventApiDestinationMap) ElementType() reflect.Type

func (EventApiDestinationMap) ToEventApiDestinationMapOutput

func (i EventApiDestinationMap) ToEventApiDestinationMapOutput() EventApiDestinationMapOutput

func (EventApiDestinationMap) ToEventApiDestinationMapOutputWithContext

func (i EventApiDestinationMap) ToEventApiDestinationMapOutputWithContext(ctx context.Context) EventApiDestinationMapOutput

type EventApiDestinationMapInput

type EventApiDestinationMapInput interface {
	pulumi.Input

	ToEventApiDestinationMapOutput() EventApiDestinationMapOutput
	ToEventApiDestinationMapOutputWithContext(context.Context) EventApiDestinationMapOutput
}

EventApiDestinationMapInput is an input type that accepts EventApiDestinationMap and EventApiDestinationMapOutput values. You can construct a concrete instance of `EventApiDestinationMapInput` via:

EventApiDestinationMap{ "key": EventApiDestinationArgs{...} }

type EventApiDestinationMapOutput

type EventApiDestinationMapOutput struct{ *pulumi.OutputState }

func (EventApiDestinationMapOutput) ElementType

func (EventApiDestinationMapOutput) MapIndex

func (EventApiDestinationMapOutput) ToEventApiDestinationMapOutput

func (o EventApiDestinationMapOutput) ToEventApiDestinationMapOutput() EventApiDestinationMapOutput

func (EventApiDestinationMapOutput) ToEventApiDestinationMapOutputWithContext

func (o EventApiDestinationMapOutput) ToEventApiDestinationMapOutputWithContext(ctx context.Context) EventApiDestinationMapOutput

type EventApiDestinationOutput

type EventApiDestinationOutput struct{ *pulumi.OutputState }

func (EventApiDestinationOutput) Arn

The Amazon Resource Name (ARN) of the event API Destination.

func (EventApiDestinationOutput) ConnectionArn

func (o EventApiDestinationOutput) ConnectionArn() pulumi.StringOutput

ARN of the EventBridge Connection to use for the API Destination.

func (EventApiDestinationOutput) Description

The description of the new API Destination. Maximum of 512 characters.

func (EventApiDestinationOutput) ElementType

func (EventApiDestinationOutput) ElementType() reflect.Type

func (EventApiDestinationOutput) HttpMethod

Select the HTTP method used for the invocation endpoint, such as GET, POST, PUT, etc.

func (EventApiDestinationOutput) InvocationEndpoint

func (o EventApiDestinationOutput) InvocationEndpoint() pulumi.StringOutput

URL endpoint to invoke as a target. This could be a valid endpoint generated by a partner service. You can include "*" as path parameters wildcards to be set from the Target HttpParameters.

func (EventApiDestinationOutput) InvocationRateLimitPerSecond

func (o EventApiDestinationOutput) InvocationRateLimitPerSecond() pulumi.IntPtrOutput

Enter the maximum number of invocations per second to allow for this destination. Enter a value greater than 0 (default 300).

func (EventApiDestinationOutput) Name

The name of the new API Destination. The name must be unique for your account. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.

func (EventApiDestinationOutput) ToEventApiDestinationOutput

func (o EventApiDestinationOutput) ToEventApiDestinationOutput() EventApiDestinationOutput

func (EventApiDestinationOutput) ToEventApiDestinationOutputWithContext

func (o EventApiDestinationOutput) ToEventApiDestinationOutputWithContext(ctx context.Context) EventApiDestinationOutput

type EventApiDestinationState

type EventApiDestinationState struct {
	// The Amazon Resource Name (ARN) of the event API Destination.
	Arn pulumi.StringPtrInput
	// ARN of the EventBridge Connection to use for the API Destination.
	ConnectionArn pulumi.StringPtrInput
	// The description of the new API Destination. Maximum of 512 characters.
	Description pulumi.StringPtrInput
	// Select the HTTP method used for the invocation endpoint, such as GET, POST, PUT, etc.
	HttpMethod pulumi.StringPtrInput
	// URL endpoint to invoke as a target. This could be a valid endpoint generated by a partner service. You can include "*" as path parameters wildcards to be set from the Target HttpParameters.
	InvocationEndpoint pulumi.StringPtrInput
	// Enter the maximum number of invocations per second to allow for this destination. Enter a value greater than 0 (default 300).
	InvocationRateLimitPerSecond pulumi.IntPtrInput
	// The name of the new API Destination. The name must be unique for your account. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
	Name pulumi.StringPtrInput
}

func (EventApiDestinationState) ElementType

func (EventApiDestinationState) ElementType() reflect.Type

type EventArchive

type EventArchive struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the event archive.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description of the new event archive.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Instructs the new event archive to only capture events matched by this pattern. By default, it attempts to archive every event received in the `eventSourceArn`.
	EventPattern pulumi.StringPtrOutput `pulumi:"eventPattern"`
	// Event bus source ARN from where these events should be archived.
	EventSourceArn pulumi.StringOutput `pulumi:"eventSourceArn"`
	// The name of the new event archive. The archive name cannot exceed 48 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The maximum number of days to retain events in the new event archive. By default, it archives indefinitely.
	RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"`
}

Provides an EventBridge event archive resource.

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

## Example Usage

```go 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 {
		order, err := cloudwatch.NewEventBus(ctx, "order", &cloudwatch.EventBusArgs{
			Name: pulumi.String("orders"),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventArchive(ctx, "order", &cloudwatch.EventArchiveArgs{
			Name:           pulumi.String("order-archive"),
			EventSourceArn: order.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Example all optional arguments

```go package main

import (

"encoding/json"

"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 {
		order, err := cloudwatch.NewEventBus(ctx, "order", &cloudwatch.EventBusArgs{
			Name: pulumi.String("orders"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"source": []string{
				"company.team.order",
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = cloudwatch.NewEventArchive(ctx, "order", &cloudwatch.EventArchiveArgs{
			Name:           pulumi.String("order-archive"),
			Description:    pulumi.String("Archived events from order service"),
			EventSourceArn: order.Arn,
			RetentionDays:  pulumi.Int(7),
			EventPattern:   pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import an EventBridge archive using the `name`. For example:

```sh $ pulumi import aws:cloudwatch/eventArchive:EventArchive imported_event_archive order-archive ```

func GetEventArchive

func GetEventArchive(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventArchiveState, opts ...pulumi.ResourceOption) (*EventArchive, error)

GetEventArchive gets an existing EventArchive resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventArchive

func NewEventArchive(ctx *pulumi.Context,
	name string, args *EventArchiveArgs, opts ...pulumi.ResourceOption) (*EventArchive, error)

NewEventArchive registers a new resource with the given unique name, arguments, and options.

func (*EventArchive) ElementType

func (*EventArchive) ElementType() reflect.Type

func (*EventArchive) ToEventArchiveOutput

func (i *EventArchive) ToEventArchiveOutput() EventArchiveOutput

func (*EventArchive) ToEventArchiveOutputWithContext

func (i *EventArchive) ToEventArchiveOutputWithContext(ctx context.Context) EventArchiveOutput

type EventArchiveArgs

type EventArchiveArgs struct {
	// The description of the new event archive.
	Description pulumi.StringPtrInput
	// Instructs the new event archive to only capture events matched by this pattern. By default, it attempts to archive every event received in the `eventSourceArn`.
	EventPattern pulumi.StringPtrInput
	// Event bus source ARN from where these events should be archived.
	EventSourceArn pulumi.StringInput
	// The name of the new event archive. The archive name cannot exceed 48 characters.
	Name pulumi.StringPtrInput
	// The maximum number of days to retain events in the new event archive. By default, it archives indefinitely.
	RetentionDays pulumi.IntPtrInput
}

The set of arguments for constructing a EventArchive resource.

func (EventArchiveArgs) ElementType

func (EventArchiveArgs) ElementType() reflect.Type

type EventArchiveArray

type EventArchiveArray []EventArchiveInput

func (EventArchiveArray) ElementType

func (EventArchiveArray) ElementType() reflect.Type

func (EventArchiveArray) ToEventArchiveArrayOutput

func (i EventArchiveArray) ToEventArchiveArrayOutput() EventArchiveArrayOutput

func (EventArchiveArray) ToEventArchiveArrayOutputWithContext

func (i EventArchiveArray) ToEventArchiveArrayOutputWithContext(ctx context.Context) EventArchiveArrayOutput

type EventArchiveArrayInput

type EventArchiveArrayInput interface {
	pulumi.Input

	ToEventArchiveArrayOutput() EventArchiveArrayOutput
	ToEventArchiveArrayOutputWithContext(context.Context) EventArchiveArrayOutput
}

EventArchiveArrayInput is an input type that accepts EventArchiveArray and EventArchiveArrayOutput values. You can construct a concrete instance of `EventArchiveArrayInput` via:

EventArchiveArray{ EventArchiveArgs{...} }

type EventArchiveArrayOutput

type EventArchiveArrayOutput struct{ *pulumi.OutputState }

func (EventArchiveArrayOutput) ElementType

func (EventArchiveArrayOutput) ElementType() reflect.Type

func (EventArchiveArrayOutput) Index

func (EventArchiveArrayOutput) ToEventArchiveArrayOutput

func (o EventArchiveArrayOutput) ToEventArchiveArrayOutput() EventArchiveArrayOutput

func (EventArchiveArrayOutput) ToEventArchiveArrayOutputWithContext

func (o EventArchiveArrayOutput) ToEventArchiveArrayOutputWithContext(ctx context.Context) EventArchiveArrayOutput

type EventArchiveInput

type EventArchiveInput interface {
	pulumi.Input

	ToEventArchiveOutput() EventArchiveOutput
	ToEventArchiveOutputWithContext(ctx context.Context) EventArchiveOutput
}

type EventArchiveMap

type EventArchiveMap map[string]EventArchiveInput

func (EventArchiveMap) ElementType

func (EventArchiveMap) ElementType() reflect.Type

func (EventArchiveMap) ToEventArchiveMapOutput

func (i EventArchiveMap) ToEventArchiveMapOutput() EventArchiveMapOutput

func (EventArchiveMap) ToEventArchiveMapOutputWithContext

func (i EventArchiveMap) ToEventArchiveMapOutputWithContext(ctx context.Context) EventArchiveMapOutput

type EventArchiveMapInput

type EventArchiveMapInput interface {
	pulumi.Input

	ToEventArchiveMapOutput() EventArchiveMapOutput
	ToEventArchiveMapOutputWithContext(context.Context) EventArchiveMapOutput
}

EventArchiveMapInput is an input type that accepts EventArchiveMap and EventArchiveMapOutput values. You can construct a concrete instance of `EventArchiveMapInput` via:

EventArchiveMap{ "key": EventArchiveArgs{...} }

type EventArchiveMapOutput

type EventArchiveMapOutput struct{ *pulumi.OutputState }

func (EventArchiveMapOutput) ElementType

func (EventArchiveMapOutput) ElementType() reflect.Type

func (EventArchiveMapOutput) MapIndex

func (EventArchiveMapOutput) ToEventArchiveMapOutput

func (o EventArchiveMapOutput) ToEventArchiveMapOutput() EventArchiveMapOutput

func (EventArchiveMapOutput) ToEventArchiveMapOutputWithContext

func (o EventArchiveMapOutput) ToEventArchiveMapOutputWithContext(ctx context.Context) EventArchiveMapOutput

type EventArchiveOutput

type EventArchiveOutput struct{ *pulumi.OutputState }

func (EventArchiveOutput) Arn

The Amazon Resource Name (ARN) of the event archive.

func (EventArchiveOutput) Description

func (o EventArchiveOutput) Description() pulumi.StringPtrOutput

The description of the new event archive.

func (EventArchiveOutput) ElementType

func (EventArchiveOutput) ElementType() reflect.Type

func (EventArchiveOutput) EventPattern

func (o EventArchiveOutput) EventPattern() pulumi.StringPtrOutput

Instructs the new event archive to only capture events matched by this pattern. By default, it attempts to archive every event received in the `eventSourceArn`.

func (EventArchiveOutput) EventSourceArn

func (o EventArchiveOutput) EventSourceArn() pulumi.StringOutput

Event bus source ARN from where these events should be archived.

func (EventArchiveOutput) Name

The name of the new event archive. The archive name cannot exceed 48 characters.

func (EventArchiveOutput) RetentionDays

func (o EventArchiveOutput) RetentionDays() pulumi.IntPtrOutput

The maximum number of days to retain events in the new event archive. By default, it archives indefinitely.

func (EventArchiveOutput) ToEventArchiveOutput

func (o EventArchiveOutput) ToEventArchiveOutput() EventArchiveOutput

func (EventArchiveOutput) ToEventArchiveOutputWithContext

func (o EventArchiveOutput) ToEventArchiveOutputWithContext(ctx context.Context) EventArchiveOutput

type EventArchiveState

type EventArchiveState struct {
	// The Amazon Resource Name (ARN) of the event archive.
	Arn pulumi.StringPtrInput
	// The description of the new event archive.
	Description pulumi.StringPtrInput
	// Instructs the new event archive to only capture events matched by this pattern. By default, it attempts to archive every event received in the `eventSourceArn`.
	EventPattern pulumi.StringPtrInput
	// Event bus source ARN from where these events should be archived.
	EventSourceArn pulumi.StringPtrInput
	// The name of the new event archive. The archive name cannot exceed 48 characters.
	Name pulumi.StringPtrInput
	// The maximum number of days to retain events in the new event archive. By default, it archives indefinitely.
	RetentionDays pulumi.IntPtrInput
}

func (EventArchiveState) ElementType

func (EventArchiveState) ElementType() reflect.Type

type EventBus

type EventBus struct {
	pulumi.CustomResourceState

	// ARN of the event bus.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Event bus description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Partner event source that the new event bus will be matched with. Must match `name`.
	EventSourceName pulumi.StringPtrOutput `pulumi:"eventSourceName"`
	// Identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
	KmsKeyIdentifier pulumi.StringPtrOutput `pulumi:"kmsKeyIdentifier"`
	// Name of the new event bus. The names of custom event buses can't contain the / character. To create a partner event bus, ensure that the `name` matches the `eventSourceName`.
	//
	// The following arguments are optional:
	Name pulumi.StringOutput `pulumi:"name"`
	// Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an EventBridge event bus resource.

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

## Example Usage

```go 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.NewEventBus(ctx, "messenger", &cloudwatch.EventBusArgs{
			Name: pulumi.String("chat-messages"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go 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 {
		examplepartner, err := cloudwatch.GetEventSource(ctx, &cloudwatch.GetEventSourceArgs{
			NamePrefix: pulumi.StringRef("aws.partner/examplepartner.com"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventBus(ctx, "examplepartner", &cloudwatch.EventBusArgs{
			Name:            pulumi.String(examplepartner.Name),
			Description:     pulumi.String("Event bus for example partner events"),
			EventSourceName: pulumi.String(examplepartner.Name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import EventBridge event buses using the name of the event bus (which can also be a partner event source name). For example:

```sh $ pulumi import aws:cloudwatch/eventBus:EventBus messenger chat-messages ```

func GetEventBus

func GetEventBus(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventBusState, opts ...pulumi.ResourceOption) (*EventBus, error)

GetEventBus gets an existing EventBus resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventBus

func NewEventBus(ctx *pulumi.Context,
	name string, args *EventBusArgs, opts ...pulumi.ResourceOption) (*EventBus, error)

NewEventBus registers a new resource with the given unique name, arguments, and options.

func (*EventBus) ElementType

func (*EventBus) ElementType() reflect.Type

func (*EventBus) ToEventBusOutput

func (i *EventBus) ToEventBusOutput() EventBusOutput

func (*EventBus) ToEventBusOutputWithContext

func (i *EventBus) ToEventBusOutputWithContext(ctx context.Context) EventBusOutput

type EventBusArgs

type EventBusArgs struct {
	// Event bus description.
	Description pulumi.StringPtrInput
	// Partner event source that the new event bus will be matched with. Must match `name`.
	EventSourceName pulumi.StringPtrInput
	// Identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
	KmsKeyIdentifier pulumi.StringPtrInput
	// Name of the new event bus. The names of custom event buses can't contain the / character. To create a partner event bus, ensure that the `name` matches the `eventSourceName`.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a EventBus resource.

func (EventBusArgs) ElementType

func (EventBusArgs) ElementType() reflect.Type

type EventBusArray

type EventBusArray []EventBusInput

func (EventBusArray) ElementType

func (EventBusArray) ElementType() reflect.Type

func (EventBusArray) ToEventBusArrayOutput

func (i EventBusArray) ToEventBusArrayOutput() EventBusArrayOutput

func (EventBusArray) ToEventBusArrayOutputWithContext

func (i EventBusArray) ToEventBusArrayOutputWithContext(ctx context.Context) EventBusArrayOutput

type EventBusArrayInput

type EventBusArrayInput interface {
	pulumi.Input

	ToEventBusArrayOutput() EventBusArrayOutput
	ToEventBusArrayOutputWithContext(context.Context) EventBusArrayOutput
}

EventBusArrayInput is an input type that accepts EventBusArray and EventBusArrayOutput values. You can construct a concrete instance of `EventBusArrayInput` via:

EventBusArray{ EventBusArgs{...} }

type EventBusArrayOutput

type EventBusArrayOutput struct{ *pulumi.OutputState }

func (EventBusArrayOutput) ElementType

func (EventBusArrayOutput) ElementType() reflect.Type

func (EventBusArrayOutput) Index

func (EventBusArrayOutput) ToEventBusArrayOutput

func (o EventBusArrayOutput) ToEventBusArrayOutput() EventBusArrayOutput

func (EventBusArrayOutput) ToEventBusArrayOutputWithContext

func (o EventBusArrayOutput) ToEventBusArrayOutputWithContext(ctx context.Context) EventBusArrayOutput

type EventBusInput

type EventBusInput interface {
	pulumi.Input

	ToEventBusOutput() EventBusOutput
	ToEventBusOutputWithContext(ctx context.Context) EventBusOutput
}

type EventBusMap

type EventBusMap map[string]EventBusInput

func (EventBusMap) ElementType

func (EventBusMap) ElementType() reflect.Type

func (EventBusMap) ToEventBusMapOutput

func (i EventBusMap) ToEventBusMapOutput() EventBusMapOutput

func (EventBusMap) ToEventBusMapOutputWithContext

func (i EventBusMap) ToEventBusMapOutputWithContext(ctx context.Context) EventBusMapOutput

type EventBusMapInput

type EventBusMapInput interface {
	pulumi.Input

	ToEventBusMapOutput() EventBusMapOutput
	ToEventBusMapOutputWithContext(context.Context) EventBusMapOutput
}

EventBusMapInput is an input type that accepts EventBusMap and EventBusMapOutput values. You can construct a concrete instance of `EventBusMapInput` via:

EventBusMap{ "key": EventBusArgs{...} }

type EventBusMapOutput

type EventBusMapOutput struct{ *pulumi.OutputState }

func (EventBusMapOutput) ElementType

func (EventBusMapOutput) ElementType() reflect.Type

func (EventBusMapOutput) MapIndex

func (EventBusMapOutput) ToEventBusMapOutput

func (o EventBusMapOutput) ToEventBusMapOutput() EventBusMapOutput

func (EventBusMapOutput) ToEventBusMapOutputWithContext

func (o EventBusMapOutput) ToEventBusMapOutputWithContext(ctx context.Context) EventBusMapOutput

type EventBusOutput

type EventBusOutput struct{ *pulumi.OutputState }

func (EventBusOutput) Arn

ARN of the event bus.

func (EventBusOutput) Description added in v6.59.1

func (o EventBusOutput) Description() pulumi.StringPtrOutput

Event bus description.

func (EventBusOutput) ElementType

func (EventBusOutput) ElementType() reflect.Type

func (EventBusOutput) EventSourceName

func (o EventBusOutput) EventSourceName() pulumi.StringPtrOutput

Partner event source that the new event bus will be matched with. Must match `name`.

func (EventBusOutput) KmsKeyIdentifier added in v6.47.0

func (o EventBusOutput) KmsKeyIdentifier() pulumi.StringPtrOutput

Identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.

func (EventBusOutput) Name

Name of the new event bus. The names of custom event buses can't contain the / character. To create a partner event bus, ensure that the `name` matches the `eventSourceName`.

The following arguments are optional:

func (EventBusOutput) Tags

Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (EventBusOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (EventBusOutput) ToEventBusOutput

func (o EventBusOutput) ToEventBusOutput() EventBusOutput

func (EventBusOutput) ToEventBusOutputWithContext

func (o EventBusOutput) ToEventBusOutputWithContext(ctx context.Context) EventBusOutput

type EventBusPolicy

type EventBusPolicy struct {
	pulumi.CustomResourceState

	// The name of the event bus to set the permissions on.
	// If you omit this, the permissions are set on the `default` event bus.
	EventBusName pulumi.StringPtrOutput `pulumi:"eventBusName"`
	// The text of the policy.
	Policy pulumi.StringOutput `pulumi:"policy"`
}

Provides a resource to create an EventBridge resource policy to support cross-account events.

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

> **Note:** The EventBridge bus policy resource (`cloudwatch.EventBusPolicy`) is incompatible with the EventBridge permission resource (`cloudwatch.EventPermission`) and will overwrite permissions.

## Example Usage

### Account Access

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Sid:    pulumi.StringRef("DevAccountAccess"),
					Effect: pulumi.StringRef("Allow"),
					Actions: []string{
						"events:PutEvents",
					},
					Resources: []string{
						"arn:aws:events:eu-west-1:123456789012:event-bus/default",
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "AWS",
							Identifiers: []string{
								"123456789012",
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventBusPolicy(ctx, "test", &cloudwatch.EventBusPolicyArgs{
			Policy:       pulumi.String(test.Json),
			EventBusName: pulumi.Any(testAwsCloudwatchEventBus.Name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Organization Access

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { test, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Sid: pulumi.StringRef("OrganizationAccess"), Effect: pulumi.StringRef("Allow"), Actions: []string{ "events:DescribeRule", "events:ListRules", "events:ListTargetsByRule", "events:ListTagsForResource", }, Resources: []string{ "arn:aws:events:eu-west-1:123456789012:rule/*", "arn:aws:events:eu-west-1:123456789012:event-bus/default", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "AWS", Identifiers: []string{ "*", }, }, }, Conditions: []iam.GetPolicyDocumentStatementCondition{ { Test: "StringEquals", Variable: "aws:PrincipalOrgID", Values: interface{}{ example.Id, }, }, }, }, }, }, nil); if err != nil { return err } _, err = cloudwatch.NewEventBusPolicy(ctx, "test", &cloudwatch.EventBusPolicyArgs{ Policy: pulumi.String(test.Json), EventBusName: pulumi.Any(testAwsCloudwatchEventBus.Name), }) if err != nil { return err } return nil }) } ```

### Multiple Statements

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { test, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Sid: pulumi.StringRef("DevAccountAccess"), Effect: pulumi.StringRef("Allow"), Actions: []string{ "events:PutEvents", }, Resources: []string{ "arn:aws:events:eu-west-1:123456789012:event-bus/default", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "AWS", Identifiers: []string{ "123456789012", }, }, }, }, { Sid: pulumi.StringRef("OrganizationAccess"), Effect: pulumi.StringRef("Allow"), Actions: []string{ "events:DescribeRule", "events:ListRules", "events:ListTargetsByRule", "events:ListTagsForResource", }, Resources: []string{ "arn:aws:events:eu-west-1:123456789012:rule/*", "arn:aws:events:eu-west-1:123456789012:event-bus/default", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "AWS", Identifiers: []string{ "*", }, }, }, Conditions: []iam.GetPolicyDocumentStatementCondition{ { Test: "StringEquals", Variable: "aws:PrincipalOrgID", Values: interface{}{ example.Id, }, }, }, }, }, }, nil); if err != nil { return err } _, err = cloudwatch.NewEventBusPolicy(ctx, "test", &cloudwatch.EventBusPolicyArgs{ Policy: pulumi.String(test.Json), EventBusName: pulumi.Any(testAwsCloudwatchEventBus.Name), }) if err != nil { return err } return nil }) } ```

## Import

Using `pulumi import`, import an EventBridge policy using the `event_bus_name`. For example:

```sh $ pulumi import aws:cloudwatch/eventBusPolicy:EventBusPolicy DevAccountAccess example-event-bus ```

func GetEventBusPolicy

func GetEventBusPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventBusPolicyState, opts ...pulumi.ResourceOption) (*EventBusPolicy, error)

GetEventBusPolicy gets an existing EventBusPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventBusPolicy

func NewEventBusPolicy(ctx *pulumi.Context,
	name string, args *EventBusPolicyArgs, opts ...pulumi.ResourceOption) (*EventBusPolicy, error)

NewEventBusPolicy registers a new resource with the given unique name, arguments, and options.

func (*EventBusPolicy) ElementType

func (*EventBusPolicy) ElementType() reflect.Type

func (*EventBusPolicy) ToEventBusPolicyOutput

func (i *EventBusPolicy) ToEventBusPolicyOutput() EventBusPolicyOutput

func (*EventBusPolicy) ToEventBusPolicyOutputWithContext

func (i *EventBusPolicy) ToEventBusPolicyOutputWithContext(ctx context.Context) EventBusPolicyOutput

type EventBusPolicyArgs

type EventBusPolicyArgs struct {
	// The name of the event bus to set the permissions on.
	// If you omit this, the permissions are set on the `default` event bus.
	EventBusName pulumi.StringPtrInput
	// The text of the policy.
	Policy pulumi.StringInput
}

The set of arguments for constructing a EventBusPolicy resource.

func (EventBusPolicyArgs) ElementType

func (EventBusPolicyArgs) ElementType() reflect.Type

type EventBusPolicyArray

type EventBusPolicyArray []EventBusPolicyInput

func (EventBusPolicyArray) ElementType

func (EventBusPolicyArray) ElementType() reflect.Type

func (EventBusPolicyArray) ToEventBusPolicyArrayOutput

func (i EventBusPolicyArray) ToEventBusPolicyArrayOutput() EventBusPolicyArrayOutput

func (EventBusPolicyArray) ToEventBusPolicyArrayOutputWithContext

func (i EventBusPolicyArray) ToEventBusPolicyArrayOutputWithContext(ctx context.Context) EventBusPolicyArrayOutput

type EventBusPolicyArrayInput

type EventBusPolicyArrayInput interface {
	pulumi.Input

	ToEventBusPolicyArrayOutput() EventBusPolicyArrayOutput
	ToEventBusPolicyArrayOutputWithContext(context.Context) EventBusPolicyArrayOutput
}

EventBusPolicyArrayInput is an input type that accepts EventBusPolicyArray and EventBusPolicyArrayOutput values. You can construct a concrete instance of `EventBusPolicyArrayInput` via:

EventBusPolicyArray{ EventBusPolicyArgs{...} }

type EventBusPolicyArrayOutput

type EventBusPolicyArrayOutput struct{ *pulumi.OutputState }

func (EventBusPolicyArrayOutput) ElementType

func (EventBusPolicyArrayOutput) ElementType() reflect.Type

func (EventBusPolicyArrayOutput) Index

func (EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutput

func (o EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutput() EventBusPolicyArrayOutput

func (EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutputWithContext

func (o EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutputWithContext(ctx context.Context) EventBusPolicyArrayOutput

type EventBusPolicyInput

type EventBusPolicyInput interface {
	pulumi.Input

	ToEventBusPolicyOutput() EventBusPolicyOutput
	ToEventBusPolicyOutputWithContext(ctx context.Context) EventBusPolicyOutput
}

type EventBusPolicyMap

type EventBusPolicyMap map[string]EventBusPolicyInput

func (EventBusPolicyMap) ElementType

func (EventBusPolicyMap) ElementType() reflect.Type

func (EventBusPolicyMap) ToEventBusPolicyMapOutput

func (i EventBusPolicyMap) ToEventBusPolicyMapOutput() EventBusPolicyMapOutput

func (EventBusPolicyMap) ToEventBusPolicyMapOutputWithContext

func (i EventBusPolicyMap) ToEventBusPolicyMapOutputWithContext(ctx context.Context) EventBusPolicyMapOutput

type EventBusPolicyMapInput

type EventBusPolicyMapInput interface {
	pulumi.Input

	ToEventBusPolicyMapOutput() EventBusPolicyMapOutput
	ToEventBusPolicyMapOutputWithContext(context.Context) EventBusPolicyMapOutput
}

EventBusPolicyMapInput is an input type that accepts EventBusPolicyMap and EventBusPolicyMapOutput values. You can construct a concrete instance of `EventBusPolicyMapInput` via:

EventBusPolicyMap{ "key": EventBusPolicyArgs{...} }

type EventBusPolicyMapOutput

type EventBusPolicyMapOutput struct{ *pulumi.OutputState }

func (EventBusPolicyMapOutput) ElementType

func (EventBusPolicyMapOutput) ElementType() reflect.Type

func (EventBusPolicyMapOutput) MapIndex

func (EventBusPolicyMapOutput) ToEventBusPolicyMapOutput

func (o EventBusPolicyMapOutput) ToEventBusPolicyMapOutput() EventBusPolicyMapOutput

func (EventBusPolicyMapOutput) ToEventBusPolicyMapOutputWithContext

func (o EventBusPolicyMapOutput) ToEventBusPolicyMapOutputWithContext(ctx context.Context) EventBusPolicyMapOutput

type EventBusPolicyOutput

type EventBusPolicyOutput struct{ *pulumi.OutputState }

func (EventBusPolicyOutput) ElementType

func (EventBusPolicyOutput) ElementType() reflect.Type

func (EventBusPolicyOutput) EventBusName

func (o EventBusPolicyOutput) EventBusName() pulumi.StringPtrOutput

The name of the event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus.

func (EventBusPolicyOutput) Policy

The text of the policy.

func (EventBusPolicyOutput) ToEventBusPolicyOutput

func (o EventBusPolicyOutput) ToEventBusPolicyOutput() EventBusPolicyOutput

func (EventBusPolicyOutput) ToEventBusPolicyOutputWithContext

func (o EventBusPolicyOutput) ToEventBusPolicyOutputWithContext(ctx context.Context) EventBusPolicyOutput

type EventBusPolicyState

type EventBusPolicyState struct {
	// The name of the event bus to set the permissions on.
	// If you omit this, the permissions are set on the `default` event bus.
	EventBusName pulumi.StringPtrInput
	// The text of the policy.
	Policy pulumi.StringPtrInput
}

func (EventBusPolicyState) ElementType

func (EventBusPolicyState) ElementType() reflect.Type

type EventBusState

type EventBusState struct {
	// ARN of the event bus.
	Arn pulumi.StringPtrInput
	// Event bus description.
	Description pulumi.StringPtrInput
	// Partner event source that the new event bus will be matched with. Must match `name`.
	EventSourceName pulumi.StringPtrInput
	// Identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
	KmsKeyIdentifier pulumi.StringPtrInput
	// Name of the new event bus. The names of custom event buses can't contain the / character. To create a partner event bus, ensure that the `name` matches the `eventSourceName`.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (EventBusState) ElementType

func (EventBusState) ElementType() reflect.Type

type EventConnection

type EventConnection struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the connection.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Parameters used for authorization. A maximum of 1 are allowed. Documented below.
	AuthParameters EventConnectionAuthParametersOutput `pulumi:"authParameters"`
	// Choose the type of authorization to use for the connection. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`.
	AuthorizationType pulumi.StringOutput `pulumi:"authorizationType"`
	// Enter a description for the connection. Maximum of 512 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
	SecretArn pulumi.StringOutput `pulumi:"secretArn"`
}

Provides an EventBridge connection resource.

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

## Example Usage

```go 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
	})
}

```

### Basic Authorization

```go 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
	})
}

```

### OAuth Authorization

```go 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
	})
}

```

### Invocation Http Parameters

```go 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
	})
}

```

## Import

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

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

func GetEventConnection

func GetEventConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventConnectionState, opts ...pulumi.ResourceOption) (*EventConnection, error)

GetEventConnection gets an existing EventConnection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventConnection

func NewEventConnection(ctx *pulumi.Context,
	name string, args *EventConnectionArgs, opts ...pulumi.ResourceOption) (*EventConnection, error)

NewEventConnection registers a new resource with the given unique name, arguments, and options.

func (*EventConnection) ElementType

func (*EventConnection) ElementType() reflect.Type

func (*EventConnection) ToEventConnectionOutput

func (i *EventConnection) ToEventConnectionOutput() EventConnectionOutput

func (*EventConnection) ToEventConnectionOutputWithContext

func (i *EventConnection) ToEventConnectionOutputWithContext(ctx context.Context) EventConnectionOutput

type EventConnectionArgs

type EventConnectionArgs struct {
	// Parameters used for authorization. A maximum of 1 are allowed. Documented below.
	AuthParameters EventConnectionAuthParametersInput
	// Choose the type of authorization to use for the connection. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`.
	AuthorizationType pulumi.StringInput
	// Enter a description for the connection. Maximum of 512 characters.
	Description pulumi.StringPtrInput
	// The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a EventConnection resource.

func (EventConnectionArgs) ElementType

func (EventConnectionArgs) ElementType() reflect.Type

type EventConnectionArray

type EventConnectionArray []EventConnectionInput

func (EventConnectionArray) ElementType

func (EventConnectionArray) ElementType() reflect.Type

func (EventConnectionArray) ToEventConnectionArrayOutput

func (i EventConnectionArray) ToEventConnectionArrayOutput() EventConnectionArrayOutput

func (EventConnectionArray) ToEventConnectionArrayOutputWithContext

func (i EventConnectionArray) ToEventConnectionArrayOutputWithContext(ctx context.Context) EventConnectionArrayOutput

type EventConnectionArrayInput

type EventConnectionArrayInput interface {
	pulumi.Input

	ToEventConnectionArrayOutput() EventConnectionArrayOutput
	ToEventConnectionArrayOutputWithContext(context.Context) EventConnectionArrayOutput
}

EventConnectionArrayInput is an input type that accepts EventConnectionArray and EventConnectionArrayOutput values. You can construct a concrete instance of `EventConnectionArrayInput` via:

EventConnectionArray{ EventConnectionArgs{...} }

type EventConnectionArrayOutput

type EventConnectionArrayOutput struct{ *pulumi.OutputState }

func (EventConnectionArrayOutput) ElementType

func (EventConnectionArrayOutput) ElementType() reflect.Type

func (EventConnectionArrayOutput) Index

func (EventConnectionArrayOutput) ToEventConnectionArrayOutput

func (o EventConnectionArrayOutput) ToEventConnectionArrayOutput() EventConnectionArrayOutput

func (EventConnectionArrayOutput) ToEventConnectionArrayOutputWithContext

func (o EventConnectionArrayOutput) ToEventConnectionArrayOutputWithContext(ctx context.Context) EventConnectionArrayOutput

type EventConnectionAuthParameters

type EventConnectionAuthParameters struct {
	// 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.
	ApiKey *EventConnectionAuthParametersApiKey `pulumi:"apiKey"`
	// Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with `apiKey` and `oauth`. Documented below.
	Basic *EventConnectionAuthParametersBasic `pulumi:"basic"`
	// 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.
	InvocationHttpParameters *EventConnectionAuthParametersInvocationHttpParameters `pulumi:"invocationHttpParameters"`
	// Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with `basic` and `apiKey`. Documented below.
	Oauth *EventConnectionAuthParametersOauth `pulumi:"oauth"`
}

type EventConnectionAuthParametersApiKey

type EventConnectionAuthParametersApiKey struct {
	// Header Name.
	Key string `pulumi:"key"`
	// Header Value. Created and stored in AWS Secrets Manager.
	Value string `pulumi:"value"`
}

type EventConnectionAuthParametersApiKeyArgs

type EventConnectionAuthParametersApiKeyArgs struct {
	// Header Name.
	Key pulumi.StringInput `pulumi:"key"`
	// Header Value. Created and stored in AWS Secrets Manager.
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventConnectionAuthParametersApiKeyArgs) ElementType

func (EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutput

func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutput() EventConnectionAuthParametersApiKeyOutput

func (EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutputWithContext

func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyOutput

func (EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutput

func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput

func (EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext

func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyPtrOutput

type EventConnectionAuthParametersApiKeyInput

type EventConnectionAuthParametersApiKeyInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersApiKeyOutput() EventConnectionAuthParametersApiKeyOutput
	ToEventConnectionAuthParametersApiKeyOutputWithContext(context.Context) EventConnectionAuthParametersApiKeyOutput
}

EventConnectionAuthParametersApiKeyInput is an input type that accepts EventConnectionAuthParametersApiKeyArgs and EventConnectionAuthParametersApiKeyOutput values. You can construct a concrete instance of `EventConnectionAuthParametersApiKeyInput` via:

EventConnectionAuthParametersApiKeyArgs{...}

type EventConnectionAuthParametersApiKeyOutput

type EventConnectionAuthParametersApiKeyOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersApiKeyOutput) ElementType

func (EventConnectionAuthParametersApiKeyOutput) Key

Header Name.

func (EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutput

func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutput() EventConnectionAuthParametersApiKeyOutput

func (EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutputWithContext

func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyOutput

func (EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutput

func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput

func (EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext

func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyPtrOutput

func (EventConnectionAuthParametersApiKeyOutput) Value

Header Value. Created and stored in AWS Secrets Manager.

type EventConnectionAuthParametersApiKeyPtrInput

type EventConnectionAuthParametersApiKeyPtrInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput
	ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(context.Context) EventConnectionAuthParametersApiKeyPtrOutput
}

EventConnectionAuthParametersApiKeyPtrInput is an input type that accepts EventConnectionAuthParametersApiKeyArgs, EventConnectionAuthParametersApiKeyPtr and EventConnectionAuthParametersApiKeyPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersApiKeyPtrInput` via:

        EventConnectionAuthParametersApiKeyArgs{...}

or:

        nil

type EventConnectionAuthParametersApiKeyPtrOutput

type EventConnectionAuthParametersApiKeyPtrOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersApiKeyPtrOutput) Elem

func (EventConnectionAuthParametersApiKeyPtrOutput) ElementType

func (EventConnectionAuthParametersApiKeyPtrOutput) Key

Header Name.

func (EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutput

func (o EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput

func (EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext

func (o EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyPtrOutput

func (EventConnectionAuthParametersApiKeyPtrOutput) Value

Header Value. Created and stored in AWS Secrets Manager.

type EventConnectionAuthParametersArgs

type EventConnectionAuthParametersArgs struct {
	// 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.
	ApiKey EventConnectionAuthParametersApiKeyPtrInput `pulumi:"apiKey"`
	// Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with `apiKey` and `oauth`. Documented below.
	Basic EventConnectionAuthParametersBasicPtrInput `pulumi:"basic"`
	// 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.
	InvocationHttpParameters EventConnectionAuthParametersInvocationHttpParametersPtrInput `pulumi:"invocationHttpParameters"`
	// Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with `basic` and `apiKey`. Documented below.
	Oauth EventConnectionAuthParametersOauthPtrInput `pulumi:"oauth"`
}

func (EventConnectionAuthParametersArgs) ElementType

func (EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutput

func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutput() EventConnectionAuthParametersOutput

func (EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutputWithContext

func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOutput

func (EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutput

func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput

func (EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutputWithContext

func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersPtrOutput

type EventConnectionAuthParametersBasic

type EventConnectionAuthParametersBasic struct {
	// A password for the authorization. Created and stored in AWS Secrets Manager.
	Password string `pulumi:"password"`
	// A username for the authorization.
	Username string `pulumi:"username"`
}

type EventConnectionAuthParametersBasicArgs

type EventConnectionAuthParametersBasicArgs struct {
	// A password for the authorization. Created and stored in AWS Secrets Manager.
	Password pulumi.StringInput `pulumi:"password"`
	// A username for the authorization.
	Username pulumi.StringInput `pulumi:"username"`
}

func (EventConnectionAuthParametersBasicArgs) ElementType

func (EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutput

func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutput() EventConnectionAuthParametersBasicOutput

func (EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutputWithContext

func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicOutput

func (EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutput

func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput

func (EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutputWithContext

func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicPtrOutput

type EventConnectionAuthParametersBasicInput

type EventConnectionAuthParametersBasicInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersBasicOutput() EventConnectionAuthParametersBasicOutput
	ToEventConnectionAuthParametersBasicOutputWithContext(context.Context) EventConnectionAuthParametersBasicOutput
}

EventConnectionAuthParametersBasicInput is an input type that accepts EventConnectionAuthParametersBasicArgs and EventConnectionAuthParametersBasicOutput values. You can construct a concrete instance of `EventConnectionAuthParametersBasicInput` via:

EventConnectionAuthParametersBasicArgs{...}

type EventConnectionAuthParametersBasicOutput

type EventConnectionAuthParametersBasicOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersBasicOutput) ElementType

func (EventConnectionAuthParametersBasicOutput) Password

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

func (EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutput

func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutput() EventConnectionAuthParametersBasicOutput

func (EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutputWithContext

func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicOutput

func (EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutput

func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput

func (EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext

func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicPtrOutput

func (EventConnectionAuthParametersBasicOutput) Username

A username for the authorization.

type EventConnectionAuthParametersBasicPtrInput

type EventConnectionAuthParametersBasicPtrInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput
	ToEventConnectionAuthParametersBasicPtrOutputWithContext(context.Context) EventConnectionAuthParametersBasicPtrOutput
}

EventConnectionAuthParametersBasicPtrInput is an input type that accepts EventConnectionAuthParametersBasicArgs, EventConnectionAuthParametersBasicPtr and EventConnectionAuthParametersBasicPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersBasicPtrInput` via:

        EventConnectionAuthParametersBasicArgs{...}

or:

        nil

type EventConnectionAuthParametersBasicPtrOutput

type EventConnectionAuthParametersBasicPtrOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersBasicPtrOutput) Elem

func (EventConnectionAuthParametersBasicPtrOutput) ElementType

func (EventConnectionAuthParametersBasicPtrOutput) Password

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

func (EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutput

func (o EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput

func (EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext

func (o EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicPtrOutput

func (EventConnectionAuthParametersBasicPtrOutput) Username

A username for the authorization.

type EventConnectionAuthParametersInput

type EventConnectionAuthParametersInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOutput() EventConnectionAuthParametersOutput
	ToEventConnectionAuthParametersOutputWithContext(context.Context) EventConnectionAuthParametersOutput
}

EventConnectionAuthParametersInput is an input type that accepts EventConnectionAuthParametersArgs and EventConnectionAuthParametersOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInput` via:

EventConnectionAuthParametersArgs{...}

type EventConnectionAuthParametersInvocationHttpParameters

type EventConnectionAuthParametersInvocationHttpParameters struct {
	// 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:
	Bodies []EventConnectionAuthParametersInvocationHttpParametersBody `pulumi:"bodies"`
	// 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:
	Headers []EventConnectionAuthParametersInvocationHttpParametersHeader `pulumi:"headers"`
	// 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:
	QueryStrings []EventConnectionAuthParametersInvocationHttpParametersQueryString `pulumi:"queryStrings"`
}

type EventConnectionAuthParametersInvocationHttpParametersArgs

type EventConnectionAuthParametersInvocationHttpParametersArgs struct {
	// 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:
	Bodies EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput `pulumi:"bodies"`
	// 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:
	Headers EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput `pulumi:"headers"`
	// 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:
	QueryStrings EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput `pulumi:"queryStrings"`
}

func (EventConnectionAuthParametersInvocationHttpParametersArgs) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersOutput

func (EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext

func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersOutput

func (EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput

func (EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext

func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput

type EventConnectionAuthParametersInvocationHttpParametersBody

type EventConnectionAuthParametersInvocationHttpParametersBody struct {
	// Specified whether the value is secret.
	IsValueSecret *bool `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key *string `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value *string `pulumi:"value"`
}

type EventConnectionAuthParametersInvocationHttpParametersBodyArgs

type EventConnectionAuthParametersInvocationHttpParametersBodyArgs struct {
	// Specified whether the value is secret.
	IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput

func (EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext

func (i EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyOutput

type EventConnectionAuthParametersInvocationHttpParametersBodyArray

type EventConnectionAuthParametersInvocationHttpParametersBodyArray []EventConnectionAuthParametersInvocationHttpParametersBodyInput

func (EventConnectionAuthParametersInvocationHttpParametersBodyArray) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersBodyArray) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput

func (EventConnectionAuthParametersInvocationHttpParametersBodyArray) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext

func (i EventConnectionAuthParametersInvocationHttpParametersBodyArray) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput

type EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput

type EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
	ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
}

EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersBodyArray and EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput` via:

EventConnectionAuthParametersInvocationHttpParametersBodyArray{ EventConnectionAuthParametersInvocationHttpParametersBodyArgs{...} }

type EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput

type EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput

func (EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext

func (o EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput

type EventConnectionAuthParametersInvocationHttpParametersBodyInput

type EventConnectionAuthParametersInvocationHttpParametersBodyInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput() EventConnectionAuthParametersInvocationHttpParametersBodyOutput
	ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyOutput
}

EventConnectionAuthParametersInvocationHttpParametersBodyInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersBodyArgs and EventConnectionAuthParametersInvocationHttpParametersBodyOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersBodyInput` via:

EventConnectionAuthParametersInvocationHttpParametersBodyArgs{...}

type EventConnectionAuthParametersInvocationHttpParametersBodyOutput

type EventConnectionAuthParametersInvocationHttpParametersBodyOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) IsValueSecret

Specified whether the value is secret.

func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) Key

The key for the parameter.

func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput

func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext

func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyOutput

func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) Value

The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

type EventConnectionAuthParametersInvocationHttpParametersHeader

type EventConnectionAuthParametersInvocationHttpParametersHeader struct {
	// Specified whether the value is secret.
	IsValueSecret *bool `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key *string `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value *string `pulumi:"value"`
}

type EventConnectionAuthParametersInvocationHttpParametersHeaderArgs

type EventConnectionAuthParametersInvocationHttpParametersHeaderArgs struct {
	// Specified whether the value is secret.
	IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput

func (EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext

func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderOutput

type EventConnectionAuthParametersInvocationHttpParametersHeaderArray

type EventConnectionAuthParametersInvocationHttpParametersHeaderArray []EventConnectionAuthParametersInvocationHttpParametersHeaderInput

func (EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput

func (EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext

func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput

type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput

type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
	ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
}

EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersHeaderArray and EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput` via:

EventConnectionAuthParametersInvocationHttpParametersHeaderArray{ EventConnectionAuthParametersInvocationHttpParametersHeaderArgs{...} }

type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput

type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput

func (EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext

func (o EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput

type EventConnectionAuthParametersInvocationHttpParametersHeaderInput

type EventConnectionAuthParametersInvocationHttpParametersHeaderInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
	ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
}

EventConnectionAuthParametersInvocationHttpParametersHeaderInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersHeaderArgs and EventConnectionAuthParametersInvocationHttpParametersHeaderOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersHeaderInput` via:

EventConnectionAuthParametersInvocationHttpParametersHeaderArgs{...}

type EventConnectionAuthParametersInvocationHttpParametersHeaderOutput

type EventConnectionAuthParametersInvocationHttpParametersHeaderOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) IsValueSecret

Specified whether the value is secret.

func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) Key

The key for the parameter.

func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput

func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext

func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderOutput

func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) Value

The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

type EventConnectionAuthParametersInvocationHttpParametersInput

type EventConnectionAuthParametersInvocationHttpParametersInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersInvocationHttpParametersOutput() EventConnectionAuthParametersInvocationHttpParametersOutput
	ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersOutput
}

EventConnectionAuthParametersInvocationHttpParametersInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersArgs and EventConnectionAuthParametersInvocationHttpParametersOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersInput` via:

EventConnectionAuthParametersInvocationHttpParametersArgs{...}

type EventConnectionAuthParametersInvocationHttpParametersOutput

type EventConnectionAuthParametersInvocationHttpParametersOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersInvocationHttpParametersOutput) Bodies

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:

func (EventConnectionAuthParametersInvocationHttpParametersOutput) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersOutput) Headers

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:

func (EventConnectionAuthParametersInvocationHttpParametersOutput) QueryStrings

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:

func (EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersOutput

func (EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext

func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersOutput

func (EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput

func (EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext

func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput

type EventConnectionAuthParametersInvocationHttpParametersPtrInput

type EventConnectionAuthParametersInvocationHttpParametersPtrInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
	ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput
}

EventConnectionAuthParametersInvocationHttpParametersPtrInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersArgs, EventConnectionAuthParametersInvocationHttpParametersPtr and EventConnectionAuthParametersInvocationHttpParametersPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersPtrInput` via:

        EventConnectionAuthParametersInvocationHttpParametersArgs{...}

or:

        nil

type EventConnectionAuthParametersInvocationHttpParametersPtrOutput

type EventConnectionAuthParametersInvocationHttpParametersPtrOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Bodies

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:

func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Elem

func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Headers

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:

func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) QueryStrings

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:

func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput

func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext

func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput

type EventConnectionAuthParametersInvocationHttpParametersQueryString

type EventConnectionAuthParametersInvocationHttpParametersQueryString struct {
	// Specified whether the value is secret.
	IsValueSecret *bool `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key *string `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value *string `pulumi:"value"`
}

type EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs

type EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs struct {
	// Specified whether the value is secret.
	IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext

func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput

type EventConnectionAuthParametersInvocationHttpParametersQueryStringArray

type EventConnectionAuthParametersInvocationHttpParametersQueryStringArray []EventConnectionAuthParametersInvocationHttpParametersQueryStringInput

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext

func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput

type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput

type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
	ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
}

EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersQueryStringArray and EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput` via:

EventConnectionAuthParametersInvocationHttpParametersQueryStringArray{ EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs{...} }

type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput

type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext

type EventConnectionAuthParametersInvocationHttpParametersQueryStringInput

type EventConnectionAuthParametersInvocationHttpParametersQueryStringInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
	ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
}

EventConnectionAuthParametersInvocationHttpParametersQueryStringInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs and EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersQueryStringInput` via:

EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs{...}

type EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput

type EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ElementType

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) IsValueSecret

Specified whether the value is secret.

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) Key

The key for the parameter.

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext

func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput

func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) Value

The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

type EventConnectionAuthParametersOauth

type EventConnectionAuthParametersOauth struct {
	// The URL to the authorization endpoint.
	AuthorizationEndpoint string `pulumi:"authorizationEndpoint"`
	// Contains the client parameters for OAuth authorization. Contains the following two parameters.
	ClientParameters *EventConnectionAuthParametersOauthClientParameters `pulumi:"clientParameters"`
	// A password for the authorization. Created and stored in AWS Secrets Manager.
	HttpMethod string `pulumi:"httpMethod"`
	// 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.
	OauthHttpParameters EventConnectionAuthParametersOauthOauthHttpParameters `pulumi:"oauthHttpParameters"`
}

type EventConnectionAuthParametersOauthArgs

type EventConnectionAuthParametersOauthArgs struct {
	// The URL to the authorization endpoint.
	AuthorizationEndpoint pulumi.StringInput `pulumi:"authorizationEndpoint"`
	// Contains the client parameters for OAuth authorization. Contains the following two parameters.
	ClientParameters EventConnectionAuthParametersOauthClientParametersPtrInput `pulumi:"clientParameters"`
	// A password for the authorization. Created and stored in AWS Secrets Manager.
	HttpMethod pulumi.StringInput `pulumi:"httpMethod"`
	// 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.
	OauthHttpParameters EventConnectionAuthParametersOauthOauthHttpParametersInput `pulumi:"oauthHttpParameters"`
}

func (EventConnectionAuthParametersOauthArgs) ElementType

func (EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutput

func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutput() EventConnectionAuthParametersOauthOutput

func (EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutputWithContext

func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOutput

func (EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutput

func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput

func (EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutputWithContext

func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthPtrOutput

type EventConnectionAuthParametersOauthClientParameters

type EventConnectionAuthParametersOauthClientParameters struct {
	// The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
	ClientId string `pulumi:"clientId"`
	// The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
	ClientSecret string `pulumi:"clientSecret"`
}

type EventConnectionAuthParametersOauthClientParametersArgs

type EventConnectionAuthParametersOauthClientParametersArgs struct {
	// The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
	ClientId pulumi.StringInput `pulumi:"clientId"`
	// The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
	ClientSecret pulumi.StringInput `pulumi:"clientSecret"`
}

func (EventConnectionAuthParametersOauthClientParametersArgs) ElementType

func (EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersOutput

func (EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext

func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersOutput

func (EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutput

func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutput() EventConnectionAuthParametersOauthClientParametersPtrOutput

func (EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext

func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput

type EventConnectionAuthParametersOauthClientParametersInput

type EventConnectionAuthParametersOauthClientParametersInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthClientParametersOutput() EventConnectionAuthParametersOauthClientParametersOutput
	ToEventConnectionAuthParametersOauthClientParametersOutputWithContext(context.Context) EventConnectionAuthParametersOauthClientParametersOutput
}

EventConnectionAuthParametersOauthClientParametersInput is an input type that accepts EventConnectionAuthParametersOauthClientParametersArgs and EventConnectionAuthParametersOauthClientParametersOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthClientParametersInput` via:

EventConnectionAuthParametersOauthClientParametersArgs{...}

type EventConnectionAuthParametersOauthClientParametersOutput

type EventConnectionAuthParametersOauthClientParametersOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthClientParametersOutput) ClientId

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

func (EventConnectionAuthParametersOauthClientParametersOutput) ClientSecret

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

func (EventConnectionAuthParametersOauthClientParametersOutput) ElementType

func (EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersOutput

func (EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext

func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersOutput

func (EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutput

func (EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext

func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput

type EventConnectionAuthParametersOauthClientParametersPtrInput

type EventConnectionAuthParametersOauthClientParametersPtrInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthClientParametersPtrOutput() EventConnectionAuthParametersOauthClientParametersPtrOutput
	ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput
}

EventConnectionAuthParametersOauthClientParametersPtrInput is an input type that accepts EventConnectionAuthParametersOauthClientParametersArgs, EventConnectionAuthParametersOauthClientParametersPtr and EventConnectionAuthParametersOauthClientParametersPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthClientParametersPtrInput` via:

        EventConnectionAuthParametersOauthClientParametersArgs{...}

or:

        nil

type EventConnectionAuthParametersOauthClientParametersPtrOutput

type EventConnectionAuthParametersOauthClientParametersPtrOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ClientId

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

func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ClientSecret

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

func (EventConnectionAuthParametersOauthClientParametersPtrOutput) Elem

func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ElementType

func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutput

func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext

func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput

type EventConnectionAuthParametersOauthInput

type EventConnectionAuthParametersOauthInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthOutput() EventConnectionAuthParametersOauthOutput
	ToEventConnectionAuthParametersOauthOutputWithContext(context.Context) EventConnectionAuthParametersOauthOutput
}

EventConnectionAuthParametersOauthInput is an input type that accepts EventConnectionAuthParametersOauthArgs and EventConnectionAuthParametersOauthOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthInput` via:

EventConnectionAuthParametersOauthArgs{...}

type EventConnectionAuthParametersOauthOauthHttpParameters

type EventConnectionAuthParametersOauthOauthHttpParameters struct {
	// 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:
	Bodies []EventConnectionAuthParametersOauthOauthHttpParametersBody `pulumi:"bodies"`
	// 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:
	Headers []EventConnectionAuthParametersOauthOauthHttpParametersHeader `pulumi:"headers"`
	// 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:
	QueryStrings []EventConnectionAuthParametersOauthOauthHttpParametersQueryString `pulumi:"queryStrings"`
}

type EventConnectionAuthParametersOauthOauthHttpParametersArgs

type EventConnectionAuthParametersOauthOauthHttpParametersArgs struct {
	// 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:
	Bodies EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput `pulumi:"bodies"`
	// 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:
	Headers EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput `pulumi:"headers"`
	// 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:
	QueryStrings EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput `pulumi:"queryStrings"`
}

func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext

func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext

func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput

type EventConnectionAuthParametersOauthOauthHttpParametersBody

type EventConnectionAuthParametersOauthOauthHttpParametersBody struct {
	// Specified whether the value is secret.
	IsValueSecret *bool `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key *string `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value *string `pulumi:"value"`
}

type EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs

type EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs struct {
	// Specified whether the value is secret.
	IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext

func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput

type EventConnectionAuthParametersOauthOauthHttpParametersBodyArray

type EventConnectionAuthParametersOauthOauthHttpParametersBodyArray []EventConnectionAuthParametersOauthOauthHttpParametersBodyInput

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext

func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput

type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput

type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
	ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
}

EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersBodyArray and EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput` via:

EventConnectionAuthParametersOauthOauthHttpParametersBodyArray{ EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs{...} }

type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput

type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext

func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput

type EventConnectionAuthParametersOauthOauthHttpParametersBodyInput

type EventConnectionAuthParametersOauthOauthHttpParametersBodyInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
	ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
}

EventConnectionAuthParametersOauthOauthHttpParametersBodyInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs and EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersBodyInput` via:

EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs{...}

type EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput

type EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) IsValueSecret

Specified whether the value is secret.

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) Key

The key for the parameter.

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext

func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) Value

The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

type EventConnectionAuthParametersOauthOauthHttpParametersHeader

type EventConnectionAuthParametersOauthOauthHttpParametersHeader struct {
	// Specified whether the value is secret.
	IsValueSecret *bool `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key *string `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value *string `pulumi:"value"`
}

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs struct {
	// Specified whether the value is secret.
	IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext

func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray []EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext

func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
	ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
}

EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray and EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput` via:

EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray{ EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs{...} }

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext

func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
	ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
}

EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs and EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput` via:

EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs{...}

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput

type EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) IsValueSecret

Specified whether the value is secret.

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) Key

The key for the parameter.

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext

func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) Value

The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

type EventConnectionAuthParametersOauthOauthHttpParametersInput

type EventConnectionAuthParametersOauthOauthHttpParametersInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthOauthHttpParametersOutput() EventConnectionAuthParametersOauthOauthHttpParametersOutput
	ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersOutput
}

EventConnectionAuthParametersOauthOauthHttpParametersInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersArgs and EventConnectionAuthParametersOauthOauthHttpParametersOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersInput` via:

EventConnectionAuthParametersOauthOauthHttpParametersArgs{...}

type EventConnectionAuthParametersOauthOauthHttpParametersOutput

type EventConnectionAuthParametersOauthOauthHttpParametersOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) Bodies

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:

func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) Headers

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:

func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) QueryStrings

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:

func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext

func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext

func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput

type EventConnectionAuthParametersOauthOauthHttpParametersPtrInput

type EventConnectionAuthParametersOauthOauthHttpParametersPtrInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
	ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
}

EventConnectionAuthParametersOauthOauthHttpParametersPtrInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersArgs, EventConnectionAuthParametersOauthOauthHttpParametersPtr and EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersPtrInput` via:

        EventConnectionAuthParametersOauthOauthHttpParametersArgs{...}

or:

        nil

type EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput

type EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Bodies

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:

func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Elem

func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Headers

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:

func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) QueryStrings

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:

func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext

func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput

type EventConnectionAuthParametersOauthOauthHttpParametersQueryString

type EventConnectionAuthParametersOauthOauthHttpParametersQueryString struct {
	// Specified whether the value is secret.
	IsValueSecret *bool `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key *string `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value *string `pulumi:"value"`
}

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs struct {
	// Specified whether the value is secret.
	IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"`
	// The key for the parameter.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value associated with the key. Created and stored in AWS Secrets Manager if is secret.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext

func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray []EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext

func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
	ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
}

EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray and EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput` via:

EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray{ EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs{...} }

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
	ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
}

EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs and EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput` via:

EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs{...}

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput

type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ElementType

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) IsValueSecret

Specified whether the value is secret.

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) Key

The key for the parameter.

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext

func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput

func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) Value

The value associated with the key. Created and stored in AWS Secrets Manager if is secret.

type EventConnectionAuthParametersOauthOutput

type EventConnectionAuthParametersOauthOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthOutput) AuthorizationEndpoint

The URL to the authorization endpoint.

func (EventConnectionAuthParametersOauthOutput) ClientParameters

Contains the client parameters for OAuth authorization. Contains the following two parameters.

func (EventConnectionAuthParametersOauthOutput) ElementType

func (EventConnectionAuthParametersOauthOutput) HttpMethod

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

func (EventConnectionAuthParametersOauthOutput) OauthHttpParameters

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.

func (EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutput

func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutput() EventConnectionAuthParametersOauthOutput

func (EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutputWithContext

func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOutput

func (EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutput

func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput

func (EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext

func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthPtrOutput

type EventConnectionAuthParametersOauthPtrInput

type EventConnectionAuthParametersOauthPtrInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput
	ToEventConnectionAuthParametersOauthPtrOutputWithContext(context.Context) EventConnectionAuthParametersOauthPtrOutput
}

EventConnectionAuthParametersOauthPtrInput is an input type that accepts EventConnectionAuthParametersOauthArgs, EventConnectionAuthParametersOauthPtr and EventConnectionAuthParametersOauthPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthPtrInput` via:

        EventConnectionAuthParametersOauthArgs{...}

or:

        nil

type EventConnectionAuthParametersOauthPtrOutput

type EventConnectionAuthParametersOauthPtrOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOauthPtrOutput) AuthorizationEndpoint

The URL to the authorization endpoint.

func (EventConnectionAuthParametersOauthPtrOutput) ClientParameters

Contains the client parameters for OAuth authorization. Contains the following two parameters.

func (EventConnectionAuthParametersOauthPtrOutput) Elem

func (EventConnectionAuthParametersOauthPtrOutput) ElementType

func (EventConnectionAuthParametersOauthPtrOutput) HttpMethod

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

func (EventConnectionAuthParametersOauthPtrOutput) OauthHttpParameters

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.

func (EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutput

func (o EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput

func (EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext

func (o EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthPtrOutput

type EventConnectionAuthParametersOutput

type EventConnectionAuthParametersOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersOutput) ApiKey

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.

func (EventConnectionAuthParametersOutput) Basic

Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with `apiKey` and `oauth`. Documented below.

func (EventConnectionAuthParametersOutput) ElementType

func (EventConnectionAuthParametersOutput) InvocationHttpParameters

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.

func (EventConnectionAuthParametersOutput) Oauth

Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with `basic` and `apiKey`. Documented below.

func (EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutput

func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutput() EventConnectionAuthParametersOutput

func (EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutputWithContext

func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOutput

func (EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutput

func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput

func (EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutputWithContext

func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersPtrOutput

type EventConnectionAuthParametersPtrInput

type EventConnectionAuthParametersPtrInput interface {
	pulumi.Input

	ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput
	ToEventConnectionAuthParametersPtrOutputWithContext(context.Context) EventConnectionAuthParametersPtrOutput
}

EventConnectionAuthParametersPtrInput is an input type that accepts EventConnectionAuthParametersArgs, EventConnectionAuthParametersPtr and EventConnectionAuthParametersPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersPtrInput` via:

        EventConnectionAuthParametersArgs{...}

or:

        nil

type EventConnectionAuthParametersPtrOutput

type EventConnectionAuthParametersPtrOutput struct{ *pulumi.OutputState }

func (EventConnectionAuthParametersPtrOutput) ApiKey

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.

func (EventConnectionAuthParametersPtrOutput) Basic

Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with `apiKey` and `oauth`. Documented below.

func (EventConnectionAuthParametersPtrOutput) Elem

func (EventConnectionAuthParametersPtrOutput) ElementType

func (EventConnectionAuthParametersPtrOutput) InvocationHttpParameters

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.

func (EventConnectionAuthParametersPtrOutput) Oauth

Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with `basic` and `apiKey`. Documented below.

func (EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutput

func (o EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput

func (EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutputWithContext

func (o EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersPtrOutput

type EventConnectionInput

type EventConnectionInput interface {
	pulumi.Input

	ToEventConnectionOutput() EventConnectionOutput
	ToEventConnectionOutputWithContext(ctx context.Context) EventConnectionOutput
}

type EventConnectionMap

type EventConnectionMap map[string]EventConnectionInput

func (EventConnectionMap) ElementType

func (EventConnectionMap) ElementType() reflect.Type

func (EventConnectionMap) ToEventConnectionMapOutput

func (i EventConnectionMap) ToEventConnectionMapOutput() EventConnectionMapOutput

func (EventConnectionMap) ToEventConnectionMapOutputWithContext

func (i EventConnectionMap) ToEventConnectionMapOutputWithContext(ctx context.Context) EventConnectionMapOutput

type EventConnectionMapInput

type EventConnectionMapInput interface {
	pulumi.Input

	ToEventConnectionMapOutput() EventConnectionMapOutput
	ToEventConnectionMapOutputWithContext(context.Context) EventConnectionMapOutput
}

EventConnectionMapInput is an input type that accepts EventConnectionMap and EventConnectionMapOutput values. You can construct a concrete instance of `EventConnectionMapInput` via:

EventConnectionMap{ "key": EventConnectionArgs{...} }

type EventConnectionMapOutput

type EventConnectionMapOutput struct{ *pulumi.OutputState }

func (EventConnectionMapOutput) ElementType

func (EventConnectionMapOutput) ElementType() reflect.Type

func (EventConnectionMapOutput) MapIndex

func (EventConnectionMapOutput) ToEventConnectionMapOutput

func (o EventConnectionMapOutput) ToEventConnectionMapOutput() EventConnectionMapOutput

func (EventConnectionMapOutput) ToEventConnectionMapOutputWithContext

func (o EventConnectionMapOutput) ToEventConnectionMapOutputWithContext(ctx context.Context) EventConnectionMapOutput

type EventConnectionOutput

type EventConnectionOutput struct{ *pulumi.OutputState }

func (EventConnectionOutput) Arn

The Amazon Resource Name (ARN) of the connection.

func (EventConnectionOutput) AuthParameters

Parameters used for authorization. A maximum of 1 are allowed. Documented below.

func (EventConnectionOutput) AuthorizationType

func (o EventConnectionOutput) AuthorizationType() pulumi.StringOutput

Choose the type of authorization to use for the connection. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`.

func (EventConnectionOutput) Description

Enter a description for the connection. Maximum of 512 characters.

func (EventConnectionOutput) ElementType

func (EventConnectionOutput) ElementType() reflect.Type

func (EventConnectionOutput) Name

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

func (EventConnectionOutput) SecretArn

The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.

func (EventConnectionOutput) ToEventConnectionOutput

func (o EventConnectionOutput) ToEventConnectionOutput() EventConnectionOutput

func (EventConnectionOutput) ToEventConnectionOutputWithContext

func (o EventConnectionOutput) ToEventConnectionOutputWithContext(ctx context.Context) EventConnectionOutput

type EventConnectionState

type EventConnectionState struct {
	// The Amazon Resource Name (ARN) of the connection.
	Arn pulumi.StringPtrInput
	// Parameters used for authorization. A maximum of 1 are allowed. Documented below.
	AuthParameters EventConnectionAuthParametersPtrInput
	// Choose the type of authorization to use for the connection. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`.
	AuthorizationType pulumi.StringPtrInput
	// Enter a description for the connection. Maximum of 512 characters.
	Description pulumi.StringPtrInput
	// The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_.
	Name pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection.
	SecretArn pulumi.StringPtrInput
}

func (EventConnectionState) ElementType

func (EventConnectionState) ElementType() reflect.Type

type EventEndpoint

type EventEndpoint struct {
	pulumi.CustomResourceState

	// The ARN of the endpoint that was created.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A description of the global endpoint.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The URL of the endpoint that was created.
	EndpointUrl pulumi.StringOutput `pulumi:"endpointUrl"`
	// The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
	EventBuses EventEndpointEventBusArrayOutput `pulumi:"eventBuses"`
	// The name of the global endpoint.
	Name pulumi.StringOutput `pulumi:"name"`
	// Parameters used for replication. Documented below.
	ReplicationConfig EventEndpointReplicationConfigPtrOutput `pulumi:"replicationConfig"`
	// The ARN of the IAM role used for replication between event buses.
	RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"`
	// Parameters used for routing, including the health check and secondary Region. Documented below.
	RoutingConfig EventEndpointRoutingConfigOutput `pulumi:"routingConfig"`
}

Provides a resource to create an EventBridge Global Endpoint.

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

## Example Usage

```go 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.NewEventEndpoint(ctx, "this", &cloudwatch.EventEndpointArgs{
			Name:    pulumi.String("global-endpoint"),
			RoleArn: pulumi.Any(replication.Arn),
			EventBuses: cloudwatch.EventEndpointEventBusArray{
				&cloudwatch.EventEndpointEventBusArgs{
					EventBusArn: pulumi.Any(primary.Arn),
				},
				&cloudwatch.EventEndpointEventBusArgs{
					EventBusArn: pulumi.Any(secondary.Arn),
				},
			},
			ReplicationConfig: &cloudwatch.EventEndpointReplicationConfigArgs{
				State: pulumi.String("DISABLED"),
			},
			RoutingConfig: &cloudwatch.EventEndpointRoutingConfigArgs{
				FailoverConfig: &cloudwatch.EventEndpointRoutingConfigFailoverConfigArgs{
					Primary: &cloudwatch.EventEndpointRoutingConfigFailoverConfigPrimaryArgs{
						HealthCheck: pulumi.Any(primaryAwsRoute53HealthCheck.Arn),
					},
					Secondary: &cloudwatch.EventEndpointRoutingConfigFailoverConfigSecondaryArgs{
						Route: pulumi.String("us-east-2"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import EventBridge Global Endpoints using the `name`. For example:

```sh $ pulumi import aws:cloudwatch/eventEndpoint:EventEndpoint imported_endpoint example-endpoint ```

func GetEventEndpoint

func GetEventEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventEndpointState, opts ...pulumi.ResourceOption) (*EventEndpoint, error)

GetEventEndpoint gets an existing EventEndpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventEndpoint

func NewEventEndpoint(ctx *pulumi.Context,
	name string, args *EventEndpointArgs, opts ...pulumi.ResourceOption) (*EventEndpoint, error)

NewEventEndpoint registers a new resource with the given unique name, arguments, and options.

func (*EventEndpoint) ElementType

func (*EventEndpoint) ElementType() reflect.Type

func (*EventEndpoint) ToEventEndpointOutput

func (i *EventEndpoint) ToEventEndpointOutput() EventEndpointOutput

func (*EventEndpoint) ToEventEndpointOutputWithContext

func (i *EventEndpoint) ToEventEndpointOutputWithContext(ctx context.Context) EventEndpointOutput

type EventEndpointArgs

type EventEndpointArgs struct {
	// A description of the global endpoint.
	Description pulumi.StringPtrInput
	// The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
	EventBuses EventEndpointEventBusArrayInput
	// The name of the global endpoint.
	Name pulumi.StringPtrInput
	// Parameters used for replication. Documented below.
	ReplicationConfig EventEndpointReplicationConfigPtrInput
	// The ARN of the IAM role used for replication between event buses.
	RoleArn pulumi.StringPtrInput
	// Parameters used for routing, including the health check and secondary Region. Documented below.
	RoutingConfig EventEndpointRoutingConfigInput
}

The set of arguments for constructing a EventEndpoint resource.

func (EventEndpointArgs) ElementType

func (EventEndpointArgs) ElementType() reflect.Type

type EventEndpointArray

type EventEndpointArray []EventEndpointInput

func (EventEndpointArray) ElementType

func (EventEndpointArray) ElementType() reflect.Type

func (EventEndpointArray) ToEventEndpointArrayOutput

func (i EventEndpointArray) ToEventEndpointArrayOutput() EventEndpointArrayOutput

func (EventEndpointArray) ToEventEndpointArrayOutputWithContext

func (i EventEndpointArray) ToEventEndpointArrayOutputWithContext(ctx context.Context) EventEndpointArrayOutput

type EventEndpointArrayInput

type EventEndpointArrayInput interface {
	pulumi.Input

	ToEventEndpointArrayOutput() EventEndpointArrayOutput
	ToEventEndpointArrayOutputWithContext(context.Context) EventEndpointArrayOutput
}

EventEndpointArrayInput is an input type that accepts EventEndpointArray and EventEndpointArrayOutput values. You can construct a concrete instance of `EventEndpointArrayInput` via:

EventEndpointArray{ EventEndpointArgs{...} }

type EventEndpointArrayOutput

type EventEndpointArrayOutput struct{ *pulumi.OutputState }

func (EventEndpointArrayOutput) ElementType

func (EventEndpointArrayOutput) ElementType() reflect.Type

func (EventEndpointArrayOutput) Index

func (EventEndpointArrayOutput) ToEventEndpointArrayOutput

func (o EventEndpointArrayOutput) ToEventEndpointArrayOutput() EventEndpointArrayOutput

func (EventEndpointArrayOutput) ToEventEndpointArrayOutputWithContext

func (o EventEndpointArrayOutput) ToEventEndpointArrayOutputWithContext(ctx context.Context) EventEndpointArrayOutput

type EventEndpointEventBus

type EventEndpointEventBus struct {
	// The ARN of the event bus the endpoint is associated with.
	EventBusArn string `pulumi:"eventBusArn"`
}

type EventEndpointEventBusArgs

type EventEndpointEventBusArgs struct {
	// The ARN of the event bus the endpoint is associated with.
	EventBusArn pulumi.StringInput `pulumi:"eventBusArn"`
}

func (EventEndpointEventBusArgs) ElementType

func (EventEndpointEventBusArgs) ElementType() reflect.Type

func (EventEndpointEventBusArgs) ToEventEndpointEventBusOutput

func (i EventEndpointEventBusArgs) ToEventEndpointEventBusOutput() EventEndpointEventBusOutput

func (EventEndpointEventBusArgs) ToEventEndpointEventBusOutputWithContext

func (i EventEndpointEventBusArgs) ToEventEndpointEventBusOutputWithContext(ctx context.Context) EventEndpointEventBusOutput

type EventEndpointEventBusArray

type EventEndpointEventBusArray []EventEndpointEventBusInput

func (EventEndpointEventBusArray) ElementType

func (EventEndpointEventBusArray) ElementType() reflect.Type

func (EventEndpointEventBusArray) ToEventEndpointEventBusArrayOutput

func (i EventEndpointEventBusArray) ToEventEndpointEventBusArrayOutput() EventEndpointEventBusArrayOutput

func (EventEndpointEventBusArray) ToEventEndpointEventBusArrayOutputWithContext

func (i EventEndpointEventBusArray) ToEventEndpointEventBusArrayOutputWithContext(ctx context.Context) EventEndpointEventBusArrayOutput

type EventEndpointEventBusArrayInput

type EventEndpointEventBusArrayInput interface {
	pulumi.Input

	ToEventEndpointEventBusArrayOutput() EventEndpointEventBusArrayOutput
	ToEventEndpointEventBusArrayOutputWithContext(context.Context) EventEndpointEventBusArrayOutput
}

EventEndpointEventBusArrayInput is an input type that accepts EventEndpointEventBusArray and EventEndpointEventBusArrayOutput values. You can construct a concrete instance of `EventEndpointEventBusArrayInput` via:

EventEndpointEventBusArray{ EventEndpointEventBusArgs{...} }

type EventEndpointEventBusArrayOutput

type EventEndpointEventBusArrayOutput struct{ *pulumi.OutputState }

func (EventEndpointEventBusArrayOutput) ElementType

func (EventEndpointEventBusArrayOutput) Index

func (EventEndpointEventBusArrayOutput) ToEventEndpointEventBusArrayOutput

func (o EventEndpointEventBusArrayOutput) ToEventEndpointEventBusArrayOutput() EventEndpointEventBusArrayOutput

func (EventEndpointEventBusArrayOutput) ToEventEndpointEventBusArrayOutputWithContext

func (o EventEndpointEventBusArrayOutput) ToEventEndpointEventBusArrayOutputWithContext(ctx context.Context) EventEndpointEventBusArrayOutput

type EventEndpointEventBusInput

type EventEndpointEventBusInput interface {
	pulumi.Input

	ToEventEndpointEventBusOutput() EventEndpointEventBusOutput
	ToEventEndpointEventBusOutputWithContext(context.Context) EventEndpointEventBusOutput
}

EventEndpointEventBusInput is an input type that accepts EventEndpointEventBusArgs and EventEndpointEventBusOutput values. You can construct a concrete instance of `EventEndpointEventBusInput` via:

EventEndpointEventBusArgs{...}

type EventEndpointEventBusOutput

type EventEndpointEventBusOutput struct{ *pulumi.OutputState }

func (EventEndpointEventBusOutput) ElementType

func (EventEndpointEventBusOutput) EventBusArn

The ARN of the event bus the endpoint is associated with.

func (EventEndpointEventBusOutput) ToEventEndpointEventBusOutput

func (o EventEndpointEventBusOutput) ToEventEndpointEventBusOutput() EventEndpointEventBusOutput

func (EventEndpointEventBusOutput) ToEventEndpointEventBusOutputWithContext

func (o EventEndpointEventBusOutput) ToEventEndpointEventBusOutputWithContext(ctx context.Context) EventEndpointEventBusOutput

type EventEndpointInput

type EventEndpointInput interface {
	pulumi.Input

	ToEventEndpointOutput() EventEndpointOutput
	ToEventEndpointOutputWithContext(ctx context.Context) EventEndpointOutput
}

type EventEndpointMap

type EventEndpointMap map[string]EventEndpointInput

func (EventEndpointMap) ElementType

func (EventEndpointMap) ElementType() reflect.Type

func (EventEndpointMap) ToEventEndpointMapOutput

func (i EventEndpointMap) ToEventEndpointMapOutput() EventEndpointMapOutput

func (EventEndpointMap) ToEventEndpointMapOutputWithContext

func (i EventEndpointMap) ToEventEndpointMapOutputWithContext(ctx context.Context) EventEndpointMapOutput

type EventEndpointMapInput

type EventEndpointMapInput interface {
	pulumi.Input

	ToEventEndpointMapOutput() EventEndpointMapOutput
	ToEventEndpointMapOutputWithContext(context.Context) EventEndpointMapOutput
}

EventEndpointMapInput is an input type that accepts EventEndpointMap and EventEndpointMapOutput values. You can construct a concrete instance of `EventEndpointMapInput` via:

EventEndpointMap{ "key": EventEndpointArgs{...} }

type EventEndpointMapOutput

type EventEndpointMapOutput struct{ *pulumi.OutputState }

func (EventEndpointMapOutput) ElementType

func (EventEndpointMapOutput) ElementType() reflect.Type

func (EventEndpointMapOutput) MapIndex

func (EventEndpointMapOutput) ToEventEndpointMapOutput

func (o EventEndpointMapOutput) ToEventEndpointMapOutput() EventEndpointMapOutput

func (EventEndpointMapOutput) ToEventEndpointMapOutputWithContext

func (o EventEndpointMapOutput) ToEventEndpointMapOutputWithContext(ctx context.Context) EventEndpointMapOutput

type EventEndpointOutput

type EventEndpointOutput struct{ *pulumi.OutputState }

func (EventEndpointOutput) Arn

The ARN of the endpoint that was created.

func (EventEndpointOutput) Description

func (o EventEndpointOutput) Description() pulumi.StringPtrOutput

A description of the global endpoint.

func (EventEndpointOutput) ElementType

func (EventEndpointOutput) ElementType() reflect.Type

func (EventEndpointOutput) EndpointUrl

func (o EventEndpointOutput) EndpointUrl() pulumi.StringOutput

The URL of the endpoint that was created.

func (EventEndpointOutput) EventBuses

The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.

func (EventEndpointOutput) Name

The name of the global endpoint.

func (EventEndpointOutput) ReplicationConfig

Parameters used for replication. Documented below.

func (EventEndpointOutput) RoleArn

The ARN of the IAM role used for replication between event buses.

func (EventEndpointOutput) RoutingConfig

Parameters used for routing, including the health check and secondary Region. Documented below.

func (EventEndpointOutput) ToEventEndpointOutput

func (o EventEndpointOutput) ToEventEndpointOutput() EventEndpointOutput

func (EventEndpointOutput) ToEventEndpointOutputWithContext

func (o EventEndpointOutput) ToEventEndpointOutputWithContext(ctx context.Context) EventEndpointOutput

type EventEndpointReplicationConfig

type EventEndpointReplicationConfig struct {
	// The state of event replication. Valid values: `ENABLED`, `DISABLED`. The default state is `ENABLED`, which means you must supply a `roleArn`. If you don't have a `roleArn` or you don't want event replication enabled, set `state` to `DISABLED`.
	State *string `pulumi:"state"`
}

type EventEndpointReplicationConfigArgs

type EventEndpointReplicationConfigArgs struct {
	// The state of event replication. Valid values: `ENABLED`, `DISABLED`. The default state is `ENABLED`, which means you must supply a `roleArn`. If you don't have a `roleArn` or you don't want event replication enabled, set `state` to `DISABLED`.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (EventEndpointReplicationConfigArgs) ElementType

func (EventEndpointReplicationConfigArgs) ToEventEndpointReplicationConfigOutput

func (i EventEndpointReplicationConfigArgs) ToEventEndpointReplicationConfigOutput() EventEndpointReplicationConfigOutput

func (EventEndpointReplicationConfigArgs) ToEventEndpointReplicationConfigOutputWithContext

func (i EventEndpointReplicationConfigArgs) ToEventEndpointReplicationConfigOutputWithContext(ctx context.Context) EventEndpointReplicationConfigOutput

func (EventEndpointReplicationConfigArgs) ToEventEndpointReplicationConfigPtrOutput

func (i EventEndpointReplicationConfigArgs) ToEventEndpointReplicationConfigPtrOutput() EventEndpointReplicationConfigPtrOutput

func (EventEndpointReplicationConfigArgs) ToEventEndpointReplicationConfigPtrOutputWithContext

func (i EventEndpointReplicationConfigArgs) ToEventEndpointReplicationConfigPtrOutputWithContext(ctx context.Context) EventEndpointReplicationConfigPtrOutput

type EventEndpointReplicationConfigInput

type EventEndpointReplicationConfigInput interface {
	pulumi.Input

	ToEventEndpointReplicationConfigOutput() EventEndpointReplicationConfigOutput
	ToEventEndpointReplicationConfigOutputWithContext(context.Context) EventEndpointReplicationConfigOutput
}

EventEndpointReplicationConfigInput is an input type that accepts EventEndpointReplicationConfigArgs and EventEndpointReplicationConfigOutput values. You can construct a concrete instance of `EventEndpointReplicationConfigInput` via:

EventEndpointReplicationConfigArgs{...}

type EventEndpointReplicationConfigOutput

type EventEndpointReplicationConfigOutput struct{ *pulumi.OutputState }

func (EventEndpointReplicationConfigOutput) ElementType

func (EventEndpointReplicationConfigOutput) State

The state of event replication. Valid values: `ENABLED`, `DISABLED`. The default state is `ENABLED`, which means you must supply a `roleArn`. If you don't have a `roleArn` or you don't want event replication enabled, set `state` to `DISABLED`.

func (EventEndpointReplicationConfigOutput) ToEventEndpointReplicationConfigOutput

func (o EventEndpointReplicationConfigOutput) ToEventEndpointReplicationConfigOutput() EventEndpointReplicationConfigOutput

func (EventEndpointReplicationConfigOutput) ToEventEndpointReplicationConfigOutputWithContext

func (o EventEndpointReplicationConfigOutput) ToEventEndpointReplicationConfigOutputWithContext(ctx context.Context) EventEndpointReplicationConfigOutput

func (EventEndpointReplicationConfigOutput) ToEventEndpointReplicationConfigPtrOutput

func (o EventEndpointReplicationConfigOutput) ToEventEndpointReplicationConfigPtrOutput() EventEndpointReplicationConfigPtrOutput

func (EventEndpointReplicationConfigOutput) ToEventEndpointReplicationConfigPtrOutputWithContext

func (o EventEndpointReplicationConfigOutput) ToEventEndpointReplicationConfigPtrOutputWithContext(ctx context.Context) EventEndpointReplicationConfigPtrOutput

type EventEndpointReplicationConfigPtrInput

type EventEndpointReplicationConfigPtrInput interface {
	pulumi.Input

	ToEventEndpointReplicationConfigPtrOutput() EventEndpointReplicationConfigPtrOutput
	ToEventEndpointReplicationConfigPtrOutputWithContext(context.Context) EventEndpointReplicationConfigPtrOutput
}

EventEndpointReplicationConfigPtrInput is an input type that accepts EventEndpointReplicationConfigArgs, EventEndpointReplicationConfigPtr and EventEndpointReplicationConfigPtrOutput values. You can construct a concrete instance of `EventEndpointReplicationConfigPtrInput` via:

        EventEndpointReplicationConfigArgs{...}

or:

        nil

type EventEndpointReplicationConfigPtrOutput

type EventEndpointReplicationConfigPtrOutput struct{ *pulumi.OutputState }

func (EventEndpointReplicationConfigPtrOutput) Elem

func (EventEndpointReplicationConfigPtrOutput) ElementType

func (EventEndpointReplicationConfigPtrOutput) State

The state of event replication. Valid values: `ENABLED`, `DISABLED`. The default state is `ENABLED`, which means you must supply a `roleArn`. If you don't have a `roleArn` or you don't want event replication enabled, set `state` to `DISABLED`.

func (EventEndpointReplicationConfigPtrOutput) ToEventEndpointReplicationConfigPtrOutput

func (o EventEndpointReplicationConfigPtrOutput) ToEventEndpointReplicationConfigPtrOutput() EventEndpointReplicationConfigPtrOutput

func (EventEndpointReplicationConfigPtrOutput) ToEventEndpointReplicationConfigPtrOutputWithContext

func (o EventEndpointReplicationConfigPtrOutput) ToEventEndpointReplicationConfigPtrOutputWithContext(ctx context.Context) EventEndpointReplicationConfigPtrOutput

type EventEndpointRoutingConfig

type EventEndpointRoutingConfig struct {
	// Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
	FailoverConfig EventEndpointRoutingConfigFailoverConfig `pulumi:"failoverConfig"`
}

type EventEndpointRoutingConfigArgs

type EventEndpointRoutingConfigArgs struct {
	// Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.
	FailoverConfig EventEndpointRoutingConfigFailoverConfigInput `pulumi:"failoverConfig"`
}

func (EventEndpointRoutingConfigArgs) ElementType

func (EventEndpointRoutingConfigArgs) ToEventEndpointRoutingConfigOutput

func (i EventEndpointRoutingConfigArgs) ToEventEndpointRoutingConfigOutput() EventEndpointRoutingConfigOutput

func (EventEndpointRoutingConfigArgs) ToEventEndpointRoutingConfigOutputWithContext

func (i EventEndpointRoutingConfigArgs) ToEventEndpointRoutingConfigOutputWithContext(ctx context.Context) EventEndpointRoutingConfigOutput

func (EventEndpointRoutingConfigArgs) ToEventEndpointRoutingConfigPtrOutput

func (i EventEndpointRoutingConfigArgs) ToEventEndpointRoutingConfigPtrOutput() EventEndpointRoutingConfigPtrOutput

func (EventEndpointRoutingConfigArgs) ToEventEndpointRoutingConfigPtrOutputWithContext

func (i EventEndpointRoutingConfigArgs) ToEventEndpointRoutingConfigPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigPtrOutput

type EventEndpointRoutingConfigFailoverConfig

type EventEndpointRoutingConfigFailoverConfig struct {
	// Parameters used for the primary Region. Documented below.
	Primary EventEndpointRoutingConfigFailoverConfigPrimary `pulumi:"primary"`
	// Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.
	Secondary EventEndpointRoutingConfigFailoverConfigSecondary `pulumi:"secondary"`
}

type EventEndpointRoutingConfigFailoverConfigArgs

type EventEndpointRoutingConfigFailoverConfigArgs struct {
	// Parameters used for the primary Region. Documented below.
	Primary EventEndpointRoutingConfigFailoverConfigPrimaryInput `pulumi:"primary"`
	// Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.
	Secondary EventEndpointRoutingConfigFailoverConfigSecondaryInput `pulumi:"secondary"`
}

func (EventEndpointRoutingConfigFailoverConfigArgs) ElementType

func (EventEndpointRoutingConfigFailoverConfigArgs) ToEventEndpointRoutingConfigFailoverConfigOutput

func (i EventEndpointRoutingConfigFailoverConfigArgs) ToEventEndpointRoutingConfigFailoverConfigOutput() EventEndpointRoutingConfigFailoverConfigOutput

func (EventEndpointRoutingConfigFailoverConfigArgs) ToEventEndpointRoutingConfigFailoverConfigOutputWithContext

func (i EventEndpointRoutingConfigFailoverConfigArgs) ToEventEndpointRoutingConfigFailoverConfigOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigOutput

func (EventEndpointRoutingConfigFailoverConfigArgs) ToEventEndpointRoutingConfigFailoverConfigPtrOutput

func (i EventEndpointRoutingConfigFailoverConfigArgs) ToEventEndpointRoutingConfigFailoverConfigPtrOutput() EventEndpointRoutingConfigFailoverConfigPtrOutput

func (EventEndpointRoutingConfigFailoverConfigArgs) ToEventEndpointRoutingConfigFailoverConfigPtrOutputWithContext

func (i EventEndpointRoutingConfigFailoverConfigArgs) ToEventEndpointRoutingConfigFailoverConfigPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigPtrOutput

type EventEndpointRoutingConfigFailoverConfigInput

type EventEndpointRoutingConfigFailoverConfigInput interface {
	pulumi.Input

	ToEventEndpointRoutingConfigFailoverConfigOutput() EventEndpointRoutingConfigFailoverConfigOutput
	ToEventEndpointRoutingConfigFailoverConfigOutputWithContext(context.Context) EventEndpointRoutingConfigFailoverConfigOutput
}

EventEndpointRoutingConfigFailoverConfigInput is an input type that accepts EventEndpointRoutingConfigFailoverConfigArgs and EventEndpointRoutingConfigFailoverConfigOutput values. You can construct a concrete instance of `EventEndpointRoutingConfigFailoverConfigInput` via:

EventEndpointRoutingConfigFailoverConfigArgs{...}

type EventEndpointRoutingConfigFailoverConfigOutput

type EventEndpointRoutingConfigFailoverConfigOutput struct{ *pulumi.OutputState }

func (EventEndpointRoutingConfigFailoverConfigOutput) ElementType

func (EventEndpointRoutingConfigFailoverConfigOutput) Primary

Parameters used for the primary Region. Documented below.

func (EventEndpointRoutingConfigFailoverConfigOutput) Secondary

Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.

func (EventEndpointRoutingConfigFailoverConfigOutput) ToEventEndpointRoutingConfigFailoverConfigOutput

func (o EventEndpointRoutingConfigFailoverConfigOutput) ToEventEndpointRoutingConfigFailoverConfigOutput() EventEndpointRoutingConfigFailoverConfigOutput

func (EventEndpointRoutingConfigFailoverConfigOutput) ToEventEndpointRoutingConfigFailoverConfigOutputWithContext

func (o EventEndpointRoutingConfigFailoverConfigOutput) ToEventEndpointRoutingConfigFailoverConfigOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigOutput

func (EventEndpointRoutingConfigFailoverConfigOutput) ToEventEndpointRoutingConfigFailoverConfigPtrOutput

func (o EventEndpointRoutingConfigFailoverConfigOutput) ToEventEndpointRoutingConfigFailoverConfigPtrOutput() EventEndpointRoutingConfigFailoverConfigPtrOutput

func (EventEndpointRoutingConfigFailoverConfigOutput) ToEventEndpointRoutingConfigFailoverConfigPtrOutputWithContext

func (o EventEndpointRoutingConfigFailoverConfigOutput) ToEventEndpointRoutingConfigFailoverConfigPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigPtrOutput

type EventEndpointRoutingConfigFailoverConfigPrimary

type EventEndpointRoutingConfigFailoverConfigPrimary struct {
	// The ARN of the health check used by the endpoint to determine whether failover is triggered.
	HealthCheck *string `pulumi:"healthCheck"`
}

type EventEndpointRoutingConfigFailoverConfigPrimaryArgs

type EventEndpointRoutingConfigFailoverConfigPrimaryArgs struct {
	// The ARN of the health check used by the endpoint to determine whether failover is triggered.
	HealthCheck pulumi.StringPtrInput `pulumi:"healthCheck"`
}

func (EventEndpointRoutingConfigFailoverConfigPrimaryArgs) ElementType

func (EventEndpointRoutingConfigFailoverConfigPrimaryArgs) ToEventEndpointRoutingConfigFailoverConfigPrimaryOutput

func (i EventEndpointRoutingConfigFailoverConfigPrimaryArgs) ToEventEndpointRoutingConfigFailoverConfigPrimaryOutput() EventEndpointRoutingConfigFailoverConfigPrimaryOutput

func (EventEndpointRoutingConfigFailoverConfigPrimaryArgs) ToEventEndpointRoutingConfigFailoverConfigPrimaryOutputWithContext

func (i EventEndpointRoutingConfigFailoverConfigPrimaryArgs) ToEventEndpointRoutingConfigFailoverConfigPrimaryOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigPrimaryOutput

func (EventEndpointRoutingConfigFailoverConfigPrimaryArgs) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput

func (i EventEndpointRoutingConfigFailoverConfigPrimaryArgs) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput() EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput

func (EventEndpointRoutingConfigFailoverConfigPrimaryArgs) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutputWithContext

func (i EventEndpointRoutingConfigFailoverConfigPrimaryArgs) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput

type EventEndpointRoutingConfigFailoverConfigPrimaryInput

type EventEndpointRoutingConfigFailoverConfigPrimaryInput interface {
	pulumi.Input

	ToEventEndpointRoutingConfigFailoverConfigPrimaryOutput() EventEndpointRoutingConfigFailoverConfigPrimaryOutput
	ToEventEndpointRoutingConfigFailoverConfigPrimaryOutputWithContext(context.Context) EventEndpointRoutingConfigFailoverConfigPrimaryOutput
}

EventEndpointRoutingConfigFailoverConfigPrimaryInput is an input type that accepts EventEndpointRoutingConfigFailoverConfigPrimaryArgs and EventEndpointRoutingConfigFailoverConfigPrimaryOutput values. You can construct a concrete instance of `EventEndpointRoutingConfigFailoverConfigPrimaryInput` via:

EventEndpointRoutingConfigFailoverConfigPrimaryArgs{...}

type EventEndpointRoutingConfigFailoverConfigPrimaryOutput

type EventEndpointRoutingConfigFailoverConfigPrimaryOutput struct{ *pulumi.OutputState }

func (EventEndpointRoutingConfigFailoverConfigPrimaryOutput) ElementType

func (EventEndpointRoutingConfigFailoverConfigPrimaryOutput) HealthCheck

The ARN of the health check used by the endpoint to determine whether failover is triggered.

func (EventEndpointRoutingConfigFailoverConfigPrimaryOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryOutput

func (EventEndpointRoutingConfigFailoverConfigPrimaryOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryOutputWithContext

func (o EventEndpointRoutingConfigFailoverConfigPrimaryOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigPrimaryOutput

func (EventEndpointRoutingConfigFailoverConfigPrimaryOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput

func (o EventEndpointRoutingConfigFailoverConfigPrimaryOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput() EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput

func (EventEndpointRoutingConfigFailoverConfigPrimaryOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutputWithContext

func (o EventEndpointRoutingConfigFailoverConfigPrimaryOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput

type EventEndpointRoutingConfigFailoverConfigPrimaryPtrInput

type EventEndpointRoutingConfigFailoverConfigPrimaryPtrInput interface {
	pulumi.Input

	ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput() EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput
	ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutputWithContext(context.Context) EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput
}

EventEndpointRoutingConfigFailoverConfigPrimaryPtrInput is an input type that accepts EventEndpointRoutingConfigFailoverConfigPrimaryArgs, EventEndpointRoutingConfigFailoverConfigPrimaryPtr and EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput values. You can construct a concrete instance of `EventEndpointRoutingConfigFailoverConfigPrimaryPtrInput` via:

        EventEndpointRoutingConfigFailoverConfigPrimaryArgs{...}

or:

        nil

type EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput

type EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput struct{ *pulumi.OutputState }

func (EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput) Elem

func (EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput) ElementType

func (EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput) HealthCheck

The ARN of the health check used by the endpoint to determine whether failover is triggered.

func (EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput

func (EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutputWithContext

func (o EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput) ToEventEndpointRoutingConfigFailoverConfigPrimaryPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigPrimaryPtrOutput

type EventEndpointRoutingConfigFailoverConfigPtrInput

type EventEndpointRoutingConfigFailoverConfigPtrInput interface {
	pulumi.Input

	ToEventEndpointRoutingConfigFailoverConfigPtrOutput() EventEndpointRoutingConfigFailoverConfigPtrOutput
	ToEventEndpointRoutingConfigFailoverConfigPtrOutputWithContext(context.Context) EventEndpointRoutingConfigFailoverConfigPtrOutput
}

EventEndpointRoutingConfigFailoverConfigPtrInput is an input type that accepts EventEndpointRoutingConfigFailoverConfigArgs, EventEndpointRoutingConfigFailoverConfigPtr and EventEndpointRoutingConfigFailoverConfigPtrOutput values. You can construct a concrete instance of `EventEndpointRoutingConfigFailoverConfigPtrInput` via:

        EventEndpointRoutingConfigFailoverConfigArgs{...}

or:

        nil

type EventEndpointRoutingConfigFailoverConfigPtrOutput

type EventEndpointRoutingConfigFailoverConfigPtrOutput struct{ *pulumi.OutputState }

func (EventEndpointRoutingConfigFailoverConfigPtrOutput) Elem

func (EventEndpointRoutingConfigFailoverConfigPtrOutput) ElementType

func (EventEndpointRoutingConfigFailoverConfigPtrOutput) Primary

Parameters used for the primary Region. Documented below.

func (EventEndpointRoutingConfigFailoverConfigPtrOutput) Secondary

Parameters used for the secondary Region, the Region that events are routed to when failover is triggered or event replication is enabled. Documented below.

func (EventEndpointRoutingConfigFailoverConfigPtrOutput) ToEventEndpointRoutingConfigFailoverConfigPtrOutput

func (o EventEndpointRoutingConfigFailoverConfigPtrOutput) ToEventEndpointRoutingConfigFailoverConfigPtrOutput() EventEndpointRoutingConfigFailoverConfigPtrOutput

func (EventEndpointRoutingConfigFailoverConfigPtrOutput) ToEventEndpointRoutingConfigFailoverConfigPtrOutputWithContext

func (o EventEndpointRoutingConfigFailoverConfigPtrOutput) ToEventEndpointRoutingConfigFailoverConfigPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigPtrOutput

type EventEndpointRoutingConfigFailoverConfigSecondary

type EventEndpointRoutingConfigFailoverConfigSecondary struct {
	// The name of the secondary Region.
	Route *string `pulumi:"route"`
}

type EventEndpointRoutingConfigFailoverConfigSecondaryArgs

type EventEndpointRoutingConfigFailoverConfigSecondaryArgs struct {
	// The name of the secondary Region.
	Route pulumi.StringPtrInput `pulumi:"route"`
}

func (EventEndpointRoutingConfigFailoverConfigSecondaryArgs) ElementType

func (EventEndpointRoutingConfigFailoverConfigSecondaryArgs) ToEventEndpointRoutingConfigFailoverConfigSecondaryOutput

func (i EventEndpointRoutingConfigFailoverConfigSecondaryArgs) ToEventEndpointRoutingConfigFailoverConfigSecondaryOutput() EventEndpointRoutingConfigFailoverConfigSecondaryOutput

func (EventEndpointRoutingConfigFailoverConfigSecondaryArgs) ToEventEndpointRoutingConfigFailoverConfigSecondaryOutputWithContext

func (i EventEndpointRoutingConfigFailoverConfigSecondaryArgs) ToEventEndpointRoutingConfigFailoverConfigSecondaryOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigSecondaryOutput

func (EventEndpointRoutingConfigFailoverConfigSecondaryArgs) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput

func (i EventEndpointRoutingConfigFailoverConfigSecondaryArgs) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput() EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput

func (EventEndpointRoutingConfigFailoverConfigSecondaryArgs) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutputWithContext

func (i EventEndpointRoutingConfigFailoverConfigSecondaryArgs) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput

type EventEndpointRoutingConfigFailoverConfigSecondaryInput

type EventEndpointRoutingConfigFailoverConfigSecondaryInput interface {
	pulumi.Input

	ToEventEndpointRoutingConfigFailoverConfigSecondaryOutput() EventEndpointRoutingConfigFailoverConfigSecondaryOutput
	ToEventEndpointRoutingConfigFailoverConfigSecondaryOutputWithContext(context.Context) EventEndpointRoutingConfigFailoverConfigSecondaryOutput
}

EventEndpointRoutingConfigFailoverConfigSecondaryInput is an input type that accepts EventEndpointRoutingConfigFailoverConfigSecondaryArgs and EventEndpointRoutingConfigFailoverConfigSecondaryOutput values. You can construct a concrete instance of `EventEndpointRoutingConfigFailoverConfigSecondaryInput` via:

EventEndpointRoutingConfigFailoverConfigSecondaryArgs{...}

type EventEndpointRoutingConfigFailoverConfigSecondaryOutput

type EventEndpointRoutingConfigFailoverConfigSecondaryOutput struct{ *pulumi.OutputState }

func (EventEndpointRoutingConfigFailoverConfigSecondaryOutput) ElementType

func (EventEndpointRoutingConfigFailoverConfigSecondaryOutput) Route

The name of the secondary Region.

func (EventEndpointRoutingConfigFailoverConfigSecondaryOutput) ToEventEndpointRoutingConfigFailoverConfigSecondaryOutput

func (EventEndpointRoutingConfigFailoverConfigSecondaryOutput) ToEventEndpointRoutingConfigFailoverConfigSecondaryOutputWithContext

func (o EventEndpointRoutingConfigFailoverConfigSecondaryOutput) ToEventEndpointRoutingConfigFailoverConfigSecondaryOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigSecondaryOutput

func (EventEndpointRoutingConfigFailoverConfigSecondaryOutput) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput

func (EventEndpointRoutingConfigFailoverConfigSecondaryOutput) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutputWithContext

func (o EventEndpointRoutingConfigFailoverConfigSecondaryOutput) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput

type EventEndpointRoutingConfigFailoverConfigSecondaryPtrInput

type EventEndpointRoutingConfigFailoverConfigSecondaryPtrInput interface {
	pulumi.Input

	ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput() EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput
	ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutputWithContext(context.Context) EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput
}

EventEndpointRoutingConfigFailoverConfigSecondaryPtrInput is an input type that accepts EventEndpointRoutingConfigFailoverConfigSecondaryArgs, EventEndpointRoutingConfigFailoverConfigSecondaryPtr and EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput values. You can construct a concrete instance of `EventEndpointRoutingConfigFailoverConfigSecondaryPtrInput` via:

        EventEndpointRoutingConfigFailoverConfigSecondaryArgs{...}

or:

        nil

type EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput

type EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput struct{ *pulumi.OutputState }

func (EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput) Elem

func (EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput) ElementType

func (EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput) Route

The name of the secondary Region.

func (EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput

func (EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutputWithContext

func (o EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput) ToEventEndpointRoutingConfigFailoverConfigSecondaryPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigFailoverConfigSecondaryPtrOutput

type EventEndpointRoutingConfigInput

type EventEndpointRoutingConfigInput interface {
	pulumi.Input

	ToEventEndpointRoutingConfigOutput() EventEndpointRoutingConfigOutput
	ToEventEndpointRoutingConfigOutputWithContext(context.Context) EventEndpointRoutingConfigOutput
}

EventEndpointRoutingConfigInput is an input type that accepts EventEndpointRoutingConfigArgs and EventEndpointRoutingConfigOutput values. You can construct a concrete instance of `EventEndpointRoutingConfigInput` via:

EventEndpointRoutingConfigArgs{...}

type EventEndpointRoutingConfigOutput

type EventEndpointRoutingConfigOutput struct{ *pulumi.OutputState }

func (EventEndpointRoutingConfigOutput) ElementType

func (EventEndpointRoutingConfigOutput) FailoverConfig

Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.

func (EventEndpointRoutingConfigOutput) ToEventEndpointRoutingConfigOutput

func (o EventEndpointRoutingConfigOutput) ToEventEndpointRoutingConfigOutput() EventEndpointRoutingConfigOutput

func (EventEndpointRoutingConfigOutput) ToEventEndpointRoutingConfigOutputWithContext

func (o EventEndpointRoutingConfigOutput) ToEventEndpointRoutingConfigOutputWithContext(ctx context.Context) EventEndpointRoutingConfigOutput

func (EventEndpointRoutingConfigOutput) ToEventEndpointRoutingConfigPtrOutput

func (o EventEndpointRoutingConfigOutput) ToEventEndpointRoutingConfigPtrOutput() EventEndpointRoutingConfigPtrOutput

func (EventEndpointRoutingConfigOutput) ToEventEndpointRoutingConfigPtrOutputWithContext

func (o EventEndpointRoutingConfigOutput) ToEventEndpointRoutingConfigPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigPtrOutput

type EventEndpointRoutingConfigPtrInput

type EventEndpointRoutingConfigPtrInput interface {
	pulumi.Input

	ToEventEndpointRoutingConfigPtrOutput() EventEndpointRoutingConfigPtrOutput
	ToEventEndpointRoutingConfigPtrOutputWithContext(context.Context) EventEndpointRoutingConfigPtrOutput
}

EventEndpointRoutingConfigPtrInput is an input type that accepts EventEndpointRoutingConfigArgs, EventEndpointRoutingConfigPtr and EventEndpointRoutingConfigPtrOutput values. You can construct a concrete instance of `EventEndpointRoutingConfigPtrInput` via:

        EventEndpointRoutingConfigArgs{...}

or:

        nil

type EventEndpointRoutingConfigPtrOutput

type EventEndpointRoutingConfigPtrOutput struct{ *pulumi.OutputState }

func (EventEndpointRoutingConfigPtrOutput) Elem

func (EventEndpointRoutingConfigPtrOutput) ElementType

func (EventEndpointRoutingConfigPtrOutput) FailoverConfig

Parameters used for failover. This includes what triggers failover and what happens when it's triggered. Documented below.

func (EventEndpointRoutingConfigPtrOutput) ToEventEndpointRoutingConfigPtrOutput

func (o EventEndpointRoutingConfigPtrOutput) ToEventEndpointRoutingConfigPtrOutput() EventEndpointRoutingConfigPtrOutput

func (EventEndpointRoutingConfigPtrOutput) ToEventEndpointRoutingConfigPtrOutputWithContext

func (o EventEndpointRoutingConfigPtrOutput) ToEventEndpointRoutingConfigPtrOutputWithContext(ctx context.Context) EventEndpointRoutingConfigPtrOutput

type EventEndpointState

type EventEndpointState struct {
	// The ARN of the endpoint that was created.
	Arn pulumi.StringPtrInput
	// A description of the global endpoint.
	Description pulumi.StringPtrInput
	// The URL of the endpoint that was created.
	EndpointUrl pulumi.StringPtrInput
	// The event buses to use. The names of the event buses must be identical in each Region. Exactly two event buses are required. Documented below.
	EventBuses EventEndpointEventBusArrayInput
	// The name of the global endpoint.
	Name pulumi.StringPtrInput
	// Parameters used for replication. Documented below.
	ReplicationConfig EventEndpointReplicationConfigPtrInput
	// The ARN of the IAM role used for replication between event buses.
	RoleArn pulumi.StringPtrInput
	// Parameters used for routing, including the health check and secondary Region. Documented below.
	RoutingConfig EventEndpointRoutingConfigPtrInput
}

func (EventEndpointState) ElementType

func (EventEndpointState) ElementType() reflect.Type

type EventPermission

type EventPermission struct {
	pulumi.CustomResourceState

	// The action that you are enabling the other account to perform. Defaults to `events:PutEvents`.
	Action pulumi.StringPtrOutput `pulumi:"action"`
	// Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.
	Condition EventPermissionConditionPtrOutput `pulumi:"condition"`
	// The name of the event bus to set the permissions on.
	// If you omit this, the permissions are set on the `default` event bus.
	EventBusName pulumi.StringPtrOutput `pulumi:"eventBusName"`
	// The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// An identifier string for the external account that you are granting permissions to.
	StatementId pulumi.StringOutput `pulumi:"statementId"`
}

Provides a resource to create an EventBridge permission to support cross-account events in the current account default event bus.

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

> **Note:** The EventBridge bus policy resource (`cloudwatch.EventBusPolicy`) is incompatible with the EventBridge permission resource (`cloudwatch.EventPermission`) and will overwrite permissions.

## Example Usage

### Account Access

```go 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.NewEventPermission(ctx, "DevAccountAccess", &cloudwatch.EventPermissionArgs{
			Principal:   pulumi.String("123456789012"),
			StatementId: pulumi.String("DevAccountAccess"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Organization Access

```go 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.NewEventPermission(ctx, "OrganizationAccess", &cloudwatch.EventPermissionArgs{
			Principal:   pulumi.String("*"),
			StatementId: pulumi.String("OrganizationAccess"),
			Condition: &cloudwatch.EventPermissionConditionArgs{
				Key:   pulumi.String("aws:PrincipalOrgID"),
				Type:  pulumi.String("StringEquals"),
				Value: pulumi.Any(example.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import EventBridge permissions using the `event_bus_name/statement_id` (if you omit `event_bus_name`, the `default` event bus will be used). For example:

```sh $ pulumi import aws:cloudwatch/eventPermission:EventPermission DevAccountAccess example-event-bus/DevAccountAccess ```

func GetEventPermission

func GetEventPermission(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventPermissionState, opts ...pulumi.ResourceOption) (*EventPermission, error)

GetEventPermission gets an existing EventPermission resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventPermission

func NewEventPermission(ctx *pulumi.Context,
	name string, args *EventPermissionArgs, opts ...pulumi.ResourceOption) (*EventPermission, error)

NewEventPermission registers a new resource with the given unique name, arguments, and options.

func (*EventPermission) ElementType

func (*EventPermission) ElementType() reflect.Type

func (*EventPermission) ToEventPermissionOutput

func (i *EventPermission) ToEventPermissionOutput() EventPermissionOutput

func (*EventPermission) ToEventPermissionOutputWithContext

func (i *EventPermission) ToEventPermissionOutputWithContext(ctx context.Context) EventPermissionOutput

type EventPermissionArgs

type EventPermissionArgs struct {
	// The action that you are enabling the other account to perform. Defaults to `events:PutEvents`.
	Action pulumi.StringPtrInput
	// Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.
	Condition EventPermissionConditionPtrInput
	// The name of the event bus to set the permissions on.
	// If you omit this, the permissions are set on the `default` event bus.
	EventBusName pulumi.StringPtrInput
	// The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.
	Principal pulumi.StringInput
	// An identifier string for the external account that you are granting permissions to.
	StatementId pulumi.StringInput
}

The set of arguments for constructing a EventPermission resource.

func (EventPermissionArgs) ElementType

func (EventPermissionArgs) ElementType() reflect.Type

type EventPermissionArray

type EventPermissionArray []EventPermissionInput

func (EventPermissionArray) ElementType

func (EventPermissionArray) ElementType() reflect.Type

func (EventPermissionArray) ToEventPermissionArrayOutput

func (i EventPermissionArray) ToEventPermissionArrayOutput() EventPermissionArrayOutput

func (EventPermissionArray) ToEventPermissionArrayOutputWithContext

func (i EventPermissionArray) ToEventPermissionArrayOutputWithContext(ctx context.Context) EventPermissionArrayOutput

type EventPermissionArrayInput

type EventPermissionArrayInput interface {
	pulumi.Input

	ToEventPermissionArrayOutput() EventPermissionArrayOutput
	ToEventPermissionArrayOutputWithContext(context.Context) EventPermissionArrayOutput
}

EventPermissionArrayInput is an input type that accepts EventPermissionArray and EventPermissionArrayOutput values. You can construct a concrete instance of `EventPermissionArrayInput` via:

EventPermissionArray{ EventPermissionArgs{...} }

type EventPermissionArrayOutput

type EventPermissionArrayOutput struct{ *pulumi.OutputState }

func (EventPermissionArrayOutput) ElementType

func (EventPermissionArrayOutput) ElementType() reflect.Type

func (EventPermissionArrayOutput) Index

func (EventPermissionArrayOutput) ToEventPermissionArrayOutput

func (o EventPermissionArrayOutput) ToEventPermissionArrayOutput() EventPermissionArrayOutput

func (EventPermissionArrayOutput) ToEventPermissionArrayOutputWithContext

func (o EventPermissionArrayOutput) ToEventPermissionArrayOutputWithContext(ctx context.Context) EventPermissionArrayOutput

type EventPermissionCondition

type EventPermissionCondition struct {
	// Key for the condition. Valid values: `aws:PrincipalOrgID`.
	Key string `pulumi:"key"`
	// Type of condition. Value values: `StringEquals`.
	Type string `pulumi:"type"`
	// Value for the key.
	Value string `pulumi:"value"`
}

type EventPermissionConditionArgs

type EventPermissionConditionArgs struct {
	// Key for the condition. Valid values: `aws:PrincipalOrgID`.
	Key pulumi.StringInput `pulumi:"key"`
	// Type of condition. Value values: `StringEquals`.
	Type pulumi.StringInput `pulumi:"type"`
	// Value for the key.
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventPermissionConditionArgs) ElementType

func (EventPermissionConditionArgs) ToEventPermissionConditionOutput

func (i EventPermissionConditionArgs) ToEventPermissionConditionOutput() EventPermissionConditionOutput

func (EventPermissionConditionArgs) ToEventPermissionConditionOutputWithContext

func (i EventPermissionConditionArgs) ToEventPermissionConditionOutputWithContext(ctx context.Context) EventPermissionConditionOutput

func (EventPermissionConditionArgs) ToEventPermissionConditionPtrOutput

func (i EventPermissionConditionArgs) ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput

func (EventPermissionConditionArgs) ToEventPermissionConditionPtrOutputWithContext

func (i EventPermissionConditionArgs) ToEventPermissionConditionPtrOutputWithContext(ctx context.Context) EventPermissionConditionPtrOutput

type EventPermissionConditionInput

type EventPermissionConditionInput interface {
	pulumi.Input

	ToEventPermissionConditionOutput() EventPermissionConditionOutput
	ToEventPermissionConditionOutputWithContext(context.Context) EventPermissionConditionOutput
}

EventPermissionConditionInput is an input type that accepts EventPermissionConditionArgs and EventPermissionConditionOutput values. You can construct a concrete instance of `EventPermissionConditionInput` via:

EventPermissionConditionArgs{...}

type EventPermissionConditionOutput

type EventPermissionConditionOutput struct{ *pulumi.OutputState }

func (EventPermissionConditionOutput) ElementType

func (EventPermissionConditionOutput) Key

Key for the condition. Valid values: `aws:PrincipalOrgID`.

func (EventPermissionConditionOutput) ToEventPermissionConditionOutput

func (o EventPermissionConditionOutput) ToEventPermissionConditionOutput() EventPermissionConditionOutput

func (EventPermissionConditionOutput) ToEventPermissionConditionOutputWithContext

func (o EventPermissionConditionOutput) ToEventPermissionConditionOutputWithContext(ctx context.Context) EventPermissionConditionOutput

func (EventPermissionConditionOutput) ToEventPermissionConditionPtrOutput

func (o EventPermissionConditionOutput) ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput

func (EventPermissionConditionOutput) ToEventPermissionConditionPtrOutputWithContext

func (o EventPermissionConditionOutput) ToEventPermissionConditionPtrOutputWithContext(ctx context.Context) EventPermissionConditionPtrOutput

func (EventPermissionConditionOutput) Type

Type of condition. Value values: `StringEquals`.

func (EventPermissionConditionOutput) Value

Value for the key.

type EventPermissionConditionPtrInput

type EventPermissionConditionPtrInput interface {
	pulumi.Input

	ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput
	ToEventPermissionConditionPtrOutputWithContext(context.Context) EventPermissionConditionPtrOutput
}

EventPermissionConditionPtrInput is an input type that accepts EventPermissionConditionArgs, EventPermissionConditionPtr and EventPermissionConditionPtrOutput values. You can construct a concrete instance of `EventPermissionConditionPtrInput` via:

        EventPermissionConditionArgs{...}

or:

        nil

type EventPermissionConditionPtrOutput

type EventPermissionConditionPtrOutput struct{ *pulumi.OutputState }

func (EventPermissionConditionPtrOutput) Elem

func (EventPermissionConditionPtrOutput) ElementType

func (EventPermissionConditionPtrOutput) Key

Key for the condition. Valid values: `aws:PrincipalOrgID`.

func (EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutput

func (o EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput

func (EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutputWithContext

func (o EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutputWithContext(ctx context.Context) EventPermissionConditionPtrOutput

func (EventPermissionConditionPtrOutput) Type

Type of condition. Value values: `StringEquals`.

func (EventPermissionConditionPtrOutput) Value

Value for the key.

type EventPermissionInput

type EventPermissionInput interface {
	pulumi.Input

	ToEventPermissionOutput() EventPermissionOutput
	ToEventPermissionOutputWithContext(ctx context.Context) EventPermissionOutput
}

type EventPermissionMap

type EventPermissionMap map[string]EventPermissionInput

func (EventPermissionMap) ElementType

func (EventPermissionMap) ElementType() reflect.Type

func (EventPermissionMap) ToEventPermissionMapOutput

func (i EventPermissionMap) ToEventPermissionMapOutput() EventPermissionMapOutput

func (EventPermissionMap) ToEventPermissionMapOutputWithContext

func (i EventPermissionMap) ToEventPermissionMapOutputWithContext(ctx context.Context) EventPermissionMapOutput

type EventPermissionMapInput

type EventPermissionMapInput interface {
	pulumi.Input

	ToEventPermissionMapOutput() EventPermissionMapOutput
	ToEventPermissionMapOutputWithContext(context.Context) EventPermissionMapOutput
}

EventPermissionMapInput is an input type that accepts EventPermissionMap and EventPermissionMapOutput values. You can construct a concrete instance of `EventPermissionMapInput` via:

EventPermissionMap{ "key": EventPermissionArgs{...} }

type EventPermissionMapOutput

type EventPermissionMapOutput struct{ *pulumi.OutputState }

func (EventPermissionMapOutput) ElementType

func (EventPermissionMapOutput) ElementType() reflect.Type

func (EventPermissionMapOutput) MapIndex

func (EventPermissionMapOutput) ToEventPermissionMapOutput

func (o EventPermissionMapOutput) ToEventPermissionMapOutput() EventPermissionMapOutput

func (EventPermissionMapOutput) ToEventPermissionMapOutputWithContext

func (o EventPermissionMapOutput) ToEventPermissionMapOutputWithContext(ctx context.Context) EventPermissionMapOutput

type EventPermissionOutput

type EventPermissionOutput struct{ *pulumi.OutputState }

func (EventPermissionOutput) Action

The action that you are enabling the other account to perform. Defaults to `events:PutEvents`.

func (EventPermissionOutput) Condition

Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.

func (EventPermissionOutput) ElementType

func (EventPermissionOutput) ElementType() reflect.Type

func (EventPermissionOutput) EventBusName

func (o EventPermissionOutput) EventBusName() pulumi.StringPtrOutput

The name of the event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus.

func (EventPermissionOutput) Principal

The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.

func (EventPermissionOutput) StatementId

func (o EventPermissionOutput) StatementId() pulumi.StringOutput

An identifier string for the external account that you are granting permissions to.

func (EventPermissionOutput) ToEventPermissionOutput

func (o EventPermissionOutput) ToEventPermissionOutput() EventPermissionOutput

func (EventPermissionOutput) ToEventPermissionOutputWithContext

func (o EventPermissionOutput) ToEventPermissionOutputWithContext(ctx context.Context) EventPermissionOutput

type EventPermissionState

type EventPermissionState struct {
	// The action that you are enabling the other account to perform. Defaults to `events:PutEvents`.
	Action pulumi.StringPtrInput
	// Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.
	Condition EventPermissionConditionPtrInput
	// The name of the event bus to set the permissions on.
	// If you omit this, the permissions are set on the `default` event bus.
	EventBusName pulumi.StringPtrInput
	// The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.
	Principal pulumi.StringPtrInput
	// An identifier string for the external account that you are granting permissions to.
	StatementId pulumi.StringPtrInput
}

func (EventPermissionState) ElementType

func (EventPermissionState) ElementType() reflect.Type

type EventRule

type EventRule struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the rule.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description of the rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name or ARN of the event bus to associate with this rule.
	// If you omit this, the `default` event bus is used.
	EventBusName pulumi.StringPtrOutput `pulumi:"eventBusName"`
	// The event pattern described a JSON object. At least one of `scheduleExpression` or `eventPattern` is required. See full documentation of [Events and Event Patterns in EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) for details. **Note**: The event pattern size is 2048 by default but it is adjustable up to 4096 characters by submitting a service quota increase request. See [Amazon EventBridge quotas](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-quota.html) for details.
	EventPattern pulumi.StringPtrOutput `pulumi:"eventPattern"`
	// Used to delete managed rules created by AWS. Defaults to `false`.
	ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
	// Whether the rule should be enabled.
	// Defaults to `true`.
	// Conflicts with `state`.
	//
	// Deprecated: Use "state" instead
	IsEnabled pulumi.BoolPtrOutput `pulumi:"isEnabled"`
	// The name of the rule. If omitted, this provider will assign a random, unique name. Conflicts with `namePrefix`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. **Note**: Due to the length of the generated suffix, must be 38 characters or less.
	NamePrefix pulumi.StringOutput `pulumi:"namePrefix"`
	// The Amazon Resource Name (ARN) associated with the role that is used for target invocation.
	RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"`
	// The scheduling expression. For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`. At least one of `scheduleExpression` or `eventPattern` is required. Can only be used on the default event bus. For more information, refer to the AWS documentation [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html).
	ScheduleExpression pulumi.StringPtrOutput `pulumi:"scheduleExpression"`
	// State of the rule.
	// Valid values are `DISABLED`, `ENABLED`, and `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`.
	// When state is `ENABLED`, the rule is enabled for all events except those delivered by CloudTrail.
	// To also enable the rule for events delivered by CloudTrail, set `state` to `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`.
	// Defaults to `ENABLED`.
	// Conflicts with `isEnabled`.
	//
	// **NOTE:** The rule state  `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS` cannot be used in conjunction with the `scheduleExpression` argument.
	State pulumi.StringPtrOutput `pulumi:"state"`
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an EventBridge Rule resource.

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

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "detail-type": []string{ "AWS Console Sign In via CloudTrail", }, }) if err != nil { return err } json0 := string(tmpJSON0) console, err := cloudwatch.NewEventRule(ctx, "console", &cloudwatch.EventRuleArgs{ Name: pulumi.String("capture-aws-sign-in"), Description: pulumi.String("Capture each AWS Console Sign In"), EventPattern: pulumi.String(json0), }) if err != nil { return err } awsLogins, err := sns.NewTopic(ctx, "aws_logins", &sns.TopicArgs{ Name: pulumi.String("aws-console-logins"), }) if err != nil { return err } _, err = cloudwatch.NewEventTarget(ctx, "sns", &cloudwatch.EventTargetArgs{ Rule: console.Name, TargetId: pulumi.String("SendToSNS"), Arn: awsLogins.Arn, }) if err != nil { return err } snsTopicPolicy := awsLogins.Arn.ApplyT(func(arn string) (iam.GetPolicyDocumentResult, error) { return iam.GetPolicyDocumentResult(interface{}(iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: "Allow", Actions: []string{ "SNS:Publish", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "events.amazonaws.com", }, }, }, Resources: interface{}{ arn, }, }, }, }, nil))), nil }).(iam.GetPolicyDocumentResultOutput) _, err = sns.NewTopicPolicy(ctx, "default", &sns.TopicPolicyArgs{ Arn: awsLogins.Arn, Policy: pulumi.String(snsTopicPolicy.ApplyT(func(snsTopicPolicy iam.GetPolicyDocumentResult) (*string, error) { return &snsTopicPolicy.Json, nil }).(pulumi.StringPtrOutput)), }) if err != nil { return err } return nil }) } ```

## Import

Using `pulumi import`, import EventBridge Rules using the `event_bus_name/rule_name` (if you omit `event_bus_name`, the `default` event bus will be used). For example:

```sh $ pulumi import aws:cloudwatch/eventRule:EventRule console example-event-bus/capture-console-sign-in ```

func GetEventRule

func GetEventRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventRuleState, opts ...pulumi.ResourceOption) (*EventRule, error)

GetEventRule gets an existing EventRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventRule

func NewEventRule(ctx *pulumi.Context,
	name string, args *EventRuleArgs, opts ...pulumi.ResourceOption) (*EventRule, error)

NewEventRule registers a new resource with the given unique name, arguments, and options.

func (*EventRule) ElementType

func (*EventRule) ElementType() reflect.Type

func (*EventRule) ToEventRuleOutput

func (i *EventRule) ToEventRuleOutput() EventRuleOutput

func (*EventRule) ToEventRuleOutputWithContext

func (i *EventRule) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput

type EventRuleArgs

type EventRuleArgs struct {
	// The description of the rule.
	Description pulumi.StringPtrInput
	// The name or ARN of the event bus to associate with this rule.
	// If you omit this, the `default` event bus is used.
	EventBusName pulumi.StringPtrInput
	// The event pattern described a JSON object. At least one of `scheduleExpression` or `eventPattern` is required. See full documentation of [Events and Event Patterns in EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) for details. **Note**: The event pattern size is 2048 by default but it is adjustable up to 4096 characters by submitting a service quota increase request. See [Amazon EventBridge quotas](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-quota.html) for details.
	EventPattern pulumi.StringPtrInput
	// Used to delete managed rules created by AWS. Defaults to `false`.
	ForceDestroy pulumi.BoolPtrInput
	// Whether the rule should be enabled.
	// Defaults to `true`.
	// Conflicts with `state`.
	//
	// Deprecated: Use "state" instead
	IsEnabled pulumi.BoolPtrInput
	// The name of the rule. If omitted, this provider will assign a random, unique name. Conflicts with `namePrefix`.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. **Note**: Due to the length of the generated suffix, must be 38 characters or less.
	NamePrefix pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) associated with the role that is used for target invocation.
	RoleArn pulumi.StringPtrInput
	// The scheduling expression. For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`. At least one of `scheduleExpression` or `eventPattern` is required. Can only be used on the default event bus. For more information, refer to the AWS documentation [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html).
	ScheduleExpression pulumi.StringPtrInput
	// State of the rule.
	// Valid values are `DISABLED`, `ENABLED`, and `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`.
	// When state is `ENABLED`, the rule is enabled for all events except those delivered by CloudTrail.
	// To also enable the rule for events delivered by CloudTrail, set `state` to `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`.
	// Defaults to `ENABLED`.
	// Conflicts with `isEnabled`.
	//
	// **NOTE:** The rule state  `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS` cannot be used in conjunction with the `scheduleExpression` argument.
	State pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a EventRule resource.

func (EventRuleArgs) ElementType

func (EventRuleArgs) ElementType() reflect.Type

type EventRuleArray

type EventRuleArray []EventRuleInput

func (EventRuleArray) ElementType

func (EventRuleArray) ElementType() reflect.Type

func (EventRuleArray) ToEventRuleArrayOutput

func (i EventRuleArray) ToEventRuleArrayOutput() EventRuleArrayOutput

func (EventRuleArray) ToEventRuleArrayOutputWithContext

func (i EventRuleArray) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput

type EventRuleArrayInput

type EventRuleArrayInput interface {
	pulumi.Input

	ToEventRuleArrayOutput() EventRuleArrayOutput
	ToEventRuleArrayOutputWithContext(context.Context) EventRuleArrayOutput
}

EventRuleArrayInput is an input type that accepts EventRuleArray and EventRuleArrayOutput values. You can construct a concrete instance of `EventRuleArrayInput` via:

EventRuleArray{ EventRuleArgs{...} }

type EventRuleArrayOutput

type EventRuleArrayOutput struct{ *pulumi.OutputState }

func (EventRuleArrayOutput) ElementType

func (EventRuleArrayOutput) ElementType() reflect.Type

func (EventRuleArrayOutput) Index

func (EventRuleArrayOutput) ToEventRuleArrayOutput

func (o EventRuleArrayOutput) ToEventRuleArrayOutput() EventRuleArrayOutput

func (EventRuleArrayOutput) ToEventRuleArrayOutputWithContext

func (o EventRuleArrayOutput) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput

type EventRuleInput

type EventRuleInput interface {
	pulumi.Input

	ToEventRuleOutput() EventRuleOutput
	ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
}

type EventRuleMap

type EventRuleMap map[string]EventRuleInput

func (EventRuleMap) ElementType

func (EventRuleMap) ElementType() reflect.Type

func (EventRuleMap) ToEventRuleMapOutput

func (i EventRuleMap) ToEventRuleMapOutput() EventRuleMapOutput

func (EventRuleMap) ToEventRuleMapOutputWithContext

func (i EventRuleMap) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput

type EventRuleMapInput

type EventRuleMapInput interface {
	pulumi.Input

	ToEventRuleMapOutput() EventRuleMapOutput
	ToEventRuleMapOutputWithContext(context.Context) EventRuleMapOutput
}

EventRuleMapInput is an input type that accepts EventRuleMap and EventRuleMapOutput values. You can construct a concrete instance of `EventRuleMapInput` via:

EventRuleMap{ "key": EventRuleArgs{...} }

type EventRuleMapOutput

type EventRuleMapOutput struct{ *pulumi.OutputState }

func (EventRuleMapOutput) ElementType

func (EventRuleMapOutput) ElementType() reflect.Type

func (EventRuleMapOutput) MapIndex

func (EventRuleMapOutput) ToEventRuleMapOutput

func (o EventRuleMapOutput) ToEventRuleMapOutput() EventRuleMapOutput

func (EventRuleMapOutput) ToEventRuleMapOutputWithContext

func (o EventRuleMapOutput) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput

type EventRuleOutput

type EventRuleOutput struct{ *pulumi.OutputState }

func (EventRuleOutput) Arn

The Amazon Resource Name (ARN) of the rule.

func (EventRuleOutput) Description

func (o EventRuleOutput) Description() pulumi.StringPtrOutput

The description of the rule.

func (EventRuleOutput) ElementType

func (EventRuleOutput) ElementType() reflect.Type

func (EventRuleOutput) EventBusName

func (o EventRuleOutput) EventBusName() pulumi.StringPtrOutput

The name or ARN of the event bus to associate with this rule. If you omit this, the `default` event bus is used.

func (EventRuleOutput) EventPattern

func (o EventRuleOutput) EventPattern() pulumi.StringPtrOutput

The event pattern described a JSON object. At least one of `scheduleExpression` or `eventPattern` is required. See full documentation of [Events and Event Patterns in EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) for details. **Note**: The event pattern size is 2048 by default but it is adjustable up to 4096 characters by submitting a service quota increase request. See [Amazon EventBridge quotas](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-quota.html) for details.

func (EventRuleOutput) ForceDestroy added in v6.32.0

func (o EventRuleOutput) ForceDestroy() pulumi.BoolPtrOutput

Used to delete managed rules created by AWS. Defaults to `false`.

func (EventRuleOutput) IsEnabled deprecated

func (o EventRuleOutput) IsEnabled() pulumi.BoolPtrOutput

Whether the rule should be enabled. Defaults to `true`. Conflicts with `state`.

Deprecated: Use "state" instead

func (EventRuleOutput) Name

The name of the rule. If omitted, this provider will assign a random, unique name. Conflicts with `namePrefix`.

func (EventRuleOutput) NamePrefix

func (o EventRuleOutput) NamePrefix() pulumi.StringOutput

Creates a unique name beginning with the specified prefix. Conflicts with `name`. **Note**: Due to the length of the generated suffix, must be 38 characters or less.

func (EventRuleOutput) RoleArn

The Amazon Resource Name (ARN) associated with the role that is used for target invocation.

func (EventRuleOutput) ScheduleExpression

func (o EventRuleOutput) ScheduleExpression() pulumi.StringPtrOutput

The scheduling expression. For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`. At least one of `scheduleExpression` or `eventPattern` is required. Can only be used on the default event bus. For more information, refer to the AWS documentation [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html).

func (EventRuleOutput) State added in v6.11.0

State of the rule. Valid values are `DISABLED`, `ENABLED`, and `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`. When state is `ENABLED`, the rule is enabled for all events except those delivered by CloudTrail. To also enable the rule for events delivered by CloudTrail, set `state` to `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`. Defaults to `ENABLED`. Conflicts with `isEnabled`.

**NOTE:** The rule state `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS` cannot be used in conjunction with the `scheduleExpression` argument.

func (EventRuleOutput) Tags

A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (EventRuleOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (EventRuleOutput) ToEventRuleOutput

func (o EventRuleOutput) ToEventRuleOutput() EventRuleOutput

func (EventRuleOutput) ToEventRuleOutputWithContext

func (o EventRuleOutput) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput

type EventRuleState

type EventRuleState struct {
	// The Amazon Resource Name (ARN) of the rule.
	Arn pulumi.StringPtrInput
	// The description of the rule.
	Description pulumi.StringPtrInput
	// The name or ARN of the event bus to associate with this rule.
	// If you omit this, the `default` event bus is used.
	EventBusName pulumi.StringPtrInput
	// The event pattern described a JSON object. At least one of `scheduleExpression` or `eventPattern` is required. See full documentation of [Events and Event Patterns in EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) for details. **Note**: The event pattern size is 2048 by default but it is adjustable up to 4096 characters by submitting a service quota increase request. See [Amazon EventBridge quotas](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-quota.html) for details.
	EventPattern pulumi.StringPtrInput
	// Used to delete managed rules created by AWS. Defaults to `false`.
	ForceDestroy pulumi.BoolPtrInput
	// Whether the rule should be enabled.
	// Defaults to `true`.
	// Conflicts with `state`.
	//
	// Deprecated: Use "state" instead
	IsEnabled pulumi.BoolPtrInput
	// The name of the rule. If omitted, this provider will assign a random, unique name. Conflicts with `namePrefix`.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`. **Note**: Due to the length of the generated suffix, must be 38 characters or less.
	NamePrefix pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) associated with the role that is used for target invocation.
	RoleArn pulumi.StringPtrInput
	// The scheduling expression. For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`. At least one of `scheduleExpression` or `eventPattern` is required. Can only be used on the default event bus. For more information, refer to the AWS documentation [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html).
	ScheduleExpression pulumi.StringPtrInput
	// State of the rule.
	// Valid values are `DISABLED`, `ENABLED`, and `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`.
	// When state is `ENABLED`, the rule is enabled for all events except those delivered by CloudTrail.
	// To also enable the rule for events delivered by CloudTrail, set `state` to `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS`.
	// Defaults to `ENABLED`.
	// Conflicts with `isEnabled`.
	//
	// **NOTE:** The rule state  `ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS` cannot be used in conjunction with the `scheduleExpression` argument.
	State pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (EventRuleState) ElementType

func (EventRuleState) ElementType() reflect.Type

type EventTarget

type EventTarget struct {
	pulumi.CustomResourceState

	// Parameters used when you are using the rule to invoke an AppSync GraphQL API mutation. Documented below. A maximum of 1 are allowed.
	AppsyncTarget EventTargetAppsyncTargetPtrOutput `pulumi:"appsyncTarget"`
	// The Amazon Resource Name (ARN) of the target.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed.
	BatchTarget EventTargetBatchTargetPtrOutput `pulumi:"batchTarget"`
	// Parameters used when you are providing a dead letter config. Documented below. A maximum of 1 are allowed.
	DeadLetterConfig EventTargetDeadLetterConfigPtrOutput `pulumi:"deadLetterConfig"`
	// Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.
	EcsTarget EventTargetEcsTargetPtrOutput `pulumi:"ecsTarget"`
	// The name or ARN of the event bus to associate with the rule.
	// If you omit this, the `default` event bus is used.
	EventBusName pulumi.StringPtrOutput `pulumi:"eventBusName"`
	// Used to delete managed rules created by AWS. Defaults to `false`.
	ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
	// Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of 1 is allowed.
	HttpTarget EventTargetHttpTargetPtrOutput `pulumi:"httpTarget"`
	// Valid JSON text passed to the target. Conflicts with `inputPath` and `inputTransformer`.
	Input pulumi.StringPtrOutput `pulumi:"input"`
	// The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `inputTransformer`.
	InputPath pulumi.StringPtrOutput `pulumi:"inputPath"`
	// Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `inputPath`.
	InputTransformer EventTargetInputTransformerPtrOutput `pulumi:"inputTransformer"`
	// Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed.
	KinesisTarget EventTargetKinesisTargetPtrOutput `pulumi:"kinesisTarget"`
	// Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Documented below. A maximum of 1 are allowed.
	RedshiftTarget EventTargetRedshiftTargetPtrOutput `pulumi:"redshiftTarget"`
	// Parameters used when you are providing retry policies. Documented below. A maximum of 1 are allowed.
	RetryPolicy EventTargetRetryPolicyPtrOutput `pulumi:"retryPolicy"`
	// The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecsTarget` is used or target in `arn` is EC2 instance, Kinesis data stream, Step Functions state machine, or Event Bus in different account or region.
	RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"`
	// The name of the rule you want to add targets to.
	//
	// The following arguments are optional:
	Rule pulumi.StringOutput `pulumi:"rule"`
	// Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed.
	RunCommandTargets EventTargetRunCommandTargetArrayOutput `pulumi:"runCommandTargets"`
	// Parameters used when you are using the rule to invoke an Amazon SageMaker Pipeline. Documented below. A maximum of 1 are allowed.
	SagemakerPipelineTarget EventTargetSagemakerPipelineTargetPtrOutput `pulumi:"sagemakerPipelineTarget"`
	// Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed.
	SqsTarget EventTargetSqsTargetPtrOutput `pulumi:"sqsTarget"`
	// The unique target assignment ID. If missing, will generate a random, unique id.
	TargetId pulumi.StringOutput `pulumi:"targetId"`
}

Provides an EventBridge Target resource.

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

## Example Usage

### Kinesis Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"source": []string{
				"aws.autoscaling",
			},
			"detail-type": []string{
				"EC2 Instance Launch Successful",
				"EC2 Instance Terminate Successful",
				"EC2 Instance Launch Unsuccessful",
				"EC2 Instance Terminate Unsuccessful",
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		console, err := cloudwatch.NewEventRule(ctx, "console", &cloudwatch.EventRuleArgs{
			Name:         pulumi.String("capture-ec2-scaling-events"),
			Description:  pulumi.String("Capture all EC2 scaling events"),
			EventPattern: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		testStream, err := kinesis.NewStream(ctx, "test_stream", &kinesis.StreamArgs{
			Name:       pulumi.String("kinesis-test"),
			ShardCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "yada", &cloudwatch.EventTargetArgs{
			TargetId: pulumi.String("Yada"),
			Rule:     console.Name,
			Arn:      testStream.Arn,
			RunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{
				&cloudwatch.EventTargetRunCommandTargetArgs{
					Key: pulumi.String("tag:Name"),
					Values: pulumi.StringArray{
						pulumi.String("FooBar"),
					},
				},
				&cloudwatch.EventTargetRunCommandTargetArgs{
					Key: pulumi.String("InstanceIds"),
					Values: pulumi.StringArray{
						pulumi.String("i-162058cd308bffec2"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### SSM Document Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ssm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ssmLifecycleTrust, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Actions: []string{
						"sts:AssumeRole",
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"events.amazonaws.com",
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"schemaVersion": "1.2",
			"description":   "Stop an instance",
			"parameters":    map[string]interface{}{},
			"runtimeConfig": map[string]interface{}{
				"aws:runShellScript": map[string]interface{}{
					"properties": []map[string]interface{}{
						map[string]interface{}{
							"id": "0.aws:runShellScript",
							"runCommand": []string{
								"halt",
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		stopInstance, err := ssm.NewDocument(ctx, "stop_instance", &ssm.DocumentArgs{
			Name:         pulumi.String("stop_instance"),
			DocumentType: pulumi.String("Command"),
			Content:      pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		ssmLifecycle := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("ssm:SendCommand"),
					},
					Resources: pulumi.StringArray{
						pulumi.String("arn:aws:ec2:eu-west-1:1234567890:instance/*"),
					},
					Conditions: iam.GetPolicyDocumentStatementConditionArray{
						&iam.GetPolicyDocumentStatementConditionArgs{
							Test:     pulumi.String("StringEquals"),
							Variable: pulumi.String("ec2:ResourceTag/Terminate"),
							Values: pulumi.StringArray{
								pulumi.String("*"),
							},
						},
					},
				},
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("ssm:SendCommand"),
					},
					Resources: pulumi.StringArray{
						stopInstance.Arn,
					},
				},
			},
		}, nil)
		ssmLifecycleRole, err := iam.NewRole(ctx, "ssm_lifecycle", &iam.RoleArgs{
			Name:             pulumi.String("SSMLifecycle"),
			AssumeRolePolicy: pulumi.String(ssmLifecycleTrust.Json),
		})
		if err != nil {
			return err
		}
		ssmLifecyclePolicy, err := iam.NewPolicy(ctx, "ssm_lifecycle", &iam.PolicyArgs{
			Name: pulumi.String("SSMLifecycle"),
			Policy: pulumi.String(ssmLifecycle.ApplyT(func(ssmLifecycle iam.GetPolicyDocumentResult) (*string, error) {
				return &ssmLifecycle.Json, nil
			}).(pulumi.StringPtrOutput)),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicyAttachment(ctx, "ssm_lifecycle", &iam.RolePolicyAttachmentArgs{
			PolicyArn: ssmLifecyclePolicy.Arn,
			Role:      ssmLifecycleRole.Name,
		})
		if err != nil {
			return err
		}
		stopInstances, err := cloudwatch.NewEventRule(ctx, "stop_instances", &cloudwatch.EventRuleArgs{
			Name:               pulumi.String("StopInstance"),
			Description:        pulumi.String("Stop instances nightly"),
			ScheduleExpression: pulumi.String("cron(0 0 * * ? *)"),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "stop_instances", &cloudwatch.EventTargetArgs{
			TargetId: pulumi.String("StopInstance"),
			Arn:      stopInstance.Arn,
			Rule:     stopInstances.Name,
			RoleArn:  ssmLifecycleRole.Arn,
			RunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{
				&cloudwatch.EventTargetRunCommandTargetArgs{
					Key: pulumi.String("tag:Terminate"),
					Values: pulumi.StringArray{
						pulumi.String("midnight"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### RunCommand Usage

```go package main

import (

"fmt"

"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 {
		stopInstances, err := cloudwatch.NewEventRule(ctx, "stop_instances", &cloudwatch.EventRuleArgs{
			Name:               pulumi.String("StopInstance"),
			Description:        pulumi.String("Stop instances nightly"),
			ScheduleExpression: pulumi.String("cron(0 0 * * ? *)"),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "stop_instances", &cloudwatch.EventTargetArgs{
			TargetId: pulumi.String("StopInstance"),
			Arn:      pulumi.Sprintf("arn:aws:ssm:%v::document/AWS-RunShellScript", awsRegion),
			Input:    pulumi.String("{\"commands\":[\"halt\"]}"),
			Rule:     stopInstances.Name,
			RoleArn:  pulumi.Any(ssmLifecycle.Arn),
			RunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{
				&cloudwatch.EventTargetRunCommandTargetArgs{
					Key: pulumi.String("tag:Terminate"),
					Values: pulumi.StringArray{
						pulumi.String("midnight"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### ECS Run Task with Role and Task Override Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "events.amazonaws.com", }, }, }, Actions: []string{ "sts:AssumeRole", }, }, }, }, nil); if err != nil { return err } ecsEvents, err := iam.NewRole(ctx, "ecs_events", &iam.RoleArgs{ Name: pulumi.String("ecs_events"), AssumeRolePolicy: pulumi.String(assumeRole.Json), }) if err != nil { return err } ecsEventsRunTaskWithAnyRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Actions: []string{ "iam:PassRole", }, Resources: []string{ "*", }, }, { Effect: pulumi.StringRef("Allow"), Actions: []string{ "ecs:RunTask", }, Resources: interface{}{ std.Replace(ctx, { Text: taskName.Arn, Search: "/:\\d+$/", Replace: ":*", }, nil).Result, }, }, }, }, nil); if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "ecs_events_run_task_with_any_role", &iam.RolePolicyArgs{ Name: pulumi.String("ecs_events_run_task_with_any_role"), Role: ecsEvents.ID(), Policy: pulumi.String(ecsEventsRunTaskWithAnyRole.Json), }) if err != nil { return err } tmpJSON0, err := json.Marshal(map[string]interface{}{ "containerOverrides": []map[string]interface{}{ map[string]interface{}{ "name": "name-of-container-to-override", "command": []string{ "bin/console", "scheduled-task", }, }, }, }) if err != nil { return err } json0 := string(tmpJSON0) _, err = cloudwatch.NewEventTarget(ctx, "ecs_scheduled_task", &cloudwatch.EventTargetArgs{ TargetId: pulumi.String("run-scheduled-task-every-hour"), Arn: pulumi.Any(clusterName.Arn), Rule: pulumi.Any(everyHour.Name), RoleArn: ecsEvents.Arn, EcsTarget: &cloudwatch.EventTargetEcsTargetArgs{ TaskCount: pulumi.Int(1), TaskDefinitionArn: pulumi.Any(taskName.Arn), }, Input: pulumi.String(json0), }) if err != nil { return err } return nil }) } ```

### API Gateway target

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/apigateway"
"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 {
		exampleEventRule, err := cloudwatch.NewEventRule(ctx, "example", nil)
		if err != nil {
			return err
		}
		exampleDeployment, err := apigateway.NewDeployment(ctx, "example", &apigateway.DeploymentArgs{
			RestApi: pulumi.Any(exampleAwsApiGatewayRestApi.Id),
		})
		if err != nil {
			return err
		}
		exampleStage, err := apigateway.NewStage(ctx, "example", &apigateway.StageArgs{
			RestApi:    pulumi.Any(exampleAwsApiGatewayRestApi.Id),
			Deployment: exampleDeployment.ID(),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "example", &cloudwatch.EventTargetArgs{
			Arn: exampleStage.ExecutionArn.ApplyT(func(executionArn string) (string, error) {
				return fmt.Sprintf("%v/GET", executionArn), nil
			}).(pulumi.StringOutput),
			Rule: exampleEventRule.ID(),
			HttpTarget: &cloudwatch.EventTargetHttpTargetArgs{
				QueryStringParameters: pulumi.StringMap{
					"Body": pulumi.String("$.detail.body"),
				},
				HeaderParameters: pulumi.StringMap{
					"Env": pulumi.String("Test"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Cross-Account Event Bus target

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"events.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		eventBusInvokeRemoteEventBusRole, err := iam.NewRole(ctx, "event_bus_invoke_remote_event_bus", &iam.RoleArgs{
			Name:             pulumi.String("event-bus-invoke-remote-event-bus"),
			AssumeRolePolicy: pulumi.String(assumeRole.Json),
		})
		if err != nil {
			return err
		}
		eventBusInvokeRemoteEventBus, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Actions: []string{
						"events:PutEvents",
					},
					Resources: []string{
						"arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		eventBusInvokeRemoteEventBusPolicy, err := iam.NewPolicy(ctx, "event_bus_invoke_remote_event_bus", &iam.PolicyArgs{
			Name:   pulumi.String("event_bus_invoke_remote_event_bus"),
			Policy: pulumi.String(eventBusInvokeRemoteEventBus.Json),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicyAttachment(ctx, "event_bus_invoke_remote_event_bus", &iam.RolePolicyAttachmentArgs{
			Role:      eventBusInvokeRemoteEventBusRole.Name,
			PolicyArn: eventBusInvokeRemoteEventBusPolicy.Arn,
		})
		if err != nil {
			return err
		}
		stopInstances, err := cloudwatch.NewEventRule(ctx, "stop_instances", &cloudwatch.EventRuleArgs{
			Name:               pulumi.String("StopInstance"),
			Description:        pulumi.String("Stop instances nightly"),
			ScheduleExpression: pulumi.String("cron(0 0 * * ? *)"),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "stop_instances", &cloudwatch.EventTargetArgs{
			TargetId: pulumi.String("StopInstance"),
			Arn:      pulumi.String("arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus"),
			Rule:     stopInstances.Name,
			RoleArn:  eventBusInvokeRemoteEventBusRole.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Input Transformer Usage - JSON Object

```go 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 {
		exampleEventRule, err := cloudwatch.NewEventRule(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "example", &cloudwatch.EventTargetArgs{
			Arn:  pulumi.Any(exampleAwsLambdaFunction.Arn),
			Rule: exampleEventRule.ID(),
			InputTransformer: &cloudwatch.EventTargetInputTransformerArgs{
				InputPaths: pulumi.StringMap{
					"instance": pulumi.String("$.detail.instance"),
					"status":   pulumi.String("$.detail.status"),
				},
				InputTemplate: pulumi.String("{\n  \"instance_id\": <instance>,\n  \"instance_status\": <status>\n}\n"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Input Transformer Usage - Simple String

```go 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 {
		exampleEventRule, err := cloudwatch.NewEventRule(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "example", &cloudwatch.EventTargetArgs{
			Arn:  pulumi.Any(exampleAwsLambdaFunction.Arn),
			Rule: exampleEventRule.ID(),
			InputTransformer: &cloudwatch.EventTargetInputTransformerArgs{
				InputPaths: pulumi.StringMap{
					"instance": pulumi.String("$.detail.instance"),
					"status":   pulumi.String("$.detail.status"),
				},
				InputTemplate: pulumi.String("\"<instance> is in state <status>\""),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Cloudwatch Log Group Usage

```go package main

import (

"encoding/json"
"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cloudwatch.NewLogGroup(ctx, "example", &cloudwatch.LogGroupArgs{
			Name:            pulumi.String("/aws/events/guardduty/logs"),
			RetentionInDays: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"source": []string{
				"aws.guardduty",
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		exampleEventRule, err := cloudwatch.NewEventRule(ctx, "example", &cloudwatch.EventRuleArgs{
			Name:         pulumi.String("guard-duty_event_rule"),
			Description:  pulumi.String("GuardDuty Findings"),
			EventPattern: pulumi.String(json0),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		exampleLogPolicy := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("logs:CreateLogStream"),
					},
					Resources: pulumi.StringArray{
						example.Arn.ApplyT(func(arn string) (string, error) {
							return fmt.Sprintf("%v:*", arn), nil
						}).(pulumi.StringOutput),
					},
					Principals: iam.GetPolicyDocumentStatementPrincipalArray{
						&iam.GetPolicyDocumentStatementPrincipalArgs{
							Type: pulumi.String("Service"),
							Identifiers: pulumi.StringArray{
								pulumi.String("events.amazonaws.com"),
								pulumi.String("delivery.logs.amazonaws.com"),
							},
						},
					},
				},
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("logs:PutLogEvents"),
					},
					Resources: pulumi.StringArray{
						example.Arn.ApplyT(func(arn string) (string, error) {
							return fmt.Sprintf("%v:*:*", arn), nil
						}).(pulumi.StringOutput),
					},
					Principals: iam.GetPolicyDocumentStatementPrincipalArray{
						&iam.GetPolicyDocumentStatementPrincipalArgs{
							Type: pulumi.String("Service"),
							Identifiers: pulumi.StringArray{
								pulumi.String("events.amazonaws.com"),
								pulumi.String("delivery.logs.amazonaws.com"),
							},
						},
					},
					Conditions: iam.GetPolicyDocumentStatementConditionArray{
						&iam.GetPolicyDocumentStatementConditionArgs{
							Test: pulumi.String("ArnEquals"),
							Values: pulumi.StringArray{
								exampleEventRule.Arn,
							},
							Variable: pulumi.String("aws:SourceArn"),
						},
					},
				},
			},
		}, nil)
		_, err = cloudwatch.NewLogResourcePolicy(ctx, "example", &cloudwatch.LogResourcePolicyArgs{
			PolicyDocument: pulumi.String(exampleLogPolicy.ApplyT(func(exampleLogPolicy iam.GetPolicyDocumentResult) (*string, error) {
				return &exampleLogPolicy.Json, nil
			}).(pulumi.StringPtrOutput)),
			PolicyName: pulumi.String("guardduty-log-publishing-policy"),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "example", &cloudwatch.EventTargetArgs{
			Rule: exampleEventRule.Name,
			Arn:  example.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### AppSync Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeAppsyncMutation, err := cloudwatch.NewEventRule(ctx, "invoke_appsync_mutation", &cloudwatch.EventRuleArgs{
			Name:               pulumi.String("invoke-appsync-mutation"),
			Description:        pulumi.String("schedule_batch_test"),
			ScheduleExpression: pulumi.String("rate(5 minutes)"),
		})
		if err != nil {
			return err
		}
		appsyncMutationRoleTrust, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Actions: []string{
						"sts:AssumeRole",
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"events.amazonaws.com",
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		appsyncMutationRole, err := iam.NewRole(ctx, "appsync_mutation_role", &iam.RoleArgs{
			Name:             pulumi.String("appsync-mutation-role"),
			AssumeRolePolicy: pulumi.String(appsyncMutationRoleTrust.Json),
		})
		if err != nil {
			return err
		}
		_, err = appsync.NewGraphQLApi(ctx, "graphql-api", &appsync.GraphQLApiArgs{
			Name:               pulumi.String("api"),
			AuthenticationType: pulumi.String("AWS_IAM"),
			Schema: pulumi.String(`    schema {
      mutation: Mutation
      query: Query
    }

    type Query {
      testQuery: String
    }

    type Mutation {
      testMutation(input: MutationInput!): TestMutationResult
    }

    type TestMutationResult {
      test: String
    }

    input MutationInput {
      testInput: String
    }

`),

		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewEventTarget(ctx, "invoke_appsync_mutation", &cloudwatch.EventTargetArgs{
			Arn: pulumi.String(std.ReplaceOutput(ctx, std.ReplaceOutputArgs{
				Text:    graphql_api.Arn,
				Search:  pulumi.String("apis"),
				Replace: pulumi.String("endpoints/graphql-api"),
			}, nil).ApplyT(func(invoke std.ReplaceResult) (*string, error) {
				return invoke.Result, nil
			}).(pulumi.StringPtrOutput)),
			Rule:    invokeAppsyncMutation.ID(),
			RoleArn: appsyncMutationRole.Arn,
			InputTransformer: &cloudwatch.EventTargetInputTransformerArgs{
				InputPaths: pulumi.StringMap{
					"input": pulumi.String("$.detail.input"),
				},
				InputTemplate: pulumi.String("      {\n        \"input\": <input>\n      }\n"),
			},
			AppsyncTarget: &cloudwatch.EventTargetAppsyncTargetArgs{
				GraphqlOperation: pulumi.String("mutation TestMutation($input:MutationInput!){testMutation(input: $input) {test}}"),
			},
		})
		if err != nil {
			return err
		}
		appsyncMutationRolePolicyDocument := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Actions: pulumi.StringArray{
						pulumi.String("appsync:GraphQL"),
					},
					Effect: pulumi.String("Allow"),
					Resources: pulumi.StringArray{
						graphql_api.Arn,
					},
				},
			},
		}, nil)
		appsyncMutationRolePolicy, err := iam.NewPolicy(ctx, "appsync_mutation_role_policy", &iam.PolicyArgs{
			Name: pulumi.String("appsync-mutation-role-policy"),
			Policy: pulumi.String(appsyncMutationRolePolicyDocument.ApplyT(func(appsyncMutationRolePolicyDocument iam.GetPolicyDocumentResult) (*string, error) {
				return &appsyncMutationRolePolicyDocument.Json, nil
			}).(pulumi.StringPtrOutput)),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicyAttachment(ctx, "appsync_mutation_role_attachment", &iam.RolePolicyAttachmentArgs{
			PolicyArn: appsyncMutationRolePolicy.Arn,
			Role:      appsyncMutationRole.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import EventBridge Targets using `event_bus_name/rule-name/target-id` (if you omit `event_bus_name`, the `default` event bus will be used). For example:

```sh $ pulumi import aws:cloudwatch/eventTarget:EventTarget test-event-target rule-name/target-id ```

func GetEventTarget

func GetEventTarget(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventTargetState, opts ...pulumi.ResourceOption) (*EventTarget, error)

GetEventTarget gets an existing EventTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventTarget

func NewEventTarget(ctx *pulumi.Context,
	name string, args *EventTargetArgs, opts ...pulumi.ResourceOption) (*EventTarget, error)

NewEventTarget registers a new resource with the given unique name, arguments, and options.

func (*EventTarget) ElementType

func (*EventTarget) ElementType() reflect.Type

func (*EventTarget) ToEventTargetOutput

func (i *EventTarget) ToEventTargetOutput() EventTargetOutput

func (*EventTarget) ToEventTargetOutputWithContext

func (i *EventTarget) ToEventTargetOutputWithContext(ctx context.Context) EventTargetOutput

type EventTargetAppsyncTarget added in v6.57.0

type EventTargetAppsyncTarget struct {
	// Contains the GraphQL mutation to be parsed and executed.
	GraphqlOperation *string `pulumi:"graphqlOperation"`
}

type EventTargetAppsyncTargetArgs added in v6.57.0

type EventTargetAppsyncTargetArgs struct {
	// Contains the GraphQL mutation to be parsed and executed.
	GraphqlOperation pulumi.StringPtrInput `pulumi:"graphqlOperation"`
}

func (EventTargetAppsyncTargetArgs) ElementType added in v6.57.0

func (EventTargetAppsyncTargetArgs) ToEventTargetAppsyncTargetOutput added in v6.57.0

func (i EventTargetAppsyncTargetArgs) ToEventTargetAppsyncTargetOutput() EventTargetAppsyncTargetOutput

func (EventTargetAppsyncTargetArgs) ToEventTargetAppsyncTargetOutputWithContext added in v6.57.0

func (i EventTargetAppsyncTargetArgs) ToEventTargetAppsyncTargetOutputWithContext(ctx context.Context) EventTargetAppsyncTargetOutput

func (EventTargetAppsyncTargetArgs) ToEventTargetAppsyncTargetPtrOutput added in v6.57.0

func (i EventTargetAppsyncTargetArgs) ToEventTargetAppsyncTargetPtrOutput() EventTargetAppsyncTargetPtrOutput

func (EventTargetAppsyncTargetArgs) ToEventTargetAppsyncTargetPtrOutputWithContext added in v6.57.0

func (i EventTargetAppsyncTargetArgs) ToEventTargetAppsyncTargetPtrOutputWithContext(ctx context.Context) EventTargetAppsyncTargetPtrOutput

type EventTargetAppsyncTargetInput added in v6.57.0

type EventTargetAppsyncTargetInput interface {
	pulumi.Input

	ToEventTargetAppsyncTargetOutput() EventTargetAppsyncTargetOutput
	ToEventTargetAppsyncTargetOutputWithContext(context.Context) EventTargetAppsyncTargetOutput
}

EventTargetAppsyncTargetInput is an input type that accepts EventTargetAppsyncTargetArgs and EventTargetAppsyncTargetOutput values. You can construct a concrete instance of `EventTargetAppsyncTargetInput` via:

EventTargetAppsyncTargetArgs{...}

type EventTargetAppsyncTargetOutput added in v6.57.0

type EventTargetAppsyncTargetOutput struct{ *pulumi.OutputState }

func (EventTargetAppsyncTargetOutput) ElementType added in v6.57.0

func (EventTargetAppsyncTargetOutput) GraphqlOperation added in v6.57.0

Contains the GraphQL mutation to be parsed and executed.

func (EventTargetAppsyncTargetOutput) ToEventTargetAppsyncTargetOutput added in v6.57.0

func (o EventTargetAppsyncTargetOutput) ToEventTargetAppsyncTargetOutput() EventTargetAppsyncTargetOutput

func (EventTargetAppsyncTargetOutput) ToEventTargetAppsyncTargetOutputWithContext added in v6.57.0

func (o EventTargetAppsyncTargetOutput) ToEventTargetAppsyncTargetOutputWithContext(ctx context.Context) EventTargetAppsyncTargetOutput

func (EventTargetAppsyncTargetOutput) ToEventTargetAppsyncTargetPtrOutput added in v6.57.0

func (o EventTargetAppsyncTargetOutput) ToEventTargetAppsyncTargetPtrOutput() EventTargetAppsyncTargetPtrOutput

func (EventTargetAppsyncTargetOutput) ToEventTargetAppsyncTargetPtrOutputWithContext added in v6.57.0

func (o EventTargetAppsyncTargetOutput) ToEventTargetAppsyncTargetPtrOutputWithContext(ctx context.Context) EventTargetAppsyncTargetPtrOutput

type EventTargetAppsyncTargetPtrInput added in v6.57.0

type EventTargetAppsyncTargetPtrInput interface {
	pulumi.Input

	ToEventTargetAppsyncTargetPtrOutput() EventTargetAppsyncTargetPtrOutput
	ToEventTargetAppsyncTargetPtrOutputWithContext(context.Context) EventTargetAppsyncTargetPtrOutput
}

EventTargetAppsyncTargetPtrInput is an input type that accepts EventTargetAppsyncTargetArgs, EventTargetAppsyncTargetPtr and EventTargetAppsyncTargetPtrOutput values. You can construct a concrete instance of `EventTargetAppsyncTargetPtrInput` via:

        EventTargetAppsyncTargetArgs{...}

or:

        nil

func EventTargetAppsyncTargetPtr added in v6.57.0

func EventTargetAppsyncTargetPtr(v *EventTargetAppsyncTargetArgs) EventTargetAppsyncTargetPtrInput

type EventTargetAppsyncTargetPtrOutput added in v6.57.0

type EventTargetAppsyncTargetPtrOutput struct{ *pulumi.OutputState }

func (EventTargetAppsyncTargetPtrOutput) Elem added in v6.57.0

func (EventTargetAppsyncTargetPtrOutput) ElementType added in v6.57.0

func (EventTargetAppsyncTargetPtrOutput) GraphqlOperation added in v6.57.0

Contains the GraphQL mutation to be parsed and executed.

func (EventTargetAppsyncTargetPtrOutput) ToEventTargetAppsyncTargetPtrOutput added in v6.57.0

func (o EventTargetAppsyncTargetPtrOutput) ToEventTargetAppsyncTargetPtrOutput() EventTargetAppsyncTargetPtrOutput

func (EventTargetAppsyncTargetPtrOutput) ToEventTargetAppsyncTargetPtrOutputWithContext added in v6.57.0

func (o EventTargetAppsyncTargetPtrOutput) ToEventTargetAppsyncTargetPtrOutputWithContext(ctx context.Context) EventTargetAppsyncTargetPtrOutput

type EventTargetArgs

type EventTargetArgs struct {
	// Parameters used when you are using the rule to invoke an AppSync GraphQL API mutation. Documented below. A maximum of 1 are allowed.
	AppsyncTarget EventTargetAppsyncTargetPtrInput
	// The Amazon Resource Name (ARN) of the target.
	Arn pulumi.StringInput
	// Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed.
	BatchTarget EventTargetBatchTargetPtrInput
	// Parameters used when you are providing a dead letter config. Documented below. A maximum of 1 are allowed.
	DeadLetterConfig EventTargetDeadLetterConfigPtrInput
	// Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.
	EcsTarget EventTargetEcsTargetPtrInput
	// The name or ARN of the event bus to associate with the rule.
	// If you omit this, the `default` event bus is used.
	EventBusName pulumi.StringPtrInput
	// Used to delete managed rules created by AWS. Defaults to `false`.
	ForceDestroy pulumi.BoolPtrInput
	// Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of 1 is allowed.
	HttpTarget EventTargetHttpTargetPtrInput
	// Valid JSON text passed to the target. Conflicts with `inputPath` and `inputTransformer`.
	Input pulumi.StringPtrInput
	// The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `inputTransformer`.
	InputPath pulumi.StringPtrInput
	// Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `inputPath`.
	InputTransformer EventTargetInputTransformerPtrInput
	// Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed.
	KinesisTarget EventTargetKinesisTargetPtrInput
	// Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Documented below. A maximum of 1 are allowed.
	RedshiftTarget EventTargetRedshiftTargetPtrInput
	// Parameters used when you are providing retry policies. Documented below. A maximum of 1 are allowed.
	RetryPolicy EventTargetRetryPolicyPtrInput
	// The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecsTarget` is used or target in `arn` is EC2 instance, Kinesis data stream, Step Functions state machine, or Event Bus in different account or region.
	RoleArn pulumi.StringPtrInput
	// The name of the rule you want to add targets to.
	//
	// The following arguments are optional:
	Rule pulumi.StringInput
	// Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed.
	RunCommandTargets EventTargetRunCommandTargetArrayInput
	// Parameters used when you are using the rule to invoke an Amazon SageMaker Pipeline. Documented below. A maximum of 1 are allowed.
	SagemakerPipelineTarget EventTargetSagemakerPipelineTargetPtrInput
	// Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed.
	SqsTarget EventTargetSqsTargetPtrInput
	// The unique target assignment ID. If missing, will generate a random, unique id.
	TargetId pulumi.StringPtrInput
}

The set of arguments for constructing a EventTarget resource.

func (EventTargetArgs) ElementType

func (EventTargetArgs) ElementType() reflect.Type

type EventTargetArray

type EventTargetArray []EventTargetInput

func (EventTargetArray) ElementType

func (EventTargetArray) ElementType() reflect.Type

func (EventTargetArray) ToEventTargetArrayOutput

func (i EventTargetArray) ToEventTargetArrayOutput() EventTargetArrayOutput

func (EventTargetArray) ToEventTargetArrayOutputWithContext

func (i EventTargetArray) ToEventTargetArrayOutputWithContext(ctx context.Context) EventTargetArrayOutput

type EventTargetArrayInput

type EventTargetArrayInput interface {
	pulumi.Input

	ToEventTargetArrayOutput() EventTargetArrayOutput
	ToEventTargetArrayOutputWithContext(context.Context) EventTargetArrayOutput
}

EventTargetArrayInput is an input type that accepts EventTargetArray and EventTargetArrayOutput values. You can construct a concrete instance of `EventTargetArrayInput` via:

EventTargetArray{ EventTargetArgs{...} }

type EventTargetArrayOutput

type EventTargetArrayOutput struct{ *pulumi.OutputState }

func (EventTargetArrayOutput) ElementType

func (EventTargetArrayOutput) ElementType() reflect.Type

func (EventTargetArrayOutput) Index

func (EventTargetArrayOutput) ToEventTargetArrayOutput

func (o EventTargetArrayOutput) ToEventTargetArrayOutput() EventTargetArrayOutput

func (EventTargetArrayOutput) ToEventTargetArrayOutputWithContext

func (o EventTargetArrayOutput) ToEventTargetArrayOutputWithContext(ctx context.Context) EventTargetArrayOutput

type EventTargetBatchTarget

type EventTargetBatchTarget struct {
	// The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.
	ArraySize *int `pulumi:"arraySize"`
	// The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.
	JobAttempts *int `pulumi:"jobAttempts"`
	// The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.
	JobDefinition string `pulumi:"jobDefinition"`
	// The name to use for this execution of the job, if the target is an AWS Batch job.
	JobName string `pulumi:"jobName"`
}

type EventTargetBatchTargetArgs

type EventTargetBatchTargetArgs struct {
	// The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.
	ArraySize pulumi.IntPtrInput `pulumi:"arraySize"`
	// The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.
	JobAttempts pulumi.IntPtrInput `pulumi:"jobAttempts"`
	// The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.
	JobDefinition pulumi.StringInput `pulumi:"jobDefinition"`
	// The name to use for this execution of the job, if the target is an AWS Batch job.
	JobName pulumi.StringInput `pulumi:"jobName"`
}

func (EventTargetBatchTargetArgs) ElementType

func (EventTargetBatchTargetArgs) ElementType() reflect.Type

func (EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutput

func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutput() EventTargetBatchTargetOutput

func (EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutputWithContext

func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutputWithContext(ctx context.Context) EventTargetBatchTargetOutput

func (EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutput

func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput

func (EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutputWithContext

func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutputWithContext(ctx context.Context) EventTargetBatchTargetPtrOutput

type EventTargetBatchTargetInput

type EventTargetBatchTargetInput interface {
	pulumi.Input

	ToEventTargetBatchTargetOutput() EventTargetBatchTargetOutput
	ToEventTargetBatchTargetOutputWithContext(context.Context) EventTargetBatchTargetOutput
}

EventTargetBatchTargetInput is an input type that accepts EventTargetBatchTargetArgs and EventTargetBatchTargetOutput values. You can construct a concrete instance of `EventTargetBatchTargetInput` via:

EventTargetBatchTargetArgs{...}

type EventTargetBatchTargetOutput

type EventTargetBatchTargetOutput struct{ *pulumi.OutputState }

func (EventTargetBatchTargetOutput) ArraySize

The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.

func (EventTargetBatchTargetOutput) ElementType

func (EventTargetBatchTargetOutput) JobAttempts

The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.

func (EventTargetBatchTargetOutput) JobDefinition

The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.

func (EventTargetBatchTargetOutput) JobName

The name to use for this execution of the job, if the target is an AWS Batch job.

func (EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutput

func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutput() EventTargetBatchTargetOutput

func (EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutputWithContext

func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutputWithContext(ctx context.Context) EventTargetBatchTargetOutput

func (EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutput

func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput

func (EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutputWithContext

func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutputWithContext(ctx context.Context) EventTargetBatchTargetPtrOutput

type EventTargetBatchTargetPtrInput

type EventTargetBatchTargetPtrInput interface {
	pulumi.Input

	ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput
	ToEventTargetBatchTargetPtrOutputWithContext(context.Context) EventTargetBatchTargetPtrOutput
}

EventTargetBatchTargetPtrInput is an input type that accepts EventTargetBatchTargetArgs, EventTargetBatchTargetPtr and EventTargetBatchTargetPtrOutput values. You can construct a concrete instance of `EventTargetBatchTargetPtrInput` via:

        EventTargetBatchTargetArgs{...}

or:

        nil

type EventTargetBatchTargetPtrOutput

type EventTargetBatchTargetPtrOutput struct{ *pulumi.OutputState }

func (EventTargetBatchTargetPtrOutput) ArraySize

The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.

func (EventTargetBatchTargetPtrOutput) Elem

func (EventTargetBatchTargetPtrOutput) ElementType

func (EventTargetBatchTargetPtrOutput) JobAttempts

The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.

func (EventTargetBatchTargetPtrOutput) JobDefinition

The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.

func (EventTargetBatchTargetPtrOutput) JobName

The name to use for this execution of the job, if the target is an AWS Batch job.

func (EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutput

func (o EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput

func (EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutputWithContext

func (o EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutputWithContext(ctx context.Context) EventTargetBatchTargetPtrOutput

type EventTargetDeadLetterConfig

type EventTargetDeadLetterConfig struct {
	// ARN of the SQS queue specified as the target for the dead-letter queue.
	Arn *string `pulumi:"arn"`
}

type EventTargetDeadLetterConfigArgs

type EventTargetDeadLetterConfigArgs struct {
	// ARN of the SQS queue specified as the target for the dead-letter queue.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
}

func (EventTargetDeadLetterConfigArgs) ElementType

func (EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutput

func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutput() EventTargetDeadLetterConfigOutput

func (EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutputWithContext

func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigOutput

func (EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutput

func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput

func (EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutputWithContext

func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigPtrOutput

type EventTargetDeadLetterConfigInput

type EventTargetDeadLetterConfigInput interface {
	pulumi.Input

	ToEventTargetDeadLetterConfigOutput() EventTargetDeadLetterConfigOutput
	ToEventTargetDeadLetterConfigOutputWithContext(context.Context) EventTargetDeadLetterConfigOutput
}

EventTargetDeadLetterConfigInput is an input type that accepts EventTargetDeadLetterConfigArgs and EventTargetDeadLetterConfigOutput values. You can construct a concrete instance of `EventTargetDeadLetterConfigInput` via:

EventTargetDeadLetterConfigArgs{...}

type EventTargetDeadLetterConfigOutput

type EventTargetDeadLetterConfigOutput struct{ *pulumi.OutputState }

func (EventTargetDeadLetterConfigOutput) Arn

ARN of the SQS queue specified as the target for the dead-letter queue.

func (EventTargetDeadLetterConfigOutput) ElementType

func (EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutput

func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutput() EventTargetDeadLetterConfigOutput

func (EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutputWithContext

func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigOutput

func (EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutput

func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput

func (EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext

func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigPtrOutput

type EventTargetDeadLetterConfigPtrInput

type EventTargetDeadLetterConfigPtrInput interface {
	pulumi.Input

	ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput
	ToEventTargetDeadLetterConfigPtrOutputWithContext(context.Context) EventTargetDeadLetterConfigPtrOutput
}

EventTargetDeadLetterConfigPtrInput is an input type that accepts EventTargetDeadLetterConfigArgs, EventTargetDeadLetterConfigPtr and EventTargetDeadLetterConfigPtrOutput values. You can construct a concrete instance of `EventTargetDeadLetterConfigPtrInput` via:

        EventTargetDeadLetterConfigArgs{...}

or:

        nil

type EventTargetDeadLetterConfigPtrOutput

type EventTargetDeadLetterConfigPtrOutput struct{ *pulumi.OutputState }

func (EventTargetDeadLetterConfigPtrOutput) Arn

ARN of the SQS queue specified as the target for the dead-letter queue.

func (EventTargetDeadLetterConfigPtrOutput) Elem

func (EventTargetDeadLetterConfigPtrOutput) ElementType

func (EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutput

func (o EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput

func (EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext

func (o EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigPtrOutput

type EventTargetEcsTarget

type EventTargetEcsTarget struct {
	// The capacity provider strategy to use for the task. If a `capacityProviderStrategy` specified, the `launchType` parameter must be omitted. If no `capacityProviderStrategy` or `launchType` is specified, the default capacity provider strategy for the cluster is used. Can be one or more. See below.
	CapacityProviderStrategies []EventTargetEcsTargetCapacityProviderStrategy `pulumi:"capacityProviderStrategies"`
	// Specifies whether to enable Amazon ECS managed tags for the task.
	EnableEcsManagedTags *bool `pulumi:"enableEcsManagedTags"`
	// Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.
	EnableExecuteCommand *bool `pulumi:"enableExecuteCommand"`
	// Specifies an ECS task group for the task. The maximum length is 255 characters.
	Group *string `pulumi:"group"`
	// Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values include: `EC2`, `EXTERNAL`, or `FARGATE`.
	LaunchType *string `pulumi:"launchType"`
	// Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if `launchType` is `FARGATE` because the awsvpc mode is required for Fargate tasks.
	NetworkConfiguration *EventTargetEcsTargetNetworkConfiguration `pulumi:"networkConfiguration"`
	// An array of placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.
	OrderedPlacementStrategies []EventTargetEcsTargetOrderedPlacementStrategy `pulumi:"orderedPlacementStrategies"`
	// An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). See Below.
	PlacementConstraints []EventTargetEcsTargetPlacementConstraint `pulumi:"placementConstraints"`
	// Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as `1.1.0`. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see [AWS Fargate Platform Versions](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
	PlatformVersion *string `pulumi:"platformVersion"`
	// Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. The only valid value is: `TASK_DEFINITION`.
	PropagateTags *string `pulumi:"propagateTags"`
	// A map of tags to assign to ecs resources.
	Tags map[string]string `pulumi:"tags"`
	// The number of tasks to create based on the TaskDefinition. Defaults to `1`.
	TaskCount *int `pulumi:"taskCount"`
	// The ARN of the task definition to use if the event target is an Amazon ECS cluster.
	TaskDefinitionArn string `pulumi:"taskDefinitionArn"`
}

type EventTargetEcsTargetArgs

type EventTargetEcsTargetArgs struct {
	// The capacity provider strategy to use for the task. If a `capacityProviderStrategy` specified, the `launchType` parameter must be omitted. If no `capacityProviderStrategy` or `launchType` is specified, the default capacity provider strategy for the cluster is used. Can be one or more. See below.
	CapacityProviderStrategies EventTargetEcsTargetCapacityProviderStrategyArrayInput `pulumi:"capacityProviderStrategies"`
	// Specifies whether to enable Amazon ECS managed tags for the task.
	EnableEcsManagedTags pulumi.BoolPtrInput `pulumi:"enableEcsManagedTags"`
	// Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.
	EnableExecuteCommand pulumi.BoolPtrInput `pulumi:"enableExecuteCommand"`
	// Specifies an ECS task group for the task. The maximum length is 255 characters.
	Group pulumi.StringPtrInput `pulumi:"group"`
	// Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values include: `EC2`, `EXTERNAL`, or `FARGATE`.
	LaunchType pulumi.StringPtrInput `pulumi:"launchType"`
	// Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if `launchType` is `FARGATE` because the awsvpc mode is required for Fargate tasks.
	NetworkConfiguration EventTargetEcsTargetNetworkConfigurationPtrInput `pulumi:"networkConfiguration"`
	// An array of placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.
	OrderedPlacementStrategies EventTargetEcsTargetOrderedPlacementStrategyArrayInput `pulumi:"orderedPlacementStrategies"`
	// An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). See Below.
	PlacementConstraints EventTargetEcsTargetPlacementConstraintArrayInput `pulumi:"placementConstraints"`
	// Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as `1.1.0`. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see [AWS Fargate Platform Versions](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
	PlatformVersion pulumi.StringPtrInput `pulumi:"platformVersion"`
	// Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. The only valid value is: `TASK_DEFINITION`.
	PropagateTags pulumi.StringPtrInput `pulumi:"propagateTags"`
	// A map of tags to assign to ecs resources.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// The number of tasks to create based on the TaskDefinition. Defaults to `1`.
	TaskCount pulumi.IntPtrInput `pulumi:"taskCount"`
	// The ARN of the task definition to use if the event target is an Amazon ECS cluster.
	TaskDefinitionArn pulumi.StringInput `pulumi:"taskDefinitionArn"`
}

func (EventTargetEcsTargetArgs) ElementType

func (EventTargetEcsTargetArgs) ElementType() reflect.Type

func (EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutput

func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutput() EventTargetEcsTargetOutput

func (EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutputWithContext

func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutputWithContext(ctx context.Context) EventTargetEcsTargetOutput

func (EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutput

func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput

func (EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutputWithContext

func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetPtrOutput

type EventTargetEcsTargetCapacityProviderStrategy

type EventTargetEcsTargetCapacityProviderStrategy struct {
	// The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Defaults to `0`.
	Base *int `pulumi:"base"`
	// Short name of the capacity provider.
	CapacityProvider string `pulumi:"capacityProvider"`
	// The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied.
	Weight *int `pulumi:"weight"`
}

type EventTargetEcsTargetCapacityProviderStrategyArgs

type EventTargetEcsTargetCapacityProviderStrategyArgs struct {
	// The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Defaults to `0`.
	Base pulumi.IntPtrInput `pulumi:"base"`
	// Short name of the capacity provider.
	CapacityProvider pulumi.StringInput `pulumi:"capacityProvider"`
	// The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (EventTargetEcsTargetCapacityProviderStrategyArgs) ElementType

func (EventTargetEcsTargetCapacityProviderStrategyArgs) ToEventTargetEcsTargetCapacityProviderStrategyOutput

func (i EventTargetEcsTargetCapacityProviderStrategyArgs) ToEventTargetEcsTargetCapacityProviderStrategyOutput() EventTargetEcsTargetCapacityProviderStrategyOutput

func (EventTargetEcsTargetCapacityProviderStrategyArgs) ToEventTargetEcsTargetCapacityProviderStrategyOutputWithContext

func (i EventTargetEcsTargetCapacityProviderStrategyArgs) ToEventTargetEcsTargetCapacityProviderStrategyOutputWithContext(ctx context.Context) EventTargetEcsTargetCapacityProviderStrategyOutput

type EventTargetEcsTargetCapacityProviderStrategyArray

type EventTargetEcsTargetCapacityProviderStrategyArray []EventTargetEcsTargetCapacityProviderStrategyInput

func (EventTargetEcsTargetCapacityProviderStrategyArray) ElementType

func (EventTargetEcsTargetCapacityProviderStrategyArray) ToEventTargetEcsTargetCapacityProviderStrategyArrayOutput

func (i EventTargetEcsTargetCapacityProviderStrategyArray) ToEventTargetEcsTargetCapacityProviderStrategyArrayOutput() EventTargetEcsTargetCapacityProviderStrategyArrayOutput

func (EventTargetEcsTargetCapacityProviderStrategyArray) ToEventTargetEcsTargetCapacityProviderStrategyArrayOutputWithContext

func (i EventTargetEcsTargetCapacityProviderStrategyArray) ToEventTargetEcsTargetCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetCapacityProviderStrategyArrayOutput

type EventTargetEcsTargetCapacityProviderStrategyArrayInput

type EventTargetEcsTargetCapacityProviderStrategyArrayInput interface {
	pulumi.Input

	ToEventTargetEcsTargetCapacityProviderStrategyArrayOutput() EventTargetEcsTargetCapacityProviderStrategyArrayOutput
	ToEventTargetEcsTargetCapacityProviderStrategyArrayOutputWithContext(context.Context) EventTargetEcsTargetCapacityProviderStrategyArrayOutput
}

EventTargetEcsTargetCapacityProviderStrategyArrayInput is an input type that accepts EventTargetEcsTargetCapacityProviderStrategyArray and EventTargetEcsTargetCapacityProviderStrategyArrayOutput values. You can construct a concrete instance of `EventTargetEcsTargetCapacityProviderStrategyArrayInput` via:

EventTargetEcsTargetCapacityProviderStrategyArray{ EventTargetEcsTargetCapacityProviderStrategyArgs{...} }

type EventTargetEcsTargetCapacityProviderStrategyArrayOutput

type EventTargetEcsTargetCapacityProviderStrategyArrayOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetCapacityProviderStrategyArrayOutput) ElementType

func (EventTargetEcsTargetCapacityProviderStrategyArrayOutput) Index

func (EventTargetEcsTargetCapacityProviderStrategyArrayOutput) ToEventTargetEcsTargetCapacityProviderStrategyArrayOutput

func (EventTargetEcsTargetCapacityProviderStrategyArrayOutput) ToEventTargetEcsTargetCapacityProviderStrategyArrayOutputWithContext

func (o EventTargetEcsTargetCapacityProviderStrategyArrayOutput) ToEventTargetEcsTargetCapacityProviderStrategyArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetCapacityProviderStrategyArrayOutput

type EventTargetEcsTargetCapacityProviderStrategyInput

type EventTargetEcsTargetCapacityProviderStrategyInput interface {
	pulumi.Input

	ToEventTargetEcsTargetCapacityProviderStrategyOutput() EventTargetEcsTargetCapacityProviderStrategyOutput
	ToEventTargetEcsTargetCapacityProviderStrategyOutputWithContext(context.Context) EventTargetEcsTargetCapacityProviderStrategyOutput
}

EventTargetEcsTargetCapacityProviderStrategyInput is an input type that accepts EventTargetEcsTargetCapacityProviderStrategyArgs and EventTargetEcsTargetCapacityProviderStrategyOutput values. You can construct a concrete instance of `EventTargetEcsTargetCapacityProviderStrategyInput` via:

EventTargetEcsTargetCapacityProviderStrategyArgs{...}

type EventTargetEcsTargetCapacityProviderStrategyOutput

type EventTargetEcsTargetCapacityProviderStrategyOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetCapacityProviderStrategyOutput) Base

The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Defaults to `0`.

func (EventTargetEcsTargetCapacityProviderStrategyOutput) CapacityProvider

Short name of the capacity provider.

func (EventTargetEcsTargetCapacityProviderStrategyOutput) ElementType

func (EventTargetEcsTargetCapacityProviderStrategyOutput) ToEventTargetEcsTargetCapacityProviderStrategyOutput

func (o EventTargetEcsTargetCapacityProviderStrategyOutput) ToEventTargetEcsTargetCapacityProviderStrategyOutput() EventTargetEcsTargetCapacityProviderStrategyOutput

func (EventTargetEcsTargetCapacityProviderStrategyOutput) ToEventTargetEcsTargetCapacityProviderStrategyOutputWithContext

func (o EventTargetEcsTargetCapacityProviderStrategyOutput) ToEventTargetEcsTargetCapacityProviderStrategyOutputWithContext(ctx context.Context) EventTargetEcsTargetCapacityProviderStrategyOutput

func (EventTargetEcsTargetCapacityProviderStrategyOutput) Weight

The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied.

type EventTargetEcsTargetInput

type EventTargetEcsTargetInput interface {
	pulumi.Input

	ToEventTargetEcsTargetOutput() EventTargetEcsTargetOutput
	ToEventTargetEcsTargetOutputWithContext(context.Context) EventTargetEcsTargetOutput
}

EventTargetEcsTargetInput is an input type that accepts EventTargetEcsTargetArgs and EventTargetEcsTargetOutput values. You can construct a concrete instance of `EventTargetEcsTargetInput` via:

EventTargetEcsTargetArgs{...}

type EventTargetEcsTargetNetworkConfiguration

type EventTargetEcsTargetNetworkConfiguration struct {
	// Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Defaults to `false`.
	//
	// For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
	AssignPublicIp *bool `pulumi:"assignPublicIp"`
	// The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
	SecurityGroups []string `pulumi:"securityGroups"`
	// The subnets associated with the task or service.
	Subnets []string `pulumi:"subnets"`
}

type EventTargetEcsTargetNetworkConfigurationArgs

type EventTargetEcsTargetNetworkConfigurationArgs struct {
	// Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Defaults to `false`.
	//
	// For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
	AssignPublicIp pulumi.BoolPtrInput `pulumi:"assignPublicIp"`
	// The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
	SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"`
	// The subnets associated with the task or service.
	Subnets pulumi.StringArrayInput `pulumi:"subnets"`
}

func (EventTargetEcsTargetNetworkConfigurationArgs) ElementType

func (EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutput

func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutput() EventTargetEcsTargetNetworkConfigurationOutput

func (EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext

func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationOutput

func (EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutput

func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput

func (EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext

func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput

type EventTargetEcsTargetNetworkConfigurationInput

type EventTargetEcsTargetNetworkConfigurationInput interface {
	pulumi.Input

	ToEventTargetEcsTargetNetworkConfigurationOutput() EventTargetEcsTargetNetworkConfigurationOutput
	ToEventTargetEcsTargetNetworkConfigurationOutputWithContext(context.Context) EventTargetEcsTargetNetworkConfigurationOutput
}

EventTargetEcsTargetNetworkConfigurationInput is an input type that accepts EventTargetEcsTargetNetworkConfigurationArgs and EventTargetEcsTargetNetworkConfigurationOutput values. You can construct a concrete instance of `EventTargetEcsTargetNetworkConfigurationInput` via:

EventTargetEcsTargetNetworkConfigurationArgs{...}

type EventTargetEcsTargetNetworkConfigurationOutput

type EventTargetEcsTargetNetworkConfigurationOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetNetworkConfigurationOutput) AssignPublicIp

Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Defaults to `false`.

For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)

func (EventTargetEcsTargetNetworkConfigurationOutput) ElementType

func (EventTargetEcsTargetNetworkConfigurationOutput) SecurityGroups

The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.

func (EventTargetEcsTargetNetworkConfigurationOutput) Subnets

The subnets associated with the task or service.

func (EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutput

func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutput() EventTargetEcsTargetNetworkConfigurationOutput

func (EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext

func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationOutput

func (EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput

func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput

func (EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext

func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput

type EventTargetEcsTargetNetworkConfigurationPtrInput

type EventTargetEcsTargetNetworkConfigurationPtrInput interface {
	pulumi.Input

	ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput
	ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput
}

EventTargetEcsTargetNetworkConfigurationPtrInput is an input type that accepts EventTargetEcsTargetNetworkConfigurationArgs, EventTargetEcsTargetNetworkConfigurationPtr and EventTargetEcsTargetNetworkConfigurationPtrOutput values. You can construct a concrete instance of `EventTargetEcsTargetNetworkConfigurationPtrInput` via:

        EventTargetEcsTargetNetworkConfigurationArgs{...}

or:

        nil

type EventTargetEcsTargetNetworkConfigurationPtrOutput

type EventTargetEcsTargetNetworkConfigurationPtrOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetNetworkConfigurationPtrOutput) AssignPublicIp

Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Defaults to `false`.

For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)

func (EventTargetEcsTargetNetworkConfigurationPtrOutput) Elem

func (EventTargetEcsTargetNetworkConfigurationPtrOutput) ElementType

func (EventTargetEcsTargetNetworkConfigurationPtrOutput) SecurityGroups

The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.

func (EventTargetEcsTargetNetworkConfigurationPtrOutput) Subnets

The subnets associated with the task or service.

func (EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput

func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput

func (EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext

func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput

type EventTargetEcsTargetOrderedPlacementStrategy

type EventTargetEcsTargetOrderedPlacementStrategy struct {
	// The field to apply the placement strategy against. For the `spread` placement strategy, valid values are `instanceId` (or `host`, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as `attribute:ecs.availability-zone`. For the `binpack` placement strategy, valid values are `cpu` and `memory`. For the `random` placement strategy, this field is not used. For more information, see [Amazon ECS task placement strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html).
	Field *string `pulumi:"field"`
	// Type of placement strategy. The only valid values at this time are `binpack`, `random` and `spread`.
	Type string `pulumi:"type"`
}

type EventTargetEcsTargetOrderedPlacementStrategyArgs

type EventTargetEcsTargetOrderedPlacementStrategyArgs struct {
	// The field to apply the placement strategy against. For the `spread` placement strategy, valid values are `instanceId` (or `host`, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as `attribute:ecs.availability-zone`. For the `binpack` placement strategy, valid values are `cpu` and `memory`. For the `random` placement strategy, this field is not used. For more information, see [Amazon ECS task placement strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html).
	Field pulumi.StringPtrInput `pulumi:"field"`
	// Type of placement strategy. The only valid values at this time are `binpack`, `random` and `spread`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (EventTargetEcsTargetOrderedPlacementStrategyArgs) ElementType

func (EventTargetEcsTargetOrderedPlacementStrategyArgs) ToEventTargetEcsTargetOrderedPlacementStrategyOutput

func (i EventTargetEcsTargetOrderedPlacementStrategyArgs) ToEventTargetEcsTargetOrderedPlacementStrategyOutput() EventTargetEcsTargetOrderedPlacementStrategyOutput

func (EventTargetEcsTargetOrderedPlacementStrategyArgs) ToEventTargetEcsTargetOrderedPlacementStrategyOutputWithContext

func (i EventTargetEcsTargetOrderedPlacementStrategyArgs) ToEventTargetEcsTargetOrderedPlacementStrategyOutputWithContext(ctx context.Context) EventTargetEcsTargetOrderedPlacementStrategyOutput

type EventTargetEcsTargetOrderedPlacementStrategyArray

type EventTargetEcsTargetOrderedPlacementStrategyArray []EventTargetEcsTargetOrderedPlacementStrategyInput

func (EventTargetEcsTargetOrderedPlacementStrategyArray) ElementType

func (EventTargetEcsTargetOrderedPlacementStrategyArray) ToEventTargetEcsTargetOrderedPlacementStrategyArrayOutput

func (i EventTargetEcsTargetOrderedPlacementStrategyArray) ToEventTargetEcsTargetOrderedPlacementStrategyArrayOutput() EventTargetEcsTargetOrderedPlacementStrategyArrayOutput

func (EventTargetEcsTargetOrderedPlacementStrategyArray) ToEventTargetEcsTargetOrderedPlacementStrategyArrayOutputWithContext

func (i EventTargetEcsTargetOrderedPlacementStrategyArray) ToEventTargetEcsTargetOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetOrderedPlacementStrategyArrayOutput

type EventTargetEcsTargetOrderedPlacementStrategyArrayInput

type EventTargetEcsTargetOrderedPlacementStrategyArrayInput interface {
	pulumi.Input

	ToEventTargetEcsTargetOrderedPlacementStrategyArrayOutput() EventTargetEcsTargetOrderedPlacementStrategyArrayOutput
	ToEventTargetEcsTargetOrderedPlacementStrategyArrayOutputWithContext(context.Context) EventTargetEcsTargetOrderedPlacementStrategyArrayOutput
}

EventTargetEcsTargetOrderedPlacementStrategyArrayInput is an input type that accepts EventTargetEcsTargetOrderedPlacementStrategyArray and EventTargetEcsTargetOrderedPlacementStrategyArrayOutput values. You can construct a concrete instance of `EventTargetEcsTargetOrderedPlacementStrategyArrayInput` via:

EventTargetEcsTargetOrderedPlacementStrategyArray{ EventTargetEcsTargetOrderedPlacementStrategyArgs{...} }

type EventTargetEcsTargetOrderedPlacementStrategyArrayOutput

type EventTargetEcsTargetOrderedPlacementStrategyArrayOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetOrderedPlacementStrategyArrayOutput) ElementType

func (EventTargetEcsTargetOrderedPlacementStrategyArrayOutput) Index

func (EventTargetEcsTargetOrderedPlacementStrategyArrayOutput) ToEventTargetEcsTargetOrderedPlacementStrategyArrayOutput

func (EventTargetEcsTargetOrderedPlacementStrategyArrayOutput) ToEventTargetEcsTargetOrderedPlacementStrategyArrayOutputWithContext

func (o EventTargetEcsTargetOrderedPlacementStrategyArrayOutput) ToEventTargetEcsTargetOrderedPlacementStrategyArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetOrderedPlacementStrategyArrayOutput

type EventTargetEcsTargetOrderedPlacementStrategyInput

type EventTargetEcsTargetOrderedPlacementStrategyInput interface {
	pulumi.Input

	ToEventTargetEcsTargetOrderedPlacementStrategyOutput() EventTargetEcsTargetOrderedPlacementStrategyOutput
	ToEventTargetEcsTargetOrderedPlacementStrategyOutputWithContext(context.Context) EventTargetEcsTargetOrderedPlacementStrategyOutput
}

EventTargetEcsTargetOrderedPlacementStrategyInput is an input type that accepts EventTargetEcsTargetOrderedPlacementStrategyArgs and EventTargetEcsTargetOrderedPlacementStrategyOutput values. You can construct a concrete instance of `EventTargetEcsTargetOrderedPlacementStrategyInput` via:

EventTargetEcsTargetOrderedPlacementStrategyArgs{...}

type EventTargetEcsTargetOrderedPlacementStrategyOutput

type EventTargetEcsTargetOrderedPlacementStrategyOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetOrderedPlacementStrategyOutput) ElementType

func (EventTargetEcsTargetOrderedPlacementStrategyOutput) Field

The field to apply the placement strategy against. For the `spread` placement strategy, valid values are `instanceId` (or `host`, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as `attribute:ecs.availability-zone`. For the `binpack` placement strategy, valid values are `cpu` and `memory`. For the `random` placement strategy, this field is not used. For more information, see [Amazon ECS task placement strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html).

func (EventTargetEcsTargetOrderedPlacementStrategyOutput) ToEventTargetEcsTargetOrderedPlacementStrategyOutput

func (o EventTargetEcsTargetOrderedPlacementStrategyOutput) ToEventTargetEcsTargetOrderedPlacementStrategyOutput() EventTargetEcsTargetOrderedPlacementStrategyOutput

func (EventTargetEcsTargetOrderedPlacementStrategyOutput) ToEventTargetEcsTargetOrderedPlacementStrategyOutputWithContext

func (o EventTargetEcsTargetOrderedPlacementStrategyOutput) ToEventTargetEcsTargetOrderedPlacementStrategyOutputWithContext(ctx context.Context) EventTargetEcsTargetOrderedPlacementStrategyOutput

func (EventTargetEcsTargetOrderedPlacementStrategyOutput) Type

Type of placement strategy. The only valid values at this time are `binpack`, `random` and `spread`.

type EventTargetEcsTargetOutput

type EventTargetEcsTargetOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetOutput) CapacityProviderStrategies

The capacity provider strategy to use for the task. If a `capacityProviderStrategy` specified, the `launchType` parameter must be omitted. If no `capacityProviderStrategy` or `launchType` is specified, the default capacity provider strategy for the cluster is used. Can be one or more. See below.

func (EventTargetEcsTargetOutput) ElementType

func (EventTargetEcsTargetOutput) ElementType() reflect.Type

func (EventTargetEcsTargetOutput) EnableEcsManagedTags

func (o EventTargetEcsTargetOutput) EnableEcsManagedTags() pulumi.BoolPtrOutput

Specifies whether to enable Amazon ECS managed tags for the task.

func (EventTargetEcsTargetOutput) EnableExecuteCommand

func (o EventTargetEcsTargetOutput) EnableExecuteCommand() pulumi.BoolPtrOutput

Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.

func (EventTargetEcsTargetOutput) Group

Specifies an ECS task group for the task. The maximum length is 255 characters.

func (EventTargetEcsTargetOutput) LaunchType

Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values include: `EC2`, `EXTERNAL`, or `FARGATE`.

func (EventTargetEcsTargetOutput) NetworkConfiguration

Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if `launchType` is `FARGATE` because the awsvpc mode is required for Fargate tasks.

func (EventTargetEcsTargetOutput) OrderedPlacementStrategies

An array of placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.

func (EventTargetEcsTargetOutput) PlacementConstraints

An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). See Below.

func (EventTargetEcsTargetOutput) PlatformVersion

Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as `1.1.0`. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see [AWS Fargate Platform Versions](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).

func (EventTargetEcsTargetOutput) PropagateTags

Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. The only valid value is: `TASK_DEFINITION`.

func (EventTargetEcsTargetOutput) Tags

A map of tags to assign to ecs resources.

func (EventTargetEcsTargetOutput) TaskCount

The number of tasks to create based on the TaskDefinition. Defaults to `1`.

func (EventTargetEcsTargetOutput) TaskDefinitionArn

func (o EventTargetEcsTargetOutput) TaskDefinitionArn() pulumi.StringOutput

The ARN of the task definition to use if the event target is an Amazon ECS cluster.

func (EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutput

func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutput() EventTargetEcsTargetOutput

func (EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutputWithContext

func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutputWithContext(ctx context.Context) EventTargetEcsTargetOutput

func (EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutput

func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput

func (EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutputWithContext

func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetPtrOutput

type EventTargetEcsTargetPlacementConstraint

type EventTargetEcsTargetPlacementConstraint struct {
	// Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
	Expression *string `pulumi:"expression"`
	// Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.
	Type string `pulumi:"type"`
}

type EventTargetEcsTargetPlacementConstraintArgs

type EventTargetEcsTargetPlacementConstraintArgs struct {
	// Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (EventTargetEcsTargetPlacementConstraintArgs) ElementType

func (EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutput

func (i EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutput() EventTargetEcsTargetPlacementConstraintOutput

func (EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutputWithContext

func (i EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintOutput

type EventTargetEcsTargetPlacementConstraintArray

type EventTargetEcsTargetPlacementConstraintArray []EventTargetEcsTargetPlacementConstraintInput

func (EventTargetEcsTargetPlacementConstraintArray) ElementType

func (EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutput

func (i EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutput() EventTargetEcsTargetPlacementConstraintArrayOutput

func (EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext

func (i EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintArrayOutput

type EventTargetEcsTargetPlacementConstraintArrayInput

type EventTargetEcsTargetPlacementConstraintArrayInput interface {
	pulumi.Input

	ToEventTargetEcsTargetPlacementConstraintArrayOutput() EventTargetEcsTargetPlacementConstraintArrayOutput
	ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext(context.Context) EventTargetEcsTargetPlacementConstraintArrayOutput
}

EventTargetEcsTargetPlacementConstraintArrayInput is an input type that accepts EventTargetEcsTargetPlacementConstraintArray and EventTargetEcsTargetPlacementConstraintArrayOutput values. You can construct a concrete instance of `EventTargetEcsTargetPlacementConstraintArrayInput` via:

EventTargetEcsTargetPlacementConstraintArray{ EventTargetEcsTargetPlacementConstraintArgs{...} }

type EventTargetEcsTargetPlacementConstraintArrayOutput

type EventTargetEcsTargetPlacementConstraintArrayOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetPlacementConstraintArrayOutput) ElementType

func (EventTargetEcsTargetPlacementConstraintArrayOutput) Index

func (EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutput

func (o EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutput() EventTargetEcsTargetPlacementConstraintArrayOutput

func (EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext

func (o EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintArrayOutput

type EventTargetEcsTargetPlacementConstraintInput

type EventTargetEcsTargetPlacementConstraintInput interface {
	pulumi.Input

	ToEventTargetEcsTargetPlacementConstraintOutput() EventTargetEcsTargetPlacementConstraintOutput
	ToEventTargetEcsTargetPlacementConstraintOutputWithContext(context.Context) EventTargetEcsTargetPlacementConstraintOutput
}

EventTargetEcsTargetPlacementConstraintInput is an input type that accepts EventTargetEcsTargetPlacementConstraintArgs and EventTargetEcsTargetPlacementConstraintOutput values. You can construct a concrete instance of `EventTargetEcsTargetPlacementConstraintInput` via:

EventTargetEcsTargetPlacementConstraintArgs{...}

type EventTargetEcsTargetPlacementConstraintOutput

type EventTargetEcsTargetPlacementConstraintOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetPlacementConstraintOutput) ElementType

func (EventTargetEcsTargetPlacementConstraintOutput) Expression

Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).

func (EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutput

func (o EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutput() EventTargetEcsTargetPlacementConstraintOutput

func (EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutputWithContext

func (o EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintOutput

func (EventTargetEcsTargetPlacementConstraintOutput) Type

Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.

type EventTargetEcsTargetPtrInput

type EventTargetEcsTargetPtrInput interface {
	pulumi.Input

	ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput
	ToEventTargetEcsTargetPtrOutputWithContext(context.Context) EventTargetEcsTargetPtrOutput
}

EventTargetEcsTargetPtrInput is an input type that accepts EventTargetEcsTargetArgs, EventTargetEcsTargetPtr and EventTargetEcsTargetPtrOutput values. You can construct a concrete instance of `EventTargetEcsTargetPtrInput` via:

        EventTargetEcsTargetArgs{...}

or:

        nil

type EventTargetEcsTargetPtrOutput

type EventTargetEcsTargetPtrOutput struct{ *pulumi.OutputState }

func (EventTargetEcsTargetPtrOutput) CapacityProviderStrategies

The capacity provider strategy to use for the task. If a `capacityProviderStrategy` specified, the `launchType` parameter must be omitted. If no `capacityProviderStrategy` or `launchType` is specified, the default capacity provider strategy for the cluster is used. Can be one or more. See below.

func (EventTargetEcsTargetPtrOutput) Elem

func (EventTargetEcsTargetPtrOutput) ElementType

func (EventTargetEcsTargetPtrOutput) EnableEcsManagedTags

func (o EventTargetEcsTargetPtrOutput) EnableEcsManagedTags() pulumi.BoolPtrOutput

Specifies whether to enable Amazon ECS managed tags for the task.

func (EventTargetEcsTargetPtrOutput) EnableExecuteCommand

func (o EventTargetEcsTargetPtrOutput) EnableExecuteCommand() pulumi.BoolPtrOutput

Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.

func (EventTargetEcsTargetPtrOutput) Group

Specifies an ECS task group for the task. The maximum length is 255 characters.

func (EventTargetEcsTargetPtrOutput) LaunchType

Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values include: `EC2`, `EXTERNAL`, or `FARGATE`.

func (EventTargetEcsTargetPtrOutput) NetworkConfiguration

Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if `launchType` is `FARGATE` because the awsvpc mode is required for Fargate tasks.

func (EventTargetEcsTargetPtrOutput) OrderedPlacementStrategies

An array of placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.

func (EventTargetEcsTargetPtrOutput) PlacementConstraints

An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). See Below.

func (EventTargetEcsTargetPtrOutput) PlatformVersion

Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as `1.1.0`. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see [AWS Fargate Platform Versions](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).

func (EventTargetEcsTargetPtrOutput) PropagateTags

Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. The only valid value is: `TASK_DEFINITION`.

func (EventTargetEcsTargetPtrOutput) Tags

A map of tags to assign to ecs resources.

func (EventTargetEcsTargetPtrOutput) TaskCount

The number of tasks to create based on the TaskDefinition. Defaults to `1`.

func (EventTargetEcsTargetPtrOutput) TaskDefinitionArn

The ARN of the task definition to use if the event target is an Amazon ECS cluster.

func (EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutput

func (o EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput

func (EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutputWithContext

func (o EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetPtrOutput

type EventTargetHttpTarget

type EventTargetHttpTarget struct {
	// Enables you to specify HTTP headers to add to the request.
	HeaderParameters map[string]string `pulumi:"headerParameters"`
	// The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).
	PathParameterValues []string `pulumi:"pathParameterValues"`
	// Represents keys/values of query string parameters that are appended to the invoked endpoint.
	QueryStringParameters map[string]string `pulumi:"queryStringParameters"`
}

type EventTargetHttpTargetArgs

type EventTargetHttpTargetArgs struct {
	// Enables you to specify HTTP headers to add to the request.
	HeaderParameters pulumi.StringMapInput `pulumi:"headerParameters"`
	// The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).
	PathParameterValues pulumi.StringArrayInput `pulumi:"pathParameterValues"`
	// Represents keys/values of query string parameters that are appended to the invoked endpoint.
	QueryStringParameters pulumi.StringMapInput `pulumi:"queryStringParameters"`
}

func (EventTargetHttpTargetArgs) ElementType

func (EventTargetHttpTargetArgs) ElementType() reflect.Type

func (EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutput

func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutput() EventTargetHttpTargetOutput

func (EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutputWithContext

func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutputWithContext(ctx context.Context) EventTargetHttpTargetOutput

func (EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutput

func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput

func (EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutputWithContext

func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutputWithContext(ctx context.Context) EventTargetHttpTargetPtrOutput

type EventTargetHttpTargetInput

type EventTargetHttpTargetInput interface {
	pulumi.Input

	ToEventTargetHttpTargetOutput() EventTargetHttpTargetOutput
	ToEventTargetHttpTargetOutputWithContext(context.Context) EventTargetHttpTargetOutput
}

EventTargetHttpTargetInput is an input type that accepts EventTargetHttpTargetArgs and EventTargetHttpTargetOutput values. You can construct a concrete instance of `EventTargetHttpTargetInput` via:

EventTargetHttpTargetArgs{...}

type EventTargetHttpTargetOutput

type EventTargetHttpTargetOutput struct{ *pulumi.OutputState }

func (EventTargetHttpTargetOutput) ElementType

func (EventTargetHttpTargetOutput) HeaderParameters

func (o EventTargetHttpTargetOutput) HeaderParameters() pulumi.StringMapOutput

Enables you to specify HTTP headers to add to the request.

func (EventTargetHttpTargetOutput) PathParameterValues

func (o EventTargetHttpTargetOutput) PathParameterValues() pulumi.StringArrayOutput

The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).

func (EventTargetHttpTargetOutput) QueryStringParameters

func (o EventTargetHttpTargetOutput) QueryStringParameters() pulumi.StringMapOutput

Represents keys/values of query string parameters that are appended to the invoked endpoint.

func (EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutput

func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutput() EventTargetHttpTargetOutput

func (EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutputWithContext

func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutputWithContext(ctx context.Context) EventTargetHttpTargetOutput

func (EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutput

func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput

func (EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutputWithContext

func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutputWithContext(ctx context.Context) EventTargetHttpTargetPtrOutput

type EventTargetHttpTargetPtrInput

type EventTargetHttpTargetPtrInput interface {
	pulumi.Input

	ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput
	ToEventTargetHttpTargetPtrOutputWithContext(context.Context) EventTargetHttpTargetPtrOutput
}

EventTargetHttpTargetPtrInput is an input type that accepts EventTargetHttpTargetArgs, EventTargetHttpTargetPtr and EventTargetHttpTargetPtrOutput values. You can construct a concrete instance of `EventTargetHttpTargetPtrInput` via:

        EventTargetHttpTargetArgs{...}

or:

        nil

type EventTargetHttpTargetPtrOutput

type EventTargetHttpTargetPtrOutput struct{ *pulumi.OutputState }

func (EventTargetHttpTargetPtrOutput) Elem

func (EventTargetHttpTargetPtrOutput) ElementType

func (EventTargetHttpTargetPtrOutput) HeaderParameters

Enables you to specify HTTP headers to add to the request.

func (EventTargetHttpTargetPtrOutput) PathParameterValues

The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).

func (EventTargetHttpTargetPtrOutput) QueryStringParameters

func (o EventTargetHttpTargetPtrOutput) QueryStringParameters() pulumi.StringMapOutput

Represents keys/values of query string parameters that are appended to the invoked endpoint.

func (EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutput

func (o EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput

func (EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutputWithContext

func (o EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutputWithContext(ctx context.Context) EventTargetHttpTargetPtrOutput

type EventTargetInput

type EventTargetInput interface {
	pulumi.Input

	ToEventTargetOutput() EventTargetOutput
	ToEventTargetOutputWithContext(ctx context.Context) EventTargetOutput
}

type EventTargetInputTransformer

type EventTargetInputTransformer struct {
	// Key value pairs specified in the form of JSONPath (for example, time = $.time)
	// * You can have as many as 100 key-value pairs.
	// * You must use JSON dot notation, not bracket notation.
	// * The keys can't start with "AWS".
	InputPaths map[string]string `pulumi:"inputPaths"`
	// Template to customize data sent to the target. Must be valid JSON. To send a string value, the string value must include double quotes.
	InputTemplate string `pulumi:"inputTemplate"`
}

type EventTargetInputTransformerArgs

type EventTargetInputTransformerArgs struct {
	// Key value pairs specified in the form of JSONPath (for example, time = $.time)
	// * You can have as many as 100 key-value pairs.
	// * You must use JSON dot notation, not bracket notation.
	// * The keys can't start with "AWS".
	InputPaths pulumi.StringMapInput `pulumi:"inputPaths"`
	// Template to customize data sent to the target. Must be valid JSON. To send a string value, the string value must include double quotes.
	InputTemplate pulumi.StringInput `pulumi:"inputTemplate"`
}

func (EventTargetInputTransformerArgs) ElementType

func (EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutput

func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutput() EventTargetInputTransformerOutput

func (EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutputWithContext

func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutputWithContext(ctx context.Context) EventTargetInputTransformerOutput

func (EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutput

func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput

func (EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutputWithContext

func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutputWithContext(ctx context.Context) EventTargetInputTransformerPtrOutput

type EventTargetInputTransformerInput

type EventTargetInputTransformerInput interface {
	pulumi.Input

	ToEventTargetInputTransformerOutput() EventTargetInputTransformerOutput
	ToEventTargetInputTransformerOutputWithContext(context.Context) EventTargetInputTransformerOutput
}

EventTargetInputTransformerInput is an input type that accepts EventTargetInputTransformerArgs and EventTargetInputTransformerOutput values. You can construct a concrete instance of `EventTargetInputTransformerInput` via:

EventTargetInputTransformerArgs{...}

type EventTargetInputTransformerOutput

type EventTargetInputTransformerOutput struct{ *pulumi.OutputState }

func (EventTargetInputTransformerOutput) ElementType

func (EventTargetInputTransformerOutput) InputPaths

Key value pairs specified in the form of JSONPath (for example, time = $.time) * You can have as many as 100 key-value pairs. * You must use JSON dot notation, not bracket notation. * The keys can't start with "AWS".

func (EventTargetInputTransformerOutput) InputTemplate

Template to customize data sent to the target. Must be valid JSON. To send a string value, the string value must include double quotes.

func (EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutput

func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutput() EventTargetInputTransformerOutput

func (EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutputWithContext

func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutputWithContext(ctx context.Context) EventTargetInputTransformerOutput

func (EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutput

func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput

func (EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutputWithContext

func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutputWithContext(ctx context.Context) EventTargetInputTransformerPtrOutput

type EventTargetInputTransformerPtrInput

type EventTargetInputTransformerPtrInput interface {
	pulumi.Input

	ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput
	ToEventTargetInputTransformerPtrOutputWithContext(context.Context) EventTargetInputTransformerPtrOutput
}

EventTargetInputTransformerPtrInput is an input type that accepts EventTargetInputTransformerArgs, EventTargetInputTransformerPtr and EventTargetInputTransformerPtrOutput values. You can construct a concrete instance of `EventTargetInputTransformerPtrInput` via:

        EventTargetInputTransformerArgs{...}

or:

        nil

type EventTargetInputTransformerPtrOutput

type EventTargetInputTransformerPtrOutput struct{ *pulumi.OutputState }

func (EventTargetInputTransformerPtrOutput) Elem

func (EventTargetInputTransformerPtrOutput) ElementType

func (EventTargetInputTransformerPtrOutput) InputPaths

Key value pairs specified in the form of JSONPath (for example, time = $.time) * You can have as many as 100 key-value pairs. * You must use JSON dot notation, not bracket notation. * The keys can't start with "AWS".

func (EventTargetInputTransformerPtrOutput) InputTemplate

Template to customize data sent to the target. Must be valid JSON. To send a string value, the string value must include double quotes.

func (EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutput

func (o EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput

func (EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutputWithContext

func (o EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutputWithContext(ctx context.Context) EventTargetInputTransformerPtrOutput

type EventTargetKinesisTarget

type EventTargetKinesisTarget struct {
	// The JSON path to be extracted from the event and used as the partition key.
	PartitionKeyPath *string `pulumi:"partitionKeyPath"`
}

type EventTargetKinesisTargetArgs

type EventTargetKinesisTargetArgs struct {
	// The JSON path to be extracted from the event and used as the partition key.
	PartitionKeyPath pulumi.StringPtrInput `pulumi:"partitionKeyPath"`
}

func (EventTargetKinesisTargetArgs) ElementType

func (EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutput

func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutput() EventTargetKinesisTargetOutput

func (EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutputWithContext

func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutputWithContext(ctx context.Context) EventTargetKinesisTargetOutput

func (EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutput

func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput

func (EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutputWithContext

func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutputWithContext(ctx context.Context) EventTargetKinesisTargetPtrOutput

type EventTargetKinesisTargetInput

type EventTargetKinesisTargetInput interface {
	pulumi.Input

	ToEventTargetKinesisTargetOutput() EventTargetKinesisTargetOutput
	ToEventTargetKinesisTargetOutputWithContext(context.Context) EventTargetKinesisTargetOutput
}

EventTargetKinesisTargetInput is an input type that accepts EventTargetKinesisTargetArgs and EventTargetKinesisTargetOutput values. You can construct a concrete instance of `EventTargetKinesisTargetInput` via:

EventTargetKinesisTargetArgs{...}

type EventTargetKinesisTargetOutput

type EventTargetKinesisTargetOutput struct{ *pulumi.OutputState }

func (EventTargetKinesisTargetOutput) ElementType

func (EventTargetKinesisTargetOutput) PartitionKeyPath

The JSON path to be extracted from the event and used as the partition key.

func (EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutput

func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutput() EventTargetKinesisTargetOutput

func (EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutputWithContext

func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutputWithContext(ctx context.Context) EventTargetKinesisTargetOutput

func (EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutput

func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput

func (EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutputWithContext

func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutputWithContext(ctx context.Context) EventTargetKinesisTargetPtrOutput

type EventTargetKinesisTargetPtrInput

type EventTargetKinesisTargetPtrInput interface {
	pulumi.Input

	ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput
	ToEventTargetKinesisTargetPtrOutputWithContext(context.Context) EventTargetKinesisTargetPtrOutput
}

EventTargetKinesisTargetPtrInput is an input type that accepts EventTargetKinesisTargetArgs, EventTargetKinesisTargetPtr and EventTargetKinesisTargetPtrOutput values. You can construct a concrete instance of `EventTargetKinesisTargetPtrInput` via:

        EventTargetKinesisTargetArgs{...}

or:

        nil

type EventTargetKinesisTargetPtrOutput

type EventTargetKinesisTargetPtrOutput struct{ *pulumi.OutputState }

func (EventTargetKinesisTargetPtrOutput) Elem

func (EventTargetKinesisTargetPtrOutput) ElementType

func (EventTargetKinesisTargetPtrOutput) PartitionKeyPath

The JSON path to be extracted from the event and used as the partition key.

func (EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutput

func (o EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput

func (EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutputWithContext

func (o EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutputWithContext(ctx context.Context) EventTargetKinesisTargetPtrOutput

type EventTargetMap

type EventTargetMap map[string]EventTargetInput

func (EventTargetMap) ElementType

func (EventTargetMap) ElementType() reflect.Type

func (EventTargetMap) ToEventTargetMapOutput

func (i EventTargetMap) ToEventTargetMapOutput() EventTargetMapOutput

func (EventTargetMap) ToEventTargetMapOutputWithContext

func (i EventTargetMap) ToEventTargetMapOutputWithContext(ctx context.Context) EventTargetMapOutput

type EventTargetMapInput

type EventTargetMapInput interface {
	pulumi.Input

	ToEventTargetMapOutput() EventTargetMapOutput
	ToEventTargetMapOutputWithContext(context.Context) EventTargetMapOutput
}

EventTargetMapInput is an input type that accepts EventTargetMap and EventTargetMapOutput values. You can construct a concrete instance of `EventTargetMapInput` via:

EventTargetMap{ "key": EventTargetArgs{...} }

type EventTargetMapOutput

type EventTargetMapOutput struct{ *pulumi.OutputState }

func (EventTargetMapOutput) ElementType

func (EventTargetMapOutput) ElementType() reflect.Type

func (EventTargetMapOutput) MapIndex

func (EventTargetMapOutput) ToEventTargetMapOutput

func (o EventTargetMapOutput) ToEventTargetMapOutput() EventTargetMapOutput

func (EventTargetMapOutput) ToEventTargetMapOutputWithContext

func (o EventTargetMapOutput) ToEventTargetMapOutputWithContext(ctx context.Context) EventTargetMapOutput

type EventTargetOutput

type EventTargetOutput struct{ *pulumi.OutputState }

func (EventTargetOutput) AppsyncTarget added in v6.57.0

Parameters used when you are using the rule to invoke an AppSync GraphQL API mutation. Documented below. A maximum of 1 are allowed.

func (EventTargetOutput) Arn

The Amazon Resource Name (ARN) of the target.

func (EventTargetOutput) BatchTarget

Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed.

func (EventTargetOutput) DeadLetterConfig

Parameters used when you are providing a dead letter config. Documented below. A maximum of 1 are allowed.

func (EventTargetOutput) EcsTarget

Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.

func (EventTargetOutput) ElementType

func (EventTargetOutput) ElementType() reflect.Type

func (EventTargetOutput) EventBusName

func (o EventTargetOutput) EventBusName() pulumi.StringPtrOutput

The name or ARN of the event bus to associate with the rule. If you omit this, the `default` event bus is used.

func (EventTargetOutput) ForceDestroy added in v6.34.0

func (o EventTargetOutput) ForceDestroy() pulumi.BoolPtrOutput

Used to delete managed rules created by AWS. Defaults to `false`.

func (EventTargetOutput) HttpTarget

Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of 1 is allowed.

func (EventTargetOutput) Input

Valid JSON text passed to the target. Conflicts with `inputPath` and `inputTransformer`.

func (EventTargetOutput) InputPath

The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `inputTransformer`.

func (EventTargetOutput) InputTransformer

Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `inputPath`.

func (EventTargetOutput) KinesisTarget

Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed.

func (EventTargetOutput) RedshiftTarget

Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Documented below. A maximum of 1 are allowed.

func (EventTargetOutput) RetryPolicy

Parameters used when you are providing retry policies. Documented below. A maximum of 1 are allowed.

func (EventTargetOutput) RoleArn

The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecsTarget` is used or target in `arn` is EC2 instance, Kinesis data stream, Step Functions state machine, or Event Bus in different account or region.

func (EventTargetOutput) Rule

The name of the rule you want to add targets to.

The following arguments are optional:

func (EventTargetOutput) RunCommandTargets

Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed.

func (EventTargetOutput) SagemakerPipelineTarget added in v6.1.0

Parameters used when you are using the rule to invoke an Amazon SageMaker Pipeline. Documented below. A maximum of 1 are allowed.

func (EventTargetOutput) SqsTarget

Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed.

func (EventTargetOutput) TargetId

func (o EventTargetOutput) TargetId() pulumi.StringOutput

The unique target assignment ID. If missing, will generate a random, unique id.

func (EventTargetOutput) ToEventTargetOutput

func (o EventTargetOutput) ToEventTargetOutput() EventTargetOutput

func (EventTargetOutput) ToEventTargetOutputWithContext

func (o EventTargetOutput) ToEventTargetOutputWithContext(ctx context.Context) EventTargetOutput

type EventTargetRedshiftTarget

type EventTargetRedshiftTarget struct {
	// The name of the database.
	Database string `pulumi:"database"`
	// The database user name.
	DbUser *string `pulumi:"dbUser"`
	// The name or ARN of the secret that enables access to the database.
	SecretsManagerArn *string `pulumi:"secretsManagerArn"`
	// The SQL statement text to run.
	Sql *string `pulumi:"sql"`
	// The name of the SQL statement.
	StatementName *string `pulumi:"statementName"`
	// Indicates whether to send an event back to EventBridge after the SQL statement runs.
	WithEvent *bool `pulumi:"withEvent"`
}

type EventTargetRedshiftTargetArgs

type EventTargetRedshiftTargetArgs struct {
	// The name of the database.
	Database pulumi.StringInput `pulumi:"database"`
	// The database user name.
	DbUser pulumi.StringPtrInput `pulumi:"dbUser"`
	// The name or ARN of the secret that enables access to the database.
	SecretsManagerArn pulumi.StringPtrInput `pulumi:"secretsManagerArn"`
	// The SQL statement text to run.
	Sql pulumi.StringPtrInput `pulumi:"sql"`
	// The name of the SQL statement.
	StatementName pulumi.StringPtrInput `pulumi:"statementName"`
	// Indicates whether to send an event back to EventBridge after the SQL statement runs.
	WithEvent pulumi.BoolPtrInput `pulumi:"withEvent"`
}

func (EventTargetRedshiftTargetArgs) ElementType

func (EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutput

func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutput() EventTargetRedshiftTargetOutput

func (EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutputWithContext

func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutputWithContext(ctx context.Context) EventTargetRedshiftTargetOutput

func (EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutput

func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput

func (EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutputWithContext

func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutputWithContext(ctx context.Context) EventTargetRedshiftTargetPtrOutput

type EventTargetRedshiftTargetInput

type EventTargetRedshiftTargetInput interface {
	pulumi.Input

	ToEventTargetRedshiftTargetOutput() EventTargetRedshiftTargetOutput
	ToEventTargetRedshiftTargetOutputWithContext(context.Context) EventTargetRedshiftTargetOutput
}

EventTargetRedshiftTargetInput is an input type that accepts EventTargetRedshiftTargetArgs and EventTargetRedshiftTargetOutput values. You can construct a concrete instance of `EventTargetRedshiftTargetInput` via:

EventTargetRedshiftTargetArgs{...}

type EventTargetRedshiftTargetOutput

type EventTargetRedshiftTargetOutput struct{ *pulumi.OutputState }

func (EventTargetRedshiftTargetOutput) Database

The name of the database.

func (EventTargetRedshiftTargetOutput) DbUser

The database user name.

func (EventTargetRedshiftTargetOutput) ElementType

func (EventTargetRedshiftTargetOutput) SecretsManagerArn

The name or ARN of the secret that enables access to the database.

func (EventTargetRedshiftTargetOutput) Sql

The SQL statement text to run.

func (EventTargetRedshiftTargetOutput) StatementName

The name of the SQL statement.

func (EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutput

func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutput() EventTargetRedshiftTargetOutput

func (EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutputWithContext

func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutputWithContext(ctx context.Context) EventTargetRedshiftTargetOutput

func (EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutput

func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput

func (EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutputWithContext

func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutputWithContext(ctx context.Context) EventTargetRedshiftTargetPtrOutput

func (EventTargetRedshiftTargetOutput) WithEvent

Indicates whether to send an event back to EventBridge after the SQL statement runs.

type EventTargetRedshiftTargetPtrInput

type EventTargetRedshiftTargetPtrInput interface {
	pulumi.Input

	ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput
	ToEventTargetRedshiftTargetPtrOutputWithContext(context.Context) EventTargetRedshiftTargetPtrOutput
}

EventTargetRedshiftTargetPtrInput is an input type that accepts EventTargetRedshiftTargetArgs, EventTargetRedshiftTargetPtr and EventTargetRedshiftTargetPtrOutput values. You can construct a concrete instance of `EventTargetRedshiftTargetPtrInput` via:

        EventTargetRedshiftTargetArgs{...}

or:

        nil

type EventTargetRedshiftTargetPtrOutput

type EventTargetRedshiftTargetPtrOutput struct{ *pulumi.OutputState }

func (EventTargetRedshiftTargetPtrOutput) Database

The name of the database.

func (EventTargetRedshiftTargetPtrOutput) DbUser

The database user name.

func (EventTargetRedshiftTargetPtrOutput) Elem

func (EventTargetRedshiftTargetPtrOutput) ElementType

func (EventTargetRedshiftTargetPtrOutput) SecretsManagerArn

The name or ARN of the secret that enables access to the database.

func (EventTargetRedshiftTargetPtrOutput) Sql

The SQL statement text to run.

func (EventTargetRedshiftTargetPtrOutput) StatementName

The name of the SQL statement.

func (EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutput

func (o EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput

func (EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutputWithContext

func (o EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutputWithContext(ctx context.Context) EventTargetRedshiftTargetPtrOutput

func (EventTargetRedshiftTargetPtrOutput) WithEvent

Indicates whether to send an event back to EventBridge after the SQL statement runs.

type EventTargetRetryPolicy

type EventTargetRetryPolicy struct {
	// The age in seconds to continue to make retry attempts.
	MaximumEventAgeInSeconds *int `pulumi:"maximumEventAgeInSeconds"`
	// maximum number of retry attempts to make before the request fails
	MaximumRetryAttempts *int `pulumi:"maximumRetryAttempts"`
}

type EventTargetRetryPolicyArgs

type EventTargetRetryPolicyArgs struct {
	// The age in seconds to continue to make retry attempts.
	MaximumEventAgeInSeconds pulumi.IntPtrInput `pulumi:"maximumEventAgeInSeconds"`
	// maximum number of retry attempts to make before the request fails
	MaximumRetryAttempts pulumi.IntPtrInput `pulumi:"maximumRetryAttempts"`
}

func (EventTargetRetryPolicyArgs) ElementType

func (EventTargetRetryPolicyArgs) ElementType() reflect.Type

func (EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutput

func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutput() EventTargetRetryPolicyOutput

func (EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutputWithContext

func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutputWithContext(ctx context.Context) EventTargetRetryPolicyOutput

func (EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutput

func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput

func (EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutputWithContext

func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutputWithContext(ctx context.Context) EventTargetRetryPolicyPtrOutput

type EventTargetRetryPolicyInput

type EventTargetRetryPolicyInput interface {
	pulumi.Input

	ToEventTargetRetryPolicyOutput() EventTargetRetryPolicyOutput
	ToEventTargetRetryPolicyOutputWithContext(context.Context) EventTargetRetryPolicyOutput
}

EventTargetRetryPolicyInput is an input type that accepts EventTargetRetryPolicyArgs and EventTargetRetryPolicyOutput values. You can construct a concrete instance of `EventTargetRetryPolicyInput` via:

EventTargetRetryPolicyArgs{...}

type EventTargetRetryPolicyOutput

type EventTargetRetryPolicyOutput struct{ *pulumi.OutputState }

func (EventTargetRetryPolicyOutput) ElementType

func (EventTargetRetryPolicyOutput) MaximumEventAgeInSeconds

func (o EventTargetRetryPolicyOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput

The age in seconds to continue to make retry attempts.

func (EventTargetRetryPolicyOutput) MaximumRetryAttempts

func (o EventTargetRetryPolicyOutput) MaximumRetryAttempts() pulumi.IntPtrOutput

maximum number of retry attempts to make before the request fails

func (EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutput

func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutput() EventTargetRetryPolicyOutput

func (EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutputWithContext

func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutputWithContext(ctx context.Context) EventTargetRetryPolicyOutput

func (EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutput

func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput

func (EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutputWithContext

func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutputWithContext(ctx context.Context) EventTargetRetryPolicyPtrOutput

type EventTargetRetryPolicyPtrInput

type EventTargetRetryPolicyPtrInput interface {
	pulumi.Input

	ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput
	ToEventTargetRetryPolicyPtrOutputWithContext(context.Context) EventTargetRetryPolicyPtrOutput
}

EventTargetRetryPolicyPtrInput is an input type that accepts EventTargetRetryPolicyArgs, EventTargetRetryPolicyPtr and EventTargetRetryPolicyPtrOutput values. You can construct a concrete instance of `EventTargetRetryPolicyPtrInput` via:

        EventTargetRetryPolicyArgs{...}

or:

        nil

type EventTargetRetryPolicyPtrOutput

type EventTargetRetryPolicyPtrOutput struct{ *pulumi.OutputState }

func (EventTargetRetryPolicyPtrOutput) Elem

func (EventTargetRetryPolicyPtrOutput) ElementType

func (EventTargetRetryPolicyPtrOutput) MaximumEventAgeInSeconds

func (o EventTargetRetryPolicyPtrOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput

The age in seconds to continue to make retry attempts.

func (EventTargetRetryPolicyPtrOutput) MaximumRetryAttempts

func (o EventTargetRetryPolicyPtrOutput) MaximumRetryAttempts() pulumi.IntPtrOutput

maximum number of retry attempts to make before the request fails

func (EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutput

func (o EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput

func (EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutputWithContext

func (o EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutputWithContext(ctx context.Context) EventTargetRetryPolicyPtrOutput

type EventTargetRunCommandTarget

type EventTargetRunCommandTarget struct {
	// Can be either `tag:tag-key` or `InstanceIds`.
	Key string `pulumi:"key"`
	// If Key is `tag:tag-key`, Values is a list of tag values. If Key is `InstanceIds`, Values is a list of Amazon EC2 instance IDs.
	Values []string `pulumi:"values"`
}

type EventTargetRunCommandTargetArgs

type EventTargetRunCommandTargetArgs struct {
	// Can be either `tag:tag-key` or `InstanceIds`.
	Key pulumi.StringInput `pulumi:"key"`
	// If Key is `tag:tag-key`, Values is a list of tag values. If Key is `InstanceIds`, Values is a list of Amazon EC2 instance IDs.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (EventTargetRunCommandTargetArgs) ElementType

func (EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutput

func (i EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutput() EventTargetRunCommandTargetOutput

func (EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutputWithContext

func (i EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutputWithContext(ctx context.Context) EventTargetRunCommandTargetOutput

type EventTargetRunCommandTargetArray

type EventTargetRunCommandTargetArray []EventTargetRunCommandTargetInput

func (EventTargetRunCommandTargetArray) ElementType

func (EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutput

func (i EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutput() EventTargetRunCommandTargetArrayOutput

func (EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutputWithContext

func (i EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutputWithContext(ctx context.Context) EventTargetRunCommandTargetArrayOutput

type EventTargetRunCommandTargetArrayInput

type EventTargetRunCommandTargetArrayInput interface {
	pulumi.Input

	ToEventTargetRunCommandTargetArrayOutput() EventTargetRunCommandTargetArrayOutput
	ToEventTargetRunCommandTargetArrayOutputWithContext(context.Context) EventTargetRunCommandTargetArrayOutput
}

EventTargetRunCommandTargetArrayInput is an input type that accepts EventTargetRunCommandTargetArray and EventTargetRunCommandTargetArrayOutput values. You can construct a concrete instance of `EventTargetRunCommandTargetArrayInput` via:

EventTargetRunCommandTargetArray{ EventTargetRunCommandTargetArgs{...} }

type EventTargetRunCommandTargetArrayOutput

type EventTargetRunCommandTargetArrayOutput struct{ *pulumi.OutputState }

func (EventTargetRunCommandTargetArrayOutput) ElementType

func (EventTargetRunCommandTargetArrayOutput) Index

func (EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutput

func (o EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutput() EventTargetRunCommandTargetArrayOutput

func (EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutputWithContext

func (o EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutputWithContext(ctx context.Context) EventTargetRunCommandTargetArrayOutput

type EventTargetRunCommandTargetInput

type EventTargetRunCommandTargetInput interface {
	pulumi.Input

	ToEventTargetRunCommandTargetOutput() EventTargetRunCommandTargetOutput
	ToEventTargetRunCommandTargetOutputWithContext(context.Context) EventTargetRunCommandTargetOutput
}

EventTargetRunCommandTargetInput is an input type that accepts EventTargetRunCommandTargetArgs and EventTargetRunCommandTargetOutput values. You can construct a concrete instance of `EventTargetRunCommandTargetInput` via:

EventTargetRunCommandTargetArgs{...}

type EventTargetRunCommandTargetOutput

type EventTargetRunCommandTargetOutput struct{ *pulumi.OutputState }

func (EventTargetRunCommandTargetOutput) ElementType

func (EventTargetRunCommandTargetOutput) Key

Can be either `tag:tag-key` or `InstanceIds`.

func (EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutput

func (o EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutput() EventTargetRunCommandTargetOutput

func (EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutputWithContext

func (o EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutputWithContext(ctx context.Context) EventTargetRunCommandTargetOutput

func (EventTargetRunCommandTargetOutput) Values

If Key is `tag:tag-key`, Values is a list of tag values. If Key is `InstanceIds`, Values is a list of Amazon EC2 instance IDs.

type EventTargetSagemakerPipelineTarget added in v6.1.0

type EventTargetSagemakerPipelineTarget struct {
	// List of Parameter names and values for SageMaker Model Building Pipeline execution.
	PipelineParameterLists []EventTargetSagemakerPipelineTargetPipelineParameterList `pulumi:"pipelineParameterLists"`
}

type EventTargetSagemakerPipelineTargetArgs added in v6.1.0

type EventTargetSagemakerPipelineTargetArgs struct {
	// List of Parameter names and values for SageMaker Model Building Pipeline execution.
	PipelineParameterLists EventTargetSagemakerPipelineTargetPipelineParameterListArrayInput `pulumi:"pipelineParameterLists"`
}

func (EventTargetSagemakerPipelineTargetArgs) ElementType added in v6.1.0

func (EventTargetSagemakerPipelineTargetArgs) ToEventTargetSagemakerPipelineTargetOutput added in v6.1.0

func (i EventTargetSagemakerPipelineTargetArgs) ToEventTargetSagemakerPipelineTargetOutput() EventTargetSagemakerPipelineTargetOutput

func (EventTargetSagemakerPipelineTargetArgs) ToEventTargetSagemakerPipelineTargetOutputWithContext added in v6.1.0

func (i EventTargetSagemakerPipelineTargetArgs) ToEventTargetSagemakerPipelineTargetOutputWithContext(ctx context.Context) EventTargetSagemakerPipelineTargetOutput

func (EventTargetSagemakerPipelineTargetArgs) ToEventTargetSagemakerPipelineTargetPtrOutput added in v6.1.0

func (i EventTargetSagemakerPipelineTargetArgs) ToEventTargetSagemakerPipelineTargetPtrOutput() EventTargetSagemakerPipelineTargetPtrOutput

func (EventTargetSagemakerPipelineTargetArgs) ToEventTargetSagemakerPipelineTargetPtrOutputWithContext added in v6.1.0

func (i EventTargetSagemakerPipelineTargetArgs) ToEventTargetSagemakerPipelineTargetPtrOutputWithContext(ctx context.Context) EventTargetSagemakerPipelineTargetPtrOutput

type EventTargetSagemakerPipelineTargetInput added in v6.1.0

type EventTargetSagemakerPipelineTargetInput interface {
	pulumi.Input

	ToEventTargetSagemakerPipelineTargetOutput() EventTargetSagemakerPipelineTargetOutput
	ToEventTargetSagemakerPipelineTargetOutputWithContext(context.Context) EventTargetSagemakerPipelineTargetOutput
}

EventTargetSagemakerPipelineTargetInput is an input type that accepts EventTargetSagemakerPipelineTargetArgs and EventTargetSagemakerPipelineTargetOutput values. You can construct a concrete instance of `EventTargetSagemakerPipelineTargetInput` via:

EventTargetSagemakerPipelineTargetArgs{...}

type EventTargetSagemakerPipelineTargetOutput added in v6.1.0

type EventTargetSagemakerPipelineTargetOutput struct{ *pulumi.OutputState }

func (EventTargetSagemakerPipelineTargetOutput) ElementType added in v6.1.0

func (EventTargetSagemakerPipelineTargetOutput) PipelineParameterLists added in v6.1.0

List of Parameter names and values for SageMaker Model Building Pipeline execution.

func (EventTargetSagemakerPipelineTargetOutput) ToEventTargetSagemakerPipelineTargetOutput added in v6.1.0

func (o EventTargetSagemakerPipelineTargetOutput) ToEventTargetSagemakerPipelineTargetOutput() EventTargetSagemakerPipelineTargetOutput

func (EventTargetSagemakerPipelineTargetOutput) ToEventTargetSagemakerPipelineTargetOutputWithContext added in v6.1.0

func (o EventTargetSagemakerPipelineTargetOutput) ToEventTargetSagemakerPipelineTargetOutputWithContext(ctx context.Context) EventTargetSagemakerPipelineTargetOutput

func (EventTargetSagemakerPipelineTargetOutput) ToEventTargetSagemakerPipelineTargetPtrOutput added in v6.1.0

func (o EventTargetSagemakerPipelineTargetOutput) ToEventTargetSagemakerPipelineTargetPtrOutput() EventTargetSagemakerPipelineTargetPtrOutput

func (EventTargetSagemakerPipelineTargetOutput) ToEventTargetSagemakerPipelineTargetPtrOutputWithContext added in v6.1.0

func (o EventTargetSagemakerPipelineTargetOutput) ToEventTargetSagemakerPipelineTargetPtrOutputWithContext(ctx context.Context) EventTargetSagemakerPipelineTargetPtrOutput

type EventTargetSagemakerPipelineTargetPipelineParameterList added in v6.1.0

type EventTargetSagemakerPipelineTargetPipelineParameterList struct {
	// Name of parameter to start execution of a SageMaker Model Building Pipeline.
	Name string `pulumi:"name"`
	// Value of parameter to start execution of a SageMaker Model Building Pipeline.
	Value string `pulumi:"value"`
}

type EventTargetSagemakerPipelineTargetPipelineParameterListArgs added in v6.1.0

type EventTargetSagemakerPipelineTargetPipelineParameterListArgs struct {
	// Name of parameter to start execution of a SageMaker Model Building Pipeline.
	Name pulumi.StringInput `pulumi:"name"`
	// Value of parameter to start execution of a SageMaker Model Building Pipeline.
	Value pulumi.StringInput `pulumi:"value"`
}

func (EventTargetSagemakerPipelineTargetPipelineParameterListArgs) ElementType added in v6.1.0

func (EventTargetSagemakerPipelineTargetPipelineParameterListArgs) ToEventTargetSagemakerPipelineTargetPipelineParameterListOutput added in v6.1.0

func (EventTargetSagemakerPipelineTargetPipelineParameterListArgs) ToEventTargetSagemakerPipelineTargetPipelineParameterListOutputWithContext added in v6.1.0

func (i EventTargetSagemakerPipelineTargetPipelineParameterListArgs) ToEventTargetSagemakerPipelineTargetPipelineParameterListOutputWithContext(ctx context.Context) EventTargetSagemakerPipelineTargetPipelineParameterListOutput

type EventTargetSagemakerPipelineTargetPipelineParameterListArray added in v6.1.0

type EventTargetSagemakerPipelineTargetPipelineParameterListArray []EventTargetSagemakerPipelineTargetPipelineParameterListInput

func (EventTargetSagemakerPipelineTargetPipelineParameterListArray) ElementType added in v6.1.0

func (EventTargetSagemakerPipelineTargetPipelineParameterListArray) ToEventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput added in v6.1.0

func (EventTargetSagemakerPipelineTargetPipelineParameterListArray) ToEventTargetSagemakerPipelineTargetPipelineParameterListArrayOutputWithContext added in v6.1.0

func (i EventTargetSagemakerPipelineTargetPipelineParameterListArray) ToEventTargetSagemakerPipelineTargetPipelineParameterListArrayOutputWithContext(ctx context.Context) EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput

type EventTargetSagemakerPipelineTargetPipelineParameterListArrayInput added in v6.1.0

type EventTargetSagemakerPipelineTargetPipelineParameterListArrayInput interface {
	pulumi.Input

	ToEventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput() EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput
	ToEventTargetSagemakerPipelineTargetPipelineParameterListArrayOutputWithContext(context.Context) EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput
}

EventTargetSagemakerPipelineTargetPipelineParameterListArrayInput is an input type that accepts EventTargetSagemakerPipelineTargetPipelineParameterListArray and EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput values. You can construct a concrete instance of `EventTargetSagemakerPipelineTargetPipelineParameterListArrayInput` via:

EventTargetSagemakerPipelineTargetPipelineParameterListArray{ EventTargetSagemakerPipelineTargetPipelineParameterListArgs{...} }

type EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput added in v6.1.0

type EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput struct{ *pulumi.OutputState }

func (EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput) ElementType added in v6.1.0

func (EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput) Index added in v6.1.0

func (EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput) ToEventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput added in v6.1.0

func (EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput) ToEventTargetSagemakerPipelineTargetPipelineParameterListArrayOutputWithContext added in v6.1.0

func (o EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput) ToEventTargetSagemakerPipelineTargetPipelineParameterListArrayOutputWithContext(ctx context.Context) EventTargetSagemakerPipelineTargetPipelineParameterListArrayOutput

type EventTargetSagemakerPipelineTargetPipelineParameterListInput added in v6.1.0

type EventTargetSagemakerPipelineTargetPipelineParameterListInput interface {
	pulumi.Input

	ToEventTargetSagemakerPipelineTargetPipelineParameterListOutput() EventTargetSagemakerPipelineTargetPipelineParameterListOutput
	ToEventTargetSagemakerPipelineTargetPipelineParameterListOutputWithContext(context.Context) EventTargetSagemakerPipelineTargetPipelineParameterListOutput
}

EventTargetSagemakerPipelineTargetPipelineParameterListInput is an input type that accepts EventTargetSagemakerPipelineTargetPipelineParameterListArgs and EventTargetSagemakerPipelineTargetPipelineParameterListOutput values. You can construct a concrete instance of `EventTargetSagemakerPipelineTargetPipelineParameterListInput` via:

EventTargetSagemakerPipelineTargetPipelineParameterListArgs{...}

type EventTargetSagemakerPipelineTargetPipelineParameterListOutput added in v6.1.0

type EventTargetSagemakerPipelineTargetPipelineParameterListOutput struct{ *pulumi.OutputState }

func (EventTargetSagemakerPipelineTargetPipelineParameterListOutput) ElementType added in v6.1.0

func (EventTargetSagemakerPipelineTargetPipelineParameterListOutput) Name added in v6.1.0

Name of parameter to start execution of a SageMaker Model Building Pipeline.

func (EventTargetSagemakerPipelineTargetPipelineParameterListOutput) ToEventTargetSagemakerPipelineTargetPipelineParameterListOutput added in v6.1.0

func (EventTargetSagemakerPipelineTargetPipelineParameterListOutput) ToEventTargetSagemakerPipelineTargetPipelineParameterListOutputWithContext added in v6.1.0

func (o EventTargetSagemakerPipelineTargetPipelineParameterListOutput) ToEventTargetSagemakerPipelineTargetPipelineParameterListOutputWithContext(ctx context.Context) EventTargetSagemakerPipelineTargetPipelineParameterListOutput

func (EventTargetSagemakerPipelineTargetPipelineParameterListOutput) Value added in v6.1.0

Value of parameter to start execution of a SageMaker Model Building Pipeline.

type EventTargetSagemakerPipelineTargetPtrInput added in v6.1.0

type EventTargetSagemakerPipelineTargetPtrInput interface {
	pulumi.Input

	ToEventTargetSagemakerPipelineTargetPtrOutput() EventTargetSagemakerPipelineTargetPtrOutput
	ToEventTargetSagemakerPipelineTargetPtrOutputWithContext(context.Context) EventTargetSagemakerPipelineTargetPtrOutput
}

EventTargetSagemakerPipelineTargetPtrInput is an input type that accepts EventTargetSagemakerPipelineTargetArgs, EventTargetSagemakerPipelineTargetPtr and EventTargetSagemakerPipelineTargetPtrOutput values. You can construct a concrete instance of `EventTargetSagemakerPipelineTargetPtrInput` via:

        EventTargetSagemakerPipelineTargetArgs{...}

or:

        nil

type EventTargetSagemakerPipelineTargetPtrOutput added in v6.1.0

type EventTargetSagemakerPipelineTargetPtrOutput struct{ *pulumi.OutputState }

func (EventTargetSagemakerPipelineTargetPtrOutput) Elem added in v6.1.0

func (EventTargetSagemakerPipelineTargetPtrOutput) ElementType added in v6.1.0

func (EventTargetSagemakerPipelineTargetPtrOutput) PipelineParameterLists added in v6.1.0

List of Parameter names and values for SageMaker Model Building Pipeline execution.

func (EventTargetSagemakerPipelineTargetPtrOutput) ToEventTargetSagemakerPipelineTargetPtrOutput added in v6.1.0

func (o EventTargetSagemakerPipelineTargetPtrOutput) ToEventTargetSagemakerPipelineTargetPtrOutput() EventTargetSagemakerPipelineTargetPtrOutput

func (EventTargetSagemakerPipelineTargetPtrOutput) ToEventTargetSagemakerPipelineTargetPtrOutputWithContext added in v6.1.0

func (o EventTargetSagemakerPipelineTargetPtrOutput) ToEventTargetSagemakerPipelineTargetPtrOutputWithContext(ctx context.Context) EventTargetSagemakerPipelineTargetPtrOutput

type EventTargetSqsTarget

type EventTargetSqsTarget struct {
	// The FIFO message group ID to use as the target.
	MessageGroupId *string `pulumi:"messageGroupId"`
}

type EventTargetSqsTargetArgs

type EventTargetSqsTargetArgs struct {
	// The FIFO message group ID to use as the target.
	MessageGroupId pulumi.StringPtrInput `pulumi:"messageGroupId"`
}

func (EventTargetSqsTargetArgs) ElementType

func (EventTargetSqsTargetArgs) ElementType() reflect.Type

func (EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutput

func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutput() EventTargetSqsTargetOutput

func (EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutputWithContext

func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutputWithContext(ctx context.Context) EventTargetSqsTargetOutput

func (EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutput

func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput

func (EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutputWithContext

func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutputWithContext(ctx context.Context) EventTargetSqsTargetPtrOutput

type EventTargetSqsTargetInput

type EventTargetSqsTargetInput interface {
	pulumi.Input

	ToEventTargetSqsTargetOutput() EventTargetSqsTargetOutput
	ToEventTargetSqsTargetOutputWithContext(context.Context) EventTargetSqsTargetOutput
}

EventTargetSqsTargetInput is an input type that accepts EventTargetSqsTargetArgs and EventTargetSqsTargetOutput values. You can construct a concrete instance of `EventTargetSqsTargetInput` via:

EventTargetSqsTargetArgs{...}

type EventTargetSqsTargetOutput

type EventTargetSqsTargetOutput struct{ *pulumi.OutputState }

func (EventTargetSqsTargetOutput) ElementType

func (EventTargetSqsTargetOutput) ElementType() reflect.Type

func (EventTargetSqsTargetOutput) MessageGroupId

The FIFO message group ID to use as the target.

func (EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutput

func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutput() EventTargetSqsTargetOutput

func (EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutputWithContext

func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutputWithContext(ctx context.Context) EventTargetSqsTargetOutput

func (EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutput

func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput

func (EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutputWithContext

func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutputWithContext(ctx context.Context) EventTargetSqsTargetPtrOutput

type EventTargetSqsTargetPtrInput

type EventTargetSqsTargetPtrInput interface {
	pulumi.Input

	ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput
	ToEventTargetSqsTargetPtrOutputWithContext(context.Context) EventTargetSqsTargetPtrOutput
}

EventTargetSqsTargetPtrInput is an input type that accepts EventTargetSqsTargetArgs, EventTargetSqsTargetPtr and EventTargetSqsTargetPtrOutput values. You can construct a concrete instance of `EventTargetSqsTargetPtrInput` via:

        EventTargetSqsTargetArgs{...}

or:

        nil

type EventTargetSqsTargetPtrOutput

type EventTargetSqsTargetPtrOutput struct{ *pulumi.OutputState }

func (EventTargetSqsTargetPtrOutput) Elem

func (EventTargetSqsTargetPtrOutput) ElementType

func (EventTargetSqsTargetPtrOutput) MessageGroupId

The FIFO message group ID to use as the target.

func (EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutput

func (o EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput

func (EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutputWithContext

func (o EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutputWithContext(ctx context.Context) EventTargetSqsTargetPtrOutput

type EventTargetState

type EventTargetState struct {
	// Parameters used when you are using the rule to invoke an AppSync GraphQL API mutation. Documented below. A maximum of 1 are allowed.
	AppsyncTarget EventTargetAppsyncTargetPtrInput
	// The Amazon Resource Name (ARN) of the target.
	Arn pulumi.StringPtrInput
	// Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed.
	BatchTarget EventTargetBatchTargetPtrInput
	// Parameters used when you are providing a dead letter config. Documented below. A maximum of 1 are allowed.
	DeadLetterConfig EventTargetDeadLetterConfigPtrInput
	// Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.
	EcsTarget EventTargetEcsTargetPtrInput
	// The name or ARN of the event bus to associate with the rule.
	// If you omit this, the `default` event bus is used.
	EventBusName pulumi.StringPtrInput
	// Used to delete managed rules created by AWS. Defaults to `false`.
	ForceDestroy pulumi.BoolPtrInput
	// Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of 1 is allowed.
	HttpTarget EventTargetHttpTargetPtrInput
	// Valid JSON text passed to the target. Conflicts with `inputPath` and `inputTransformer`.
	Input pulumi.StringPtrInput
	// The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `inputTransformer`.
	InputPath pulumi.StringPtrInput
	// Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `inputPath`.
	InputTransformer EventTargetInputTransformerPtrInput
	// Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed.
	KinesisTarget EventTargetKinesisTargetPtrInput
	// Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Documented below. A maximum of 1 are allowed.
	RedshiftTarget EventTargetRedshiftTargetPtrInput
	// Parameters used when you are providing retry policies. Documented below. A maximum of 1 are allowed.
	RetryPolicy EventTargetRetryPolicyPtrInput
	// The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecsTarget` is used or target in `arn` is EC2 instance, Kinesis data stream, Step Functions state machine, or Event Bus in different account or region.
	RoleArn pulumi.StringPtrInput
	// The name of the rule you want to add targets to.
	//
	// The following arguments are optional:
	Rule pulumi.StringPtrInput
	// Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed.
	RunCommandTargets EventTargetRunCommandTargetArrayInput
	// Parameters used when you are using the rule to invoke an Amazon SageMaker Pipeline. Documented below. A maximum of 1 are allowed.
	SagemakerPipelineTarget EventTargetSagemakerPipelineTargetPtrInput
	// Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed.
	SqsTarget EventTargetSqsTargetPtrInput
	// The unique target assignment ID. If missing, will generate a random, unique id.
	TargetId pulumi.StringPtrInput
}

func (EventTargetState) ElementType

func (EventTargetState) ElementType() reflect.Type

type GetEventSourceArgs

type GetEventSourceArgs struct {
	// Specifying this limits the results to only those partner event sources with names that start with the specified prefix
	NamePrefix *string `pulumi:"namePrefix"`
}

A collection of arguments for invoking getEventSource.

type GetEventSourceOutputArgs

type GetEventSourceOutputArgs struct {
	// Specifying this limits the results to only those partner event sources with names that start with the specified prefix
	NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"`
}

A collection of arguments for invoking getEventSource.

func (GetEventSourceOutputArgs) ElementType

func (GetEventSourceOutputArgs) ElementType() reflect.Type

type GetEventSourceResult

type GetEventSourceResult struct {
	// ARN of the partner event source
	Arn string `pulumi:"arn"`
	// Name of the SaaS partner that created the event source
	CreatedBy string `pulumi:"createdBy"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the event source
	Name       string  `pulumi:"name"`
	NamePrefix *string `pulumi:"namePrefix"`
	// State of the event source (`ACTIVE` or `PENDING`)
	State string `pulumi:"state"`
}

A collection of values returned by getEventSource.

func GetEventSource

func GetEventSource(ctx *pulumi.Context, args *GetEventSourceArgs, opts ...pulumi.InvokeOption) (*GetEventSourceResult, error)

Use this data source to get information about an EventBridge Partner Event Source. This data source will only return one partner event source. An error will be returned if multiple sources match the same name prefix.

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

## Example Usage

```go 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.GetEventSource(ctx, &cloudwatch.GetEventSourceArgs{
			NamePrefix: pulumi.StringRef("aws.partner/examplepartner.com"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEventSourceResultOutput

type GetEventSourceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEventSource.

func (GetEventSourceResultOutput) Arn

ARN of the partner event source

func (GetEventSourceResultOutput) CreatedBy

Name of the SaaS partner that created the event source

func (GetEventSourceResultOutput) ElementType

func (GetEventSourceResultOutput) ElementType() reflect.Type

func (GetEventSourceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetEventSourceResultOutput) Name

Name of the event source

func (GetEventSourceResultOutput) NamePrefix

func (GetEventSourceResultOutput) State

State of the event source (`ACTIVE` or `PENDING`)

func (GetEventSourceResultOutput) ToGetEventSourceResultOutput

func (o GetEventSourceResultOutput) ToGetEventSourceResultOutput() GetEventSourceResultOutput

func (GetEventSourceResultOutput) ToGetEventSourceResultOutputWithContext

func (o GetEventSourceResultOutput) ToGetEventSourceResultOutputWithContext(ctx context.Context) GetEventSourceResultOutput

type GetLogDataProtectionPolicyDocumentArgs

type GetLogDataProtectionPolicyDocumentArgs struct {
	Description *string `pulumi:"description"`
	// The name of the data protection policy document.
	Name string `pulumi:"name"`
	// Configures the data protection policy.
	//
	// > There must be exactly two statements: the first with an `audit` operation, and the second with a `deidentify` operation.
	//
	// The following arguments are optional:
	Statements []GetLogDataProtectionPolicyDocumentStatement `pulumi:"statements"`
	Version    *string                                       `pulumi:"version"`
}

A collection of arguments for invoking getLogDataProtectionPolicyDocument.

type GetLogDataProtectionPolicyDocumentOutputArgs

type GetLogDataProtectionPolicyDocumentOutputArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The name of the data protection policy document.
	Name pulumi.StringInput `pulumi:"name"`
	// Configures the data protection policy.
	//
	// > There must be exactly two statements: the first with an `audit` operation, and the second with a `deidentify` operation.
	//
	// The following arguments are optional:
	Statements GetLogDataProtectionPolicyDocumentStatementArrayInput `pulumi:"statements"`
	Version    pulumi.StringPtrInput                                 `pulumi:"version"`
}

A collection of arguments for invoking getLogDataProtectionPolicyDocument.

func (GetLogDataProtectionPolicyDocumentOutputArgs) ElementType

type GetLogDataProtectionPolicyDocumentResult

type GetLogDataProtectionPolicyDocumentResult struct {
	Description *string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Standard JSON policy document rendered based on the arguments above.
	Json       string                                        `pulumi:"json"`
	Name       string                                        `pulumi:"name"`
	Statements []GetLogDataProtectionPolicyDocumentStatement `pulumi:"statements"`
	Version    *string                                       `pulumi:"version"`
}

A collection of values returned by getLogDataProtectionPolicyDocument.

func GetLogDataProtectionPolicyDocument

Generates a CloudWatch Log Group Data Protection Policy document in JSON format for use with the `cloudwatch.LogDataProtectionPolicy` resource.

> For more information about data protection policies, see the [Help protect sensitive log data with masking](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html).

## Example Usage

```go 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 {
		example, err := cloudwatch.GetLogDataProtectionPolicyDocument(ctx, &cloudwatch.GetLogDataProtectionPolicyDocumentArgs{
			Name: "Example",
			Statements: []cloudwatch.GetLogDataProtectionPolicyDocumentStatement{
				{
					Sid: pulumi.StringRef("Audit"),
					DataIdentifiers: []string{
						"arn:aws:dataprotection::aws:data-identifier/EmailAddress",
						"arn:aws:dataprotection::aws:data-identifier/DriversLicense-US",
					},
					Operation: {
						Audit: {
							FindingsDestination: {
								CloudwatchLogs: {
									LogGroup: audit.Name,
								},
								Firehose: {
									DeliveryStream: auditAwsKinesisFirehoseDeliveryStream.Name,
								},
								S3: {
									Bucket: auditAwsS3Bucket.Bucket,
								},
							},
						},
					},
				},
				{
					Sid: pulumi.StringRef("Deidentify"),
					DataIdentifiers: []string{
						"arn:aws:dataprotection::aws:data-identifier/EmailAddress",
						"arn:aws:dataprotection::aws:data-identifier/DriversLicense-US",
					},
					Operation: {
						Deidentify: {
							MaskConfig: {},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewLogDataProtectionPolicy(ctx, "example", &cloudwatch.LogDataProtectionPolicyArgs{
			LogGroupName:   pulumi.Any(exampleAwsCloudwatchLogGroup.Name),
			PolicyDocument: pulumi.String(example.Json),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetLogDataProtectionPolicyDocumentResultOutput

type GetLogDataProtectionPolicyDocumentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLogDataProtectionPolicyDocument.

func (GetLogDataProtectionPolicyDocumentResultOutput) Description

func (GetLogDataProtectionPolicyDocumentResultOutput) ElementType

func (GetLogDataProtectionPolicyDocumentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetLogDataProtectionPolicyDocumentResultOutput) Json

Standard JSON policy document rendered based on the arguments above.

func (GetLogDataProtectionPolicyDocumentResultOutput) Name

func (GetLogDataProtectionPolicyDocumentResultOutput) Statements

func (GetLogDataProtectionPolicyDocumentResultOutput) ToGetLogDataProtectionPolicyDocumentResultOutput

func (o GetLogDataProtectionPolicyDocumentResultOutput) ToGetLogDataProtectionPolicyDocumentResultOutput() GetLogDataProtectionPolicyDocumentResultOutput

func (GetLogDataProtectionPolicyDocumentResultOutput) ToGetLogDataProtectionPolicyDocumentResultOutputWithContext

func (o GetLogDataProtectionPolicyDocumentResultOutput) ToGetLogDataProtectionPolicyDocumentResultOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentResultOutput

func (GetLogDataProtectionPolicyDocumentResultOutput) Version

type GetLogDataProtectionPolicyDocumentStatement

type GetLogDataProtectionPolicyDocumentStatement struct {
	// Set of at least 1 sensitive data identifiers that you want to mask. Read more in [Types of data that you can protect](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/protect-sensitive-log-data-types.html).
	DataIdentifiers []string `pulumi:"dataIdentifiers"`
	// Configures the data protection operation applied by this statement.
	Operation GetLogDataProtectionPolicyDocumentStatementOperation `pulumi:"operation"`
	// Name of this statement.
	Sid *string `pulumi:"sid"`
}

type GetLogDataProtectionPolicyDocumentStatementArgs

type GetLogDataProtectionPolicyDocumentStatementArgs struct {
	// Set of at least 1 sensitive data identifiers that you want to mask. Read more in [Types of data that you can protect](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/protect-sensitive-log-data-types.html).
	DataIdentifiers pulumi.StringArrayInput `pulumi:"dataIdentifiers"`
	// Configures the data protection operation applied by this statement.
	Operation GetLogDataProtectionPolicyDocumentStatementOperationInput `pulumi:"operation"`
	// Name of this statement.
	Sid pulumi.StringPtrInput `pulumi:"sid"`
}

func (GetLogDataProtectionPolicyDocumentStatementArgs) ElementType

func (GetLogDataProtectionPolicyDocumentStatementArgs) ToGetLogDataProtectionPolicyDocumentStatementOutput

func (i GetLogDataProtectionPolicyDocumentStatementArgs) ToGetLogDataProtectionPolicyDocumentStatementOutput() GetLogDataProtectionPolicyDocumentStatementOutput

func (GetLogDataProtectionPolicyDocumentStatementArgs) ToGetLogDataProtectionPolicyDocumentStatementOutputWithContext

func (i GetLogDataProtectionPolicyDocumentStatementArgs) ToGetLogDataProtectionPolicyDocumentStatementOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOutput

type GetLogDataProtectionPolicyDocumentStatementArray

type GetLogDataProtectionPolicyDocumentStatementArray []GetLogDataProtectionPolicyDocumentStatementInput

func (GetLogDataProtectionPolicyDocumentStatementArray) ElementType

func (GetLogDataProtectionPolicyDocumentStatementArray) ToGetLogDataProtectionPolicyDocumentStatementArrayOutput

func (i GetLogDataProtectionPolicyDocumentStatementArray) ToGetLogDataProtectionPolicyDocumentStatementArrayOutput() GetLogDataProtectionPolicyDocumentStatementArrayOutput

func (GetLogDataProtectionPolicyDocumentStatementArray) ToGetLogDataProtectionPolicyDocumentStatementArrayOutputWithContext

func (i GetLogDataProtectionPolicyDocumentStatementArray) ToGetLogDataProtectionPolicyDocumentStatementArrayOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementArrayOutput

type GetLogDataProtectionPolicyDocumentStatementArrayInput

type GetLogDataProtectionPolicyDocumentStatementArrayInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementArrayOutput() GetLogDataProtectionPolicyDocumentStatementArrayOutput
	ToGetLogDataProtectionPolicyDocumentStatementArrayOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementArrayOutput
}

GetLogDataProtectionPolicyDocumentStatementArrayInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementArray and GetLogDataProtectionPolicyDocumentStatementArrayOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementArrayInput` via:

GetLogDataProtectionPolicyDocumentStatementArray{ GetLogDataProtectionPolicyDocumentStatementArgs{...} }

type GetLogDataProtectionPolicyDocumentStatementArrayOutput

type GetLogDataProtectionPolicyDocumentStatementArrayOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementArrayOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementArrayOutput) Index

func (GetLogDataProtectionPolicyDocumentStatementArrayOutput) ToGetLogDataProtectionPolicyDocumentStatementArrayOutput

func (GetLogDataProtectionPolicyDocumentStatementArrayOutput) ToGetLogDataProtectionPolicyDocumentStatementArrayOutputWithContext

func (o GetLogDataProtectionPolicyDocumentStatementArrayOutput) ToGetLogDataProtectionPolicyDocumentStatementArrayOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementArrayOutput

type GetLogDataProtectionPolicyDocumentStatementInput

type GetLogDataProtectionPolicyDocumentStatementInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOutput() GetLogDataProtectionPolicyDocumentStatementOutput
	ToGetLogDataProtectionPolicyDocumentStatementOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOutput
}

GetLogDataProtectionPolicyDocumentStatementInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementArgs and GetLogDataProtectionPolicyDocumentStatementOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementInput` via:

GetLogDataProtectionPolicyDocumentStatementArgs{...}

type GetLogDataProtectionPolicyDocumentStatementOperation

type GetLogDataProtectionPolicyDocumentStatementOperation struct {
	// Configures the detection of sensitive data.
	Audit *GetLogDataProtectionPolicyDocumentStatementOperationAudit `pulumi:"audit"`
	// Configures the masking of sensitive data.
	//
	// > Every policy statement must specify exactly one operation.
	Deidentify *GetLogDataProtectionPolicyDocumentStatementOperationDeidentify `pulumi:"deidentify"`
}

type GetLogDataProtectionPolicyDocumentStatementOperationArgs

type GetLogDataProtectionPolicyDocumentStatementOperationArgs struct {
	// Configures the detection of sensitive data.
	Audit GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrInput `pulumi:"audit"`
	// Configures the masking of sensitive data.
	//
	// > Every policy statement must specify exactly one operation.
	Deidentify GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrInput `pulumi:"deidentify"`
}

func (GetLogDataProtectionPolicyDocumentStatementOperationArgs) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationOutputWithContext

func (i GetLogDataProtectionPolicyDocumentStatementOperationArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAudit

type GetLogDataProtectionPolicyDocumentStatementOperationAudit struct {
	// Configures destinations to send audit findings to.
	FindingsDestination GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestination `pulumi:"findingsDestination"`
}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs

type GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs struct {
	// Configures destinations to send audit findings to.
	FindingsDestination GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationInput `pulumi:"findingsDestination"`
}

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditOutputWithContext

func (i GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutputWithContext

func (i GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestination

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestination struct {
	// Configures CloudWatch Logs as a findings destination.
	CloudwatchLogs *GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogs `pulumi:"cloudwatchLogs"`
	// Configures Kinesis Firehose as a findings destination.
	Firehose *GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehose `pulumi:"firehose"`
	// Configures S3 as a findings destination.
	S3 *GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3 `pulumi:"s3"`
}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs struct {
	// Configures CloudWatch Logs as a findings destination.
	CloudwatchLogs GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrInput `pulumi:"cloudwatchLogs"`
	// Configures Kinesis Firehose as a findings destination.
	Firehose GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrInput `pulumi:"firehose"`
	// Configures S3 as a findings destination.
	S3 GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrInput `pulumi:"s3"`
}

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogs

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogs struct {
	// Name of the CloudWatch Log Group to send findings to.
	LogGroup string `pulumi:"logGroup"`
}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs struct {
	// Name of the CloudWatch Log Group to send findings to.
	LogGroup pulumi.StringInput `pulumi:"logGroup"`
}

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsInput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput() GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs and GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsInput` via:

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs{...}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput) LogGroup

Name of the CloudWatch Log Group to send findings to.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrInput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput() GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs, GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtr and GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrInput` via:

        GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsArgs{...}

or:

        nil

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput) LogGroup

Name of the CloudWatch Log Group to send findings to.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationCloudwatchLogsPtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehose

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehose struct {
	// Name of the Kinesis Firehose Delivery Stream to send findings to.
	DeliveryStream string `pulumi:"deliveryStream"`
}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs struct {
	// Name of the Kinesis Firehose Delivery Stream to send findings to.
	DeliveryStream pulumi.StringInput `pulumi:"deliveryStream"`
}

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseInput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput() GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs and GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseInput` via:

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs{...}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput) DeliveryStream

Name of the Kinesis Firehose Delivery Stream to send findings to.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrInput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput() GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs, GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtr and GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrInput` via:

        GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehoseArgs{...}

or:

        nil

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput) DeliveryStream

Name of the Kinesis Firehose Delivery Stream to send findings to.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationFirehosePtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationInput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput() GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs and GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationInput` via:

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs{...}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput) CloudwatchLogs

Configures CloudWatch Logs as a findings destination.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput) Firehose

Configures Kinesis Firehose as a findings destination.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput) S3

Configures S3 as a findings destination.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrInput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput() GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs, GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtr and GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrInput` via:

        GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationArgs{...}

or:

        nil

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput) CloudwatchLogs

Configures CloudWatch Logs as a findings destination.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput) Firehose

Configures Kinesis Firehose as a findings destination.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput) S3

Configures S3 as a findings destination.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationPtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3 struct {
	// Name of the S3 Bucket to send findings to.
	Bucket string `pulumi:"bucket"`
}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args struct {
	// Name of the S3 Bucket to send findings to.
	Bucket pulumi.StringInput `pulumi:"bucket"`
}

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3OutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Input

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Input interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output() GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3OutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Input is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args and GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Input` via:

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args{...}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output) Bucket

Name of the S3 Bucket to send findings to.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3OutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Output) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrInput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput() GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args, GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Ptr and GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrInput` via:

        GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args{...}

or:

        nil

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput) Bucket

Name of the S3 Bucket to send findings to.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3PtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationAuditInput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditOutput() GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs and GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditInput` via:

GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs{...}

type GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput) FindingsDestination

Configures destinations to send audit findings to.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditOutputWithContext

func (o GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutputWithContext

func (o GetLogDataProtectionPolicyDocumentStatementOperationAuditOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrInput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput() GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs, GetLogDataProtectionPolicyDocumentStatementOperationAuditPtr and GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrInput` via:

        GetLogDataProtectionPolicyDocumentStatementOperationAuditArgs{...}

or:

        nil

type GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput) Elem

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput) FindingsDestination

Configures destinations to send audit findings to.

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutputWithContext

func (o GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationAuditPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentify

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentify struct {
	// An empty object that configures masking.
	MaskConfig GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfig `pulumi:"maskConfig"`
}

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs struct {
	// An empty object that configures masking.
	MaskConfig GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigInput `pulumi:"maskConfig"`
}

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutputWithContext

func (i GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutputWithContext

func (i GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyInput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput() GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs and GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyInput` via:

GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs{...}

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfig

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfig struct {
}

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs struct {
}

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutputWithContext

func (i GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigInput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput() GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs and GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigInput` via:

GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs{...}

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutputWithContext

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrInput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput() GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs, GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtr and GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrInput` via:

        GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigArgs{...}

or:

        nil

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput) Elem

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyMaskConfigPtrOutputWithContext

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput) MaskConfig

An empty object that configures masking.

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutputWithContext

func (o GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutputWithContext

func (o GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrInput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput() GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs, GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtr and GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrInput` via:

        GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyArgs{...}

or:

        nil

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput) Elem

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput) MaskConfig

An empty object that configures masking.

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutputWithContext

func (o GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationDeidentifyPtrOutput

type GetLogDataProtectionPolicyDocumentStatementOperationInput

type GetLogDataProtectionPolicyDocumentStatementOperationInput interface {
	pulumi.Input

	ToGetLogDataProtectionPolicyDocumentStatementOperationOutput() GetLogDataProtectionPolicyDocumentStatementOperationOutput
	ToGetLogDataProtectionPolicyDocumentStatementOperationOutputWithContext(context.Context) GetLogDataProtectionPolicyDocumentStatementOperationOutput
}

GetLogDataProtectionPolicyDocumentStatementOperationInput is an input type that accepts GetLogDataProtectionPolicyDocumentStatementOperationArgs and GetLogDataProtectionPolicyDocumentStatementOperationOutput values. You can construct a concrete instance of `GetLogDataProtectionPolicyDocumentStatementOperationInput` via:

GetLogDataProtectionPolicyDocumentStatementOperationArgs{...}

type GetLogDataProtectionPolicyDocumentStatementOperationOutput

type GetLogDataProtectionPolicyDocumentStatementOperationOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOperationOutput) Audit

Configures the detection of sensitive data.

func (GetLogDataProtectionPolicyDocumentStatementOperationOutput) Deidentify

Configures the masking of sensitive data.

> Every policy statement must specify exactly one operation.

func (GetLogDataProtectionPolicyDocumentStatementOperationOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOperationOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationOutput

func (GetLogDataProtectionPolicyDocumentStatementOperationOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationOutputWithContext

func (o GetLogDataProtectionPolicyDocumentStatementOperationOutput) ToGetLogDataProtectionPolicyDocumentStatementOperationOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOperationOutput

type GetLogDataProtectionPolicyDocumentStatementOutput

type GetLogDataProtectionPolicyDocumentStatementOutput struct{ *pulumi.OutputState }

func (GetLogDataProtectionPolicyDocumentStatementOutput) DataIdentifiers

Set of at least 1 sensitive data identifiers that you want to mask. Read more in [Types of data that you can protect](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/protect-sensitive-log-data-types.html).

func (GetLogDataProtectionPolicyDocumentStatementOutput) ElementType

func (GetLogDataProtectionPolicyDocumentStatementOutput) Operation

Configures the data protection operation applied by this statement.

func (GetLogDataProtectionPolicyDocumentStatementOutput) Sid

Name of this statement.

func (GetLogDataProtectionPolicyDocumentStatementOutput) ToGetLogDataProtectionPolicyDocumentStatementOutput

func (o GetLogDataProtectionPolicyDocumentStatementOutput) ToGetLogDataProtectionPolicyDocumentStatementOutput() GetLogDataProtectionPolicyDocumentStatementOutput

func (GetLogDataProtectionPolicyDocumentStatementOutput) ToGetLogDataProtectionPolicyDocumentStatementOutputWithContext

func (o GetLogDataProtectionPolicyDocumentStatementOutput) ToGetLogDataProtectionPolicyDocumentStatementOutputWithContext(ctx context.Context) GetLogDataProtectionPolicyDocumentStatementOutput

type GetLogGroupsArgs

type GetLogGroupsArgs struct {
	// Group prefix of the Cloudwatch log groups to list
	LogGroupNamePrefix *string `pulumi:"logGroupNamePrefix"`
}

A collection of arguments for invoking getLogGroups.

type GetLogGroupsOutputArgs

type GetLogGroupsOutputArgs struct {
	// Group prefix of the Cloudwatch log groups to list
	LogGroupNamePrefix pulumi.StringPtrInput `pulumi:"logGroupNamePrefix"`
}

A collection of arguments for invoking getLogGroups.

func (GetLogGroupsOutputArgs) ElementType

func (GetLogGroupsOutputArgs) ElementType() reflect.Type

type GetLogGroupsResult

type GetLogGroupsResult struct {
	// Set of ARNs of the Cloudwatch log groups
	Arns []string `pulumi:"arns"`
	// The provider-assigned unique ID for this managed resource.
	Id                 string  `pulumi:"id"`
	LogGroupNamePrefix *string `pulumi:"logGroupNamePrefix"`
	// Set of names of the Cloudwatch log groups
	LogGroupNames []string `pulumi:"logGroupNames"`
}

A collection of values returned by getLogGroups.

func GetLogGroups

func GetLogGroups(ctx *pulumi.Context, args *GetLogGroupsArgs, opts ...pulumi.InvokeOption) (*GetLogGroupsResult, error)

Use this data source to get a list of AWS Cloudwatch Log Groups

## Example Usage

```go 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.GetLogGroups(ctx, &cloudwatch.GetLogGroupsArgs{
			LogGroupNamePrefix: pulumi.StringRef("/MyImportantLogs"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetLogGroupsResultOutput

type GetLogGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLogGroups.

func (GetLogGroupsResultOutput) Arns

Set of ARNs of the Cloudwatch log groups

func (GetLogGroupsResultOutput) ElementType

func (GetLogGroupsResultOutput) ElementType() reflect.Type

func (GetLogGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetLogGroupsResultOutput) LogGroupNamePrefix

func (o GetLogGroupsResultOutput) LogGroupNamePrefix() pulumi.StringPtrOutput

func (GetLogGroupsResultOutput) LogGroupNames

Set of names of the Cloudwatch log groups

func (GetLogGroupsResultOutput) ToGetLogGroupsResultOutput

func (o GetLogGroupsResultOutput) ToGetLogGroupsResultOutput() GetLogGroupsResultOutput

func (GetLogGroupsResultOutput) ToGetLogGroupsResultOutputWithContext

func (o GetLogGroupsResultOutput) ToGetLogGroupsResultOutputWithContext(ctx context.Context) GetLogGroupsResultOutput

type InternetMonitor

type InternetMonitor struct {
	pulumi.CustomResourceState

	// ARN of the Monitor.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Health event thresholds. A health event threshold percentage, for performance and availability, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users. See Health Events Config below.
	HealthEventsConfig InternetMonitorHealthEventsConfigPtrOutput `pulumi:"healthEventsConfig"`
	// Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
	InternetMeasurementsLogDelivery InternetMonitorInternetMeasurementsLogDeliveryPtrOutput `pulumi:"internetMeasurementsLogDelivery"`
	// The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network or ASN, such as an internet service provider (ISP), that clients access the resources through. This limit helps control billing costs.
	MaxCityNetworksToMonitor pulumi.IntPtrOutput `pulumi:"maxCityNetworksToMonitor"`
	// The name of the monitor.
	//
	// The following arguments are optional:
	MonitorName pulumi.StringOutput `pulumi:"monitorName"`
	// The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
	Resources pulumi.StringArrayOutput `pulumi:"resources"`
	// The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following: `ACTIVE` and `INACTIVE`.
	Status pulumi.StringPtrOutput `pulumi:"status"`
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
	TrafficPercentageToMonitor pulumi.IntPtrOutput `pulumi:"trafficPercentageToMonitor"`
}

Provides a Internet Monitor Monitor resource.

## Example Usage

```go 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.NewInternetMonitor(ctx, "example", &cloudwatch.InternetMonitorArgs{
			MonitorName: pulumi.String("exmple"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Internet Monitor Monitors using the `monitor_name`. For example:

```sh $ pulumi import aws:cloudwatch/internetMonitor:InternetMonitor some some-monitor ```

func GetInternetMonitor

func GetInternetMonitor(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InternetMonitorState, opts ...pulumi.ResourceOption) (*InternetMonitor, error)

GetInternetMonitor gets an existing InternetMonitor resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInternetMonitor

func NewInternetMonitor(ctx *pulumi.Context,
	name string, args *InternetMonitorArgs, opts ...pulumi.ResourceOption) (*InternetMonitor, error)

NewInternetMonitor registers a new resource with the given unique name, arguments, and options.

func (*InternetMonitor) ElementType

func (*InternetMonitor) ElementType() reflect.Type

func (*InternetMonitor) ToInternetMonitorOutput

func (i *InternetMonitor) ToInternetMonitorOutput() InternetMonitorOutput

func (*InternetMonitor) ToInternetMonitorOutputWithContext

func (i *InternetMonitor) ToInternetMonitorOutputWithContext(ctx context.Context) InternetMonitorOutput

type InternetMonitorArgs

type InternetMonitorArgs struct {
	// Health event thresholds. A health event threshold percentage, for performance and availability, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users. See Health Events Config below.
	HealthEventsConfig InternetMonitorHealthEventsConfigPtrInput
	// Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
	InternetMeasurementsLogDelivery InternetMonitorInternetMeasurementsLogDeliveryPtrInput
	// The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network or ASN, such as an internet service provider (ISP), that clients access the resources through. This limit helps control billing costs.
	MaxCityNetworksToMonitor pulumi.IntPtrInput
	// The name of the monitor.
	//
	// The following arguments are optional:
	MonitorName pulumi.StringInput
	// The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
	Resources pulumi.StringArrayInput
	// The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following: `ACTIVE` and `INACTIVE`.
	Status pulumi.StringPtrInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
	TrafficPercentageToMonitor pulumi.IntPtrInput
}

The set of arguments for constructing a InternetMonitor resource.

func (InternetMonitorArgs) ElementType

func (InternetMonitorArgs) ElementType() reflect.Type

type InternetMonitorArray

type InternetMonitorArray []InternetMonitorInput

func (InternetMonitorArray) ElementType

func (InternetMonitorArray) ElementType() reflect.Type

func (InternetMonitorArray) ToInternetMonitorArrayOutput

func (i InternetMonitorArray) ToInternetMonitorArrayOutput() InternetMonitorArrayOutput

func (InternetMonitorArray) ToInternetMonitorArrayOutputWithContext

func (i InternetMonitorArray) ToInternetMonitorArrayOutputWithContext(ctx context.Context) InternetMonitorArrayOutput

type InternetMonitorArrayInput

type InternetMonitorArrayInput interface {
	pulumi.Input

	ToInternetMonitorArrayOutput() InternetMonitorArrayOutput
	ToInternetMonitorArrayOutputWithContext(context.Context) InternetMonitorArrayOutput
}

InternetMonitorArrayInput is an input type that accepts InternetMonitorArray and InternetMonitorArrayOutput values. You can construct a concrete instance of `InternetMonitorArrayInput` via:

InternetMonitorArray{ InternetMonitorArgs{...} }

type InternetMonitorArrayOutput

type InternetMonitorArrayOutput struct{ *pulumi.OutputState }

func (InternetMonitorArrayOutput) ElementType

func (InternetMonitorArrayOutput) ElementType() reflect.Type

func (InternetMonitorArrayOutput) Index

func (InternetMonitorArrayOutput) ToInternetMonitorArrayOutput

func (o InternetMonitorArrayOutput) ToInternetMonitorArrayOutput() InternetMonitorArrayOutput

func (InternetMonitorArrayOutput) ToInternetMonitorArrayOutputWithContext

func (o InternetMonitorArrayOutput) ToInternetMonitorArrayOutputWithContext(ctx context.Context) InternetMonitorArrayOutput

type InternetMonitorHealthEventsConfig

type InternetMonitorHealthEventsConfig struct {
	// The health event threshold percentage set for availability scores.
	AvailabilityScoreThreshold *float64 `pulumi:"availabilityScoreThreshold"`
	// The health event threshold percentage set for performance scores.
	PerformanceScoreThreshold *float64 `pulumi:"performanceScoreThreshold"`
}

type InternetMonitorHealthEventsConfigArgs

type InternetMonitorHealthEventsConfigArgs struct {
	// The health event threshold percentage set for availability scores.
	AvailabilityScoreThreshold pulumi.Float64PtrInput `pulumi:"availabilityScoreThreshold"`
	// The health event threshold percentage set for performance scores.
	PerformanceScoreThreshold pulumi.Float64PtrInput `pulumi:"performanceScoreThreshold"`
}

func (InternetMonitorHealthEventsConfigArgs) ElementType

func (InternetMonitorHealthEventsConfigArgs) ToInternetMonitorHealthEventsConfigOutput

func (i InternetMonitorHealthEventsConfigArgs) ToInternetMonitorHealthEventsConfigOutput() InternetMonitorHealthEventsConfigOutput

func (InternetMonitorHealthEventsConfigArgs) ToInternetMonitorHealthEventsConfigOutputWithContext

func (i InternetMonitorHealthEventsConfigArgs) ToInternetMonitorHealthEventsConfigOutputWithContext(ctx context.Context) InternetMonitorHealthEventsConfigOutput

func (InternetMonitorHealthEventsConfigArgs) ToInternetMonitorHealthEventsConfigPtrOutput

func (i InternetMonitorHealthEventsConfigArgs) ToInternetMonitorHealthEventsConfigPtrOutput() InternetMonitorHealthEventsConfigPtrOutput

func (InternetMonitorHealthEventsConfigArgs) ToInternetMonitorHealthEventsConfigPtrOutputWithContext

func (i InternetMonitorHealthEventsConfigArgs) ToInternetMonitorHealthEventsConfigPtrOutputWithContext(ctx context.Context) InternetMonitorHealthEventsConfigPtrOutput

type InternetMonitorHealthEventsConfigInput

type InternetMonitorHealthEventsConfigInput interface {
	pulumi.Input

	ToInternetMonitorHealthEventsConfigOutput() InternetMonitorHealthEventsConfigOutput
	ToInternetMonitorHealthEventsConfigOutputWithContext(context.Context) InternetMonitorHealthEventsConfigOutput
}

InternetMonitorHealthEventsConfigInput is an input type that accepts InternetMonitorHealthEventsConfigArgs and InternetMonitorHealthEventsConfigOutput values. You can construct a concrete instance of `InternetMonitorHealthEventsConfigInput` via:

InternetMonitorHealthEventsConfigArgs{...}

type InternetMonitorHealthEventsConfigOutput

type InternetMonitorHealthEventsConfigOutput struct{ *pulumi.OutputState }

func (InternetMonitorHealthEventsConfigOutput) AvailabilityScoreThreshold

func (o InternetMonitorHealthEventsConfigOutput) AvailabilityScoreThreshold() pulumi.Float64PtrOutput

The health event threshold percentage set for availability scores.

func (InternetMonitorHealthEventsConfigOutput) ElementType

func (InternetMonitorHealthEventsConfigOutput) PerformanceScoreThreshold

func (o InternetMonitorHealthEventsConfigOutput) PerformanceScoreThreshold() pulumi.Float64PtrOutput

The health event threshold percentage set for performance scores.

func (InternetMonitorHealthEventsConfigOutput) ToInternetMonitorHealthEventsConfigOutput

func (o InternetMonitorHealthEventsConfigOutput) ToInternetMonitorHealthEventsConfigOutput() InternetMonitorHealthEventsConfigOutput

func (InternetMonitorHealthEventsConfigOutput) ToInternetMonitorHealthEventsConfigOutputWithContext

func (o InternetMonitorHealthEventsConfigOutput) ToInternetMonitorHealthEventsConfigOutputWithContext(ctx context.Context) InternetMonitorHealthEventsConfigOutput

func (InternetMonitorHealthEventsConfigOutput) ToInternetMonitorHealthEventsConfigPtrOutput

func (o InternetMonitorHealthEventsConfigOutput) ToInternetMonitorHealthEventsConfigPtrOutput() InternetMonitorHealthEventsConfigPtrOutput

func (InternetMonitorHealthEventsConfigOutput) ToInternetMonitorHealthEventsConfigPtrOutputWithContext

func (o InternetMonitorHealthEventsConfigOutput) ToInternetMonitorHealthEventsConfigPtrOutputWithContext(ctx context.Context) InternetMonitorHealthEventsConfigPtrOutput

type InternetMonitorHealthEventsConfigPtrInput

type InternetMonitorHealthEventsConfigPtrInput interface {
	pulumi.Input

	ToInternetMonitorHealthEventsConfigPtrOutput() InternetMonitorHealthEventsConfigPtrOutput
	ToInternetMonitorHealthEventsConfigPtrOutputWithContext(context.Context) InternetMonitorHealthEventsConfigPtrOutput
}

InternetMonitorHealthEventsConfigPtrInput is an input type that accepts InternetMonitorHealthEventsConfigArgs, InternetMonitorHealthEventsConfigPtr and InternetMonitorHealthEventsConfigPtrOutput values. You can construct a concrete instance of `InternetMonitorHealthEventsConfigPtrInput` via:

        InternetMonitorHealthEventsConfigArgs{...}

or:

        nil

type InternetMonitorHealthEventsConfigPtrOutput

type InternetMonitorHealthEventsConfigPtrOutput struct{ *pulumi.OutputState }

func (InternetMonitorHealthEventsConfigPtrOutput) AvailabilityScoreThreshold

The health event threshold percentage set for availability scores.

func (InternetMonitorHealthEventsConfigPtrOutput) Elem

func (InternetMonitorHealthEventsConfigPtrOutput) ElementType

func (InternetMonitorHealthEventsConfigPtrOutput) PerformanceScoreThreshold

The health event threshold percentage set for performance scores.

func (InternetMonitorHealthEventsConfigPtrOutput) ToInternetMonitorHealthEventsConfigPtrOutput

func (o InternetMonitorHealthEventsConfigPtrOutput) ToInternetMonitorHealthEventsConfigPtrOutput() InternetMonitorHealthEventsConfigPtrOutput

func (InternetMonitorHealthEventsConfigPtrOutput) ToInternetMonitorHealthEventsConfigPtrOutputWithContext

func (o InternetMonitorHealthEventsConfigPtrOutput) ToInternetMonitorHealthEventsConfigPtrOutputWithContext(ctx context.Context) InternetMonitorHealthEventsConfigPtrOutput

type InternetMonitorInput

type InternetMonitorInput interface {
	pulumi.Input

	ToInternetMonitorOutput() InternetMonitorOutput
	ToInternetMonitorOutputWithContext(ctx context.Context) InternetMonitorOutput
}

type InternetMonitorInternetMeasurementsLogDelivery

type InternetMonitorInternetMeasurementsLogDelivery struct {
	S3Config *InternetMonitorInternetMeasurementsLogDeliveryS3Config `pulumi:"s3Config"`
}

type InternetMonitorInternetMeasurementsLogDeliveryArgs

type InternetMonitorInternetMeasurementsLogDeliveryArgs struct {
	S3Config InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrInput `pulumi:"s3Config"`
}

func (InternetMonitorInternetMeasurementsLogDeliveryArgs) ElementType

func (InternetMonitorInternetMeasurementsLogDeliveryArgs) ToInternetMonitorInternetMeasurementsLogDeliveryOutput

func (i InternetMonitorInternetMeasurementsLogDeliveryArgs) ToInternetMonitorInternetMeasurementsLogDeliveryOutput() InternetMonitorInternetMeasurementsLogDeliveryOutput

func (InternetMonitorInternetMeasurementsLogDeliveryArgs) ToInternetMonitorInternetMeasurementsLogDeliveryOutputWithContext

func (i InternetMonitorInternetMeasurementsLogDeliveryArgs) ToInternetMonitorInternetMeasurementsLogDeliveryOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryOutput

func (InternetMonitorInternetMeasurementsLogDeliveryArgs) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutput

func (i InternetMonitorInternetMeasurementsLogDeliveryArgs) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutput() InternetMonitorInternetMeasurementsLogDeliveryPtrOutput

func (InternetMonitorInternetMeasurementsLogDeliveryArgs) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutputWithContext

func (i InternetMonitorInternetMeasurementsLogDeliveryArgs) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryPtrOutput

type InternetMonitorInternetMeasurementsLogDeliveryInput

type InternetMonitorInternetMeasurementsLogDeliveryInput interface {
	pulumi.Input

	ToInternetMonitorInternetMeasurementsLogDeliveryOutput() InternetMonitorInternetMeasurementsLogDeliveryOutput
	ToInternetMonitorInternetMeasurementsLogDeliveryOutputWithContext(context.Context) InternetMonitorInternetMeasurementsLogDeliveryOutput
}

InternetMonitorInternetMeasurementsLogDeliveryInput is an input type that accepts InternetMonitorInternetMeasurementsLogDeliveryArgs and InternetMonitorInternetMeasurementsLogDeliveryOutput values. You can construct a concrete instance of `InternetMonitorInternetMeasurementsLogDeliveryInput` via:

InternetMonitorInternetMeasurementsLogDeliveryArgs{...}

type InternetMonitorInternetMeasurementsLogDeliveryOutput

type InternetMonitorInternetMeasurementsLogDeliveryOutput struct{ *pulumi.OutputState }

func (InternetMonitorInternetMeasurementsLogDeliveryOutput) ElementType

func (InternetMonitorInternetMeasurementsLogDeliveryOutput) S3Config

func (InternetMonitorInternetMeasurementsLogDeliveryOutput) ToInternetMonitorInternetMeasurementsLogDeliveryOutput

func (InternetMonitorInternetMeasurementsLogDeliveryOutput) ToInternetMonitorInternetMeasurementsLogDeliveryOutputWithContext

func (o InternetMonitorInternetMeasurementsLogDeliveryOutput) ToInternetMonitorInternetMeasurementsLogDeliveryOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryOutput

func (InternetMonitorInternetMeasurementsLogDeliveryOutput) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutput

func (o InternetMonitorInternetMeasurementsLogDeliveryOutput) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutput() InternetMonitorInternetMeasurementsLogDeliveryPtrOutput

func (InternetMonitorInternetMeasurementsLogDeliveryOutput) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutputWithContext

func (o InternetMonitorInternetMeasurementsLogDeliveryOutput) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryPtrOutput

type InternetMonitorInternetMeasurementsLogDeliveryPtrInput

type InternetMonitorInternetMeasurementsLogDeliveryPtrInput interface {
	pulumi.Input

	ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutput() InternetMonitorInternetMeasurementsLogDeliveryPtrOutput
	ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutputWithContext(context.Context) InternetMonitorInternetMeasurementsLogDeliveryPtrOutput
}

InternetMonitorInternetMeasurementsLogDeliveryPtrInput is an input type that accepts InternetMonitorInternetMeasurementsLogDeliveryArgs, InternetMonitorInternetMeasurementsLogDeliveryPtr and InternetMonitorInternetMeasurementsLogDeliveryPtrOutput values. You can construct a concrete instance of `InternetMonitorInternetMeasurementsLogDeliveryPtrInput` via:

        InternetMonitorInternetMeasurementsLogDeliveryArgs{...}

or:

        nil

type InternetMonitorInternetMeasurementsLogDeliveryPtrOutput

type InternetMonitorInternetMeasurementsLogDeliveryPtrOutput struct{ *pulumi.OutputState }

func (InternetMonitorInternetMeasurementsLogDeliveryPtrOutput) Elem

func (InternetMonitorInternetMeasurementsLogDeliveryPtrOutput) ElementType

func (InternetMonitorInternetMeasurementsLogDeliveryPtrOutput) S3Config

func (InternetMonitorInternetMeasurementsLogDeliveryPtrOutput) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutput

func (InternetMonitorInternetMeasurementsLogDeliveryPtrOutput) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutputWithContext

func (o InternetMonitorInternetMeasurementsLogDeliveryPtrOutput) ToInternetMonitorInternetMeasurementsLogDeliveryPtrOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryPtrOutput

type InternetMonitorInternetMeasurementsLogDeliveryS3Config

type InternetMonitorInternetMeasurementsLogDeliveryS3Config struct {
	BucketName        string  `pulumi:"bucketName"`
	BucketPrefix      *string `pulumi:"bucketPrefix"`
	LogDeliveryStatus *string `pulumi:"logDeliveryStatus"`
}

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs struct {
	BucketName        pulumi.StringInput    `pulumi:"bucketName"`
	BucketPrefix      pulumi.StringPtrInput `pulumi:"bucketPrefix"`
	LogDeliveryStatus pulumi.StringPtrInput `pulumi:"logDeliveryStatus"`
}

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs) ElementType

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutputWithContext

func (i InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutputWithContext

func (i InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigInput

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigInput interface {
	pulumi.Input

	ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput() InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput
	ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutputWithContext(context.Context) InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput
}

InternetMonitorInternetMeasurementsLogDeliveryS3ConfigInput is an input type that accepts InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs and InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput values. You can construct a concrete instance of `InternetMonitorInternetMeasurementsLogDeliveryS3ConfigInput` via:

InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs{...}

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput struct{ *pulumi.OutputState }

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) BucketName

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) BucketPrefix

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) ElementType

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) LogDeliveryStatus

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutputWithContext

func (o InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutputWithContext

func (o InternetMonitorInternetMeasurementsLogDeliveryS3ConfigOutput) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrInput

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrInput interface {
	pulumi.Input

	ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput() InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput
	ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutputWithContext(context.Context) InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput
}

InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrInput is an input type that accepts InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs, InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtr and InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput values. You can construct a concrete instance of `InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrInput` via:

        InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs{...}

or:

        nil

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput

type InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput struct{ *pulumi.OutputState }

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput) BucketName

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput) BucketPrefix

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput) Elem

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput) ElementType

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput) LogDeliveryStatus

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput

func (InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutputWithContext

func (o InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput) ToInternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutputWithContext(ctx context.Context) InternetMonitorInternetMeasurementsLogDeliveryS3ConfigPtrOutput

type InternetMonitorMap

type InternetMonitorMap map[string]InternetMonitorInput

func (InternetMonitorMap) ElementType

func (InternetMonitorMap) ElementType() reflect.Type

func (InternetMonitorMap) ToInternetMonitorMapOutput

func (i InternetMonitorMap) ToInternetMonitorMapOutput() InternetMonitorMapOutput

func (InternetMonitorMap) ToInternetMonitorMapOutputWithContext

func (i InternetMonitorMap) ToInternetMonitorMapOutputWithContext(ctx context.Context) InternetMonitorMapOutput

type InternetMonitorMapInput

type InternetMonitorMapInput interface {
	pulumi.Input

	ToInternetMonitorMapOutput() InternetMonitorMapOutput
	ToInternetMonitorMapOutputWithContext(context.Context) InternetMonitorMapOutput
}

InternetMonitorMapInput is an input type that accepts InternetMonitorMap and InternetMonitorMapOutput values. You can construct a concrete instance of `InternetMonitorMapInput` via:

InternetMonitorMap{ "key": InternetMonitorArgs{...} }

type InternetMonitorMapOutput

type InternetMonitorMapOutput struct{ *pulumi.OutputState }

func (InternetMonitorMapOutput) ElementType

func (InternetMonitorMapOutput) ElementType() reflect.Type

func (InternetMonitorMapOutput) MapIndex

func (InternetMonitorMapOutput) ToInternetMonitorMapOutput

func (o InternetMonitorMapOutput) ToInternetMonitorMapOutput() InternetMonitorMapOutput

func (InternetMonitorMapOutput) ToInternetMonitorMapOutputWithContext

func (o InternetMonitorMapOutput) ToInternetMonitorMapOutputWithContext(ctx context.Context) InternetMonitorMapOutput

type InternetMonitorOutput

type InternetMonitorOutput struct{ *pulumi.OutputState }

func (InternetMonitorOutput) Arn

ARN of the Monitor.

func (InternetMonitorOutput) ElementType

func (InternetMonitorOutput) ElementType() reflect.Type

func (InternetMonitorOutput) HealthEventsConfig

Health event thresholds. A health event threshold percentage, for performance and availability, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users. See Health Events Config below.

func (InternetMonitorOutput) InternetMeasurementsLogDelivery

Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.

func (InternetMonitorOutput) MaxCityNetworksToMonitor

func (o InternetMonitorOutput) MaxCityNetworksToMonitor() pulumi.IntPtrOutput

The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network or ASN, such as an internet service provider (ISP), that clients access the resources through. This limit helps control billing costs.

func (InternetMonitorOutput) MonitorName

func (o InternetMonitorOutput) MonitorName() pulumi.StringOutput

The name of the monitor.

The following arguments are optional:

func (InternetMonitorOutput) Resources

The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).

func (InternetMonitorOutput) Status

The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following: `ACTIVE` and `INACTIVE`.

func (InternetMonitorOutput) Tags

Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (InternetMonitorOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (InternetMonitorOutput) ToInternetMonitorOutput

func (o InternetMonitorOutput) ToInternetMonitorOutput() InternetMonitorOutput

func (InternetMonitorOutput) ToInternetMonitorOutputWithContext

func (o InternetMonitorOutput) ToInternetMonitorOutputWithContext(ctx context.Context) InternetMonitorOutput

func (InternetMonitorOutput) TrafficPercentageToMonitor

func (o InternetMonitorOutput) TrafficPercentageToMonitor() pulumi.IntPtrOutput

The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.

type InternetMonitorState

type InternetMonitorState struct {
	// ARN of the Monitor.
	Arn pulumi.StringPtrInput
	// Health event thresholds. A health event threshold percentage, for performance and availability, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users. See Health Events Config below.
	HealthEventsConfig InternetMonitorHealthEventsConfigPtrInput
	// Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
	InternetMeasurementsLogDelivery InternetMonitorInternetMeasurementsLogDeliveryPtrInput
	// The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network or ASN, such as an internet service provider (ISP), that clients access the resources through. This limit helps control billing costs.
	MaxCityNetworksToMonitor pulumi.IntPtrInput
	// The name of the monitor.
	//
	// The following arguments are optional:
	MonitorName pulumi.StringPtrInput
	// The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
	Resources pulumi.StringArrayInput
	// The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following: `ACTIVE` and `INACTIVE`.
	Status pulumi.StringPtrInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
	TrafficPercentageToMonitor pulumi.IntPtrInput
}

func (InternetMonitorState) ElementType

func (InternetMonitorState) ElementType() reflect.Type

type LogAccountPolicy added in v6.45.0

type LogAccountPolicy struct {
	pulumi.CustomResourceState

	// Text of the account policy. Refer to the [AWS docs](https://docs.aws.amazon.com/cli/latest/reference/logs/put-account-policy.html) for more information.
	PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"`
	// Name of the account policy.
	PolicyName pulumi.StringOutput `pulumi:"policyName"`
	// Type of account policy. One of `DATA_PROTECTION_POLICY`, `SUBSCRIPTION_FILTER_POLICY`, `FIELD_INDEX_POLICY` or `TRANSFORMER_POLICY`. You can have one account policy per type in an account.
	PolicyType pulumi.StringOutput `pulumi:"policyType"`
	// Currently defaults to and only accepts the value: `ALL`.
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// Criteria for applying a subscription filter policy to a selection of log groups. The only allowable criteria selector is `LogGroupName NOT IN []`.
	SelectionCriteria pulumi.StringPtrOutput `pulumi:"selectionCriteria"`
}

Provides a CloudWatch Log Account Policy resource.

## Example Usage

### Account Data Protection Policy

```go package main

import (

"encoding/json"

"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 {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Name":    "DataProtection",
			"Version": "2021-06-01",
			"Statement": []interface{}{
				map[string]interface{}{
					"Sid": "Audit",
					"DataIdentifier": []string{
						"arn:aws:dataprotection::aws:data-identifier/EmailAddress",
					},
					"Operation": map[string]interface{}{
						"Audit": map[string]interface{}{
							"FindingsDestination": map[string]interface{}{},
						},
					},
				},
				map[string]interface{}{
					"Sid": "Redact",
					"DataIdentifier": []string{
						"arn:aws:dataprotection::aws:data-identifier/EmailAddress",
					},
					"Operation": map[string]interface{}{
						"Deidentify": map[string]interface{}{
							"MaskConfig": map[string]interface{}{},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = cloudwatch.NewLogAccountPolicy(ctx, "data_protection", &cloudwatch.LogAccountPolicyArgs{
			PolicyName:     pulumi.String("data-protection"),
			PolicyType:     pulumi.String("DATA_PROTECTION_POLICY"),
			PolicyDocument: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Subscription Filter Policy

```go package main

import (

"encoding/json"

"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 {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"DestinationArn": test.Arn,
			"FilterPattern":  "test",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = cloudwatch.NewLogAccountPolicy(ctx, "subscription_filter", &cloudwatch.LogAccountPolicyArgs{
			PolicyName:        pulumi.String("subscription-filter"),
			PolicyType:        pulumi.String("SUBSCRIPTION_FILTER_POLICY"),
			PolicyDocument:    pulumi.String(json0),
			SelectionCriteria: pulumi.String("LogGroupName NOT IN [\"excluded_log_group_name\"]"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Field Index Policy

```go package main

import (

"encoding/json"

"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 {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Fields": []string{
				"field1",
				"field2",
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = cloudwatch.NewLogAccountPolicy(ctx, "field_index", &cloudwatch.LogAccountPolicyArgs{
			PolicyName:     pulumi.String("field-index"),
			PolicyType:     pulumi.String("FIELD_INDEX_POLICY"),
			PolicyDocument: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import this resource using the `policy_name` and `policy_type` separated by `:`. For example:

```sh $ pulumi import aws:cloudwatch/logAccountPolicy:LogAccountPolicy example "my-account-policy:SUBSCRIPTION_FILTER_POLICY" ```

func GetLogAccountPolicy added in v6.45.0

func GetLogAccountPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogAccountPolicyState, opts ...pulumi.ResourceOption) (*LogAccountPolicy, error)

GetLogAccountPolicy gets an existing LogAccountPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogAccountPolicy added in v6.45.0

func NewLogAccountPolicy(ctx *pulumi.Context,
	name string, args *LogAccountPolicyArgs, opts ...pulumi.ResourceOption) (*LogAccountPolicy, error)

NewLogAccountPolicy registers a new resource with the given unique name, arguments, and options.

func (*LogAccountPolicy) ElementType added in v6.45.0

func (*LogAccountPolicy) ElementType() reflect.Type

func (*LogAccountPolicy) ToLogAccountPolicyOutput added in v6.45.0

func (i *LogAccountPolicy) ToLogAccountPolicyOutput() LogAccountPolicyOutput

func (*LogAccountPolicy) ToLogAccountPolicyOutputWithContext added in v6.45.0

func (i *LogAccountPolicy) ToLogAccountPolicyOutputWithContext(ctx context.Context) LogAccountPolicyOutput

type LogAccountPolicyArgs added in v6.45.0

type LogAccountPolicyArgs struct {
	// Text of the account policy. Refer to the [AWS docs](https://docs.aws.amazon.com/cli/latest/reference/logs/put-account-policy.html) for more information.
	PolicyDocument pulumi.StringInput
	// Name of the account policy.
	PolicyName pulumi.StringInput
	// Type of account policy. One of `DATA_PROTECTION_POLICY`, `SUBSCRIPTION_FILTER_POLICY`, `FIELD_INDEX_POLICY` or `TRANSFORMER_POLICY`. You can have one account policy per type in an account.
	PolicyType pulumi.StringInput
	// Currently defaults to and only accepts the value: `ALL`.
	Scope pulumi.StringPtrInput
	// Criteria for applying a subscription filter policy to a selection of log groups. The only allowable criteria selector is `LogGroupName NOT IN []`.
	SelectionCriteria pulumi.StringPtrInput
}

The set of arguments for constructing a LogAccountPolicy resource.

func (LogAccountPolicyArgs) ElementType added in v6.45.0

func (LogAccountPolicyArgs) ElementType() reflect.Type

type LogAccountPolicyArray added in v6.45.0

type LogAccountPolicyArray []LogAccountPolicyInput

func (LogAccountPolicyArray) ElementType added in v6.45.0

func (LogAccountPolicyArray) ElementType() reflect.Type

func (LogAccountPolicyArray) ToLogAccountPolicyArrayOutput added in v6.45.0

func (i LogAccountPolicyArray) ToLogAccountPolicyArrayOutput() LogAccountPolicyArrayOutput

func (LogAccountPolicyArray) ToLogAccountPolicyArrayOutputWithContext added in v6.45.0

func (i LogAccountPolicyArray) ToLogAccountPolicyArrayOutputWithContext(ctx context.Context) LogAccountPolicyArrayOutput

type LogAccountPolicyArrayInput added in v6.45.0

type LogAccountPolicyArrayInput interface {
	pulumi.Input

	ToLogAccountPolicyArrayOutput() LogAccountPolicyArrayOutput
	ToLogAccountPolicyArrayOutputWithContext(context.Context) LogAccountPolicyArrayOutput
}

LogAccountPolicyArrayInput is an input type that accepts LogAccountPolicyArray and LogAccountPolicyArrayOutput values. You can construct a concrete instance of `LogAccountPolicyArrayInput` via:

LogAccountPolicyArray{ LogAccountPolicyArgs{...} }

type LogAccountPolicyArrayOutput added in v6.45.0

type LogAccountPolicyArrayOutput struct{ *pulumi.OutputState }

func (LogAccountPolicyArrayOutput) ElementType added in v6.45.0

func (LogAccountPolicyArrayOutput) Index added in v6.45.0

func (LogAccountPolicyArrayOutput) ToLogAccountPolicyArrayOutput added in v6.45.0

func (o LogAccountPolicyArrayOutput) ToLogAccountPolicyArrayOutput() LogAccountPolicyArrayOutput

func (LogAccountPolicyArrayOutput) ToLogAccountPolicyArrayOutputWithContext added in v6.45.0

func (o LogAccountPolicyArrayOutput) ToLogAccountPolicyArrayOutputWithContext(ctx context.Context) LogAccountPolicyArrayOutput

type LogAccountPolicyInput added in v6.45.0

type LogAccountPolicyInput interface {
	pulumi.Input

	ToLogAccountPolicyOutput() LogAccountPolicyOutput
	ToLogAccountPolicyOutputWithContext(ctx context.Context) LogAccountPolicyOutput
}

type LogAccountPolicyMap added in v6.45.0

type LogAccountPolicyMap map[string]LogAccountPolicyInput

func (LogAccountPolicyMap) ElementType added in v6.45.0

func (LogAccountPolicyMap) ElementType() reflect.Type

func (LogAccountPolicyMap) ToLogAccountPolicyMapOutput added in v6.45.0

func (i LogAccountPolicyMap) ToLogAccountPolicyMapOutput() LogAccountPolicyMapOutput

func (LogAccountPolicyMap) ToLogAccountPolicyMapOutputWithContext added in v6.45.0

func (i LogAccountPolicyMap) ToLogAccountPolicyMapOutputWithContext(ctx context.Context) LogAccountPolicyMapOutput

type LogAccountPolicyMapInput added in v6.45.0

type LogAccountPolicyMapInput interface {
	pulumi.Input

	ToLogAccountPolicyMapOutput() LogAccountPolicyMapOutput
	ToLogAccountPolicyMapOutputWithContext(context.Context) LogAccountPolicyMapOutput
}

LogAccountPolicyMapInput is an input type that accepts LogAccountPolicyMap and LogAccountPolicyMapOutput values. You can construct a concrete instance of `LogAccountPolicyMapInput` via:

LogAccountPolicyMap{ "key": LogAccountPolicyArgs{...} }

type LogAccountPolicyMapOutput added in v6.45.0

type LogAccountPolicyMapOutput struct{ *pulumi.OutputState }

func (LogAccountPolicyMapOutput) ElementType added in v6.45.0

func (LogAccountPolicyMapOutput) ElementType() reflect.Type

func (LogAccountPolicyMapOutput) MapIndex added in v6.45.0

func (LogAccountPolicyMapOutput) ToLogAccountPolicyMapOutput added in v6.45.0

func (o LogAccountPolicyMapOutput) ToLogAccountPolicyMapOutput() LogAccountPolicyMapOutput

func (LogAccountPolicyMapOutput) ToLogAccountPolicyMapOutputWithContext added in v6.45.0

func (o LogAccountPolicyMapOutput) ToLogAccountPolicyMapOutputWithContext(ctx context.Context) LogAccountPolicyMapOutput

type LogAccountPolicyOutput added in v6.45.0

type LogAccountPolicyOutput struct{ *pulumi.OutputState }

func (LogAccountPolicyOutput) ElementType added in v6.45.0

func (LogAccountPolicyOutput) ElementType() reflect.Type

func (LogAccountPolicyOutput) PolicyDocument added in v6.45.0

func (o LogAccountPolicyOutput) PolicyDocument() pulumi.StringOutput

Text of the account policy. Refer to the [AWS docs](https://docs.aws.amazon.com/cli/latest/reference/logs/put-account-policy.html) for more information.

func (LogAccountPolicyOutput) PolicyName added in v6.45.0

Name of the account policy.

func (LogAccountPolicyOutput) PolicyType added in v6.45.0

Type of account policy. One of `DATA_PROTECTION_POLICY`, `SUBSCRIPTION_FILTER_POLICY`, `FIELD_INDEX_POLICY` or `TRANSFORMER_POLICY`. You can have one account policy per type in an account.

func (LogAccountPolicyOutput) Scope added in v6.45.0

Currently defaults to and only accepts the value: `ALL`.

func (LogAccountPolicyOutput) SelectionCriteria added in v6.45.0

func (o LogAccountPolicyOutput) SelectionCriteria() pulumi.StringPtrOutput

Criteria for applying a subscription filter policy to a selection of log groups. The only allowable criteria selector is `LogGroupName NOT IN []`.

func (LogAccountPolicyOutput) ToLogAccountPolicyOutput added in v6.45.0

func (o LogAccountPolicyOutput) ToLogAccountPolicyOutput() LogAccountPolicyOutput

func (LogAccountPolicyOutput) ToLogAccountPolicyOutputWithContext added in v6.45.0

func (o LogAccountPolicyOutput) ToLogAccountPolicyOutputWithContext(ctx context.Context) LogAccountPolicyOutput

type LogAccountPolicyState added in v6.45.0

type LogAccountPolicyState struct {
	// Text of the account policy. Refer to the [AWS docs](https://docs.aws.amazon.com/cli/latest/reference/logs/put-account-policy.html) for more information.
	PolicyDocument pulumi.StringPtrInput
	// Name of the account policy.
	PolicyName pulumi.StringPtrInput
	// Type of account policy. One of `DATA_PROTECTION_POLICY`, `SUBSCRIPTION_FILTER_POLICY`, `FIELD_INDEX_POLICY` or `TRANSFORMER_POLICY`. You can have one account policy per type in an account.
	PolicyType pulumi.StringPtrInput
	// Currently defaults to and only accepts the value: `ALL`.
	Scope pulumi.StringPtrInput
	// Criteria for applying a subscription filter policy to a selection of log groups. The only allowable criteria selector is `LogGroupName NOT IN []`.
	SelectionCriteria pulumi.StringPtrInput
}

func (LogAccountPolicyState) ElementType added in v6.45.0

func (LogAccountPolicyState) ElementType() reflect.Type

type LogAnomalyDetector added in v6.65.0

type LogAnomalyDetector struct {
	pulumi.CustomResourceState

	// Number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in `anomalyVisibilityTime`, it will be considered normal going forward and will not be detected as an anomaly. Valid Range: Minimum value of 7. Maximum value of 90.
	AnomalyVisibilityTime pulumi.IntOutput `pulumi:"anomalyVisibilityTime"`
	// ARN of the log anomaly detector that you just created.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Name for this anomaly detector.
	DetectorName pulumi.StringPtrOutput `pulumi:"detectorName"`
	Enabled      pulumi.BoolOutput      `pulumi:"enabled"`
	// Specifies how often the anomaly detector is to run and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then 15 minutes might be a good setting for `evaluationFrequency`. Valid Values: `ONE_MIN | FIVE_MIN | TEN_MIN | FIFTEEN_MIN | THIRTY_MIN | ONE_HOUR`.
	EvaluationFrequency pulumi.StringPtrOutput `pulumi:"evaluationFrequency"`
	// You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringPtrOutput `pulumi:"filterPattern"`
	// Optionally assigns a AWS KMS key to secure this anomaly detector and its findings. If a key is assigned, the anomalies found and the model used by this detector are encrypted at rest with the key. If a key is assigned to an anomaly detector, a user must have permissions for both this key and for the anomaly detector to retrieve information about the anomalies that it finds.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// Array containing the ARN of the log group that this anomaly detector will watch. You can specify only one log group ARN.
	//
	// The following arguments are optional:
	LogGroupArnLists pulumi.StringArrayOutput `pulumi:"logGroupArnLists"`
	Tags             pulumi.StringMapOutput   `pulumi:"tags"`
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS CloudWatch Logs Log Anomaly Detector.

## Example Usage

### Basic Usage

```go package main

import (

"fmt"

"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 {
		var test []*cloudwatch.LogGroup
		for index := 0; index < 2; index++ {
			key0 := index
			val0 := index
			__res, err := cloudwatch.NewLogGroup(ctx, fmt.Sprintf("test-%v", key0), &cloudwatch.LogGroupArgs{
				Name: pulumi.Sprintf("testing-%v", val0),
			})
			if err != nil {
				return err
			}
			test = append(test, __res)
		}
		_, err = cloudwatch.NewLogAnomalyDetector(ctx, "test", &cloudwatch.LogAnomalyDetectorArgs{
			DetectorName: pulumi.String("testing"),
			LogGroupArnLists: pulumi.StringArray{
				test[0].Arn,
			},
			AnomalyVisibilityTime: pulumi.Int(7),
			EvaluationFrequency:   pulumi.String("TEN_MIN"),
			Enabled:               pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CloudWatch Log Anomaly Detector using the `example_id_arg`. For example:

```sh $ pulumi import aws:cloudwatch/logAnomalyDetector:LogAnomalyDetector example log_anomaly_detector-arn-12345678 ```

func GetLogAnomalyDetector added in v6.65.0

func GetLogAnomalyDetector(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogAnomalyDetectorState, opts ...pulumi.ResourceOption) (*LogAnomalyDetector, error)

GetLogAnomalyDetector gets an existing LogAnomalyDetector resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogAnomalyDetector added in v6.65.0

func NewLogAnomalyDetector(ctx *pulumi.Context,
	name string, args *LogAnomalyDetectorArgs, opts ...pulumi.ResourceOption) (*LogAnomalyDetector, error)

NewLogAnomalyDetector registers a new resource with the given unique name, arguments, and options.

func (*LogAnomalyDetector) ElementType added in v6.65.0

func (*LogAnomalyDetector) ElementType() reflect.Type

func (*LogAnomalyDetector) ToLogAnomalyDetectorOutput added in v6.65.0

func (i *LogAnomalyDetector) ToLogAnomalyDetectorOutput() LogAnomalyDetectorOutput

func (*LogAnomalyDetector) ToLogAnomalyDetectorOutputWithContext added in v6.65.0

func (i *LogAnomalyDetector) ToLogAnomalyDetectorOutputWithContext(ctx context.Context) LogAnomalyDetectorOutput

type LogAnomalyDetectorArgs added in v6.65.0

type LogAnomalyDetectorArgs struct {
	// Number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in `anomalyVisibilityTime`, it will be considered normal going forward and will not be detected as an anomaly. Valid Range: Minimum value of 7. Maximum value of 90.
	AnomalyVisibilityTime pulumi.IntPtrInput
	// Name for this anomaly detector.
	DetectorName pulumi.StringPtrInput
	Enabled      pulumi.BoolInput
	// Specifies how often the anomaly detector is to run and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then 15 minutes might be a good setting for `evaluationFrequency`. Valid Values: `ONE_MIN | FIVE_MIN | TEN_MIN | FIFTEEN_MIN | THIRTY_MIN | ONE_HOUR`.
	EvaluationFrequency pulumi.StringPtrInput
	// You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringPtrInput
	// Optionally assigns a AWS KMS key to secure this anomaly detector and its findings. If a key is assigned, the anomalies found and the model used by this detector are encrypted at rest with the key. If a key is assigned to an anomaly detector, a user must have permissions for both this key and for the anomaly detector to retrieve information about the anomalies that it finds.
	KmsKeyId pulumi.StringPtrInput
	// Array containing the ARN of the log group that this anomaly detector will watch. You can specify only one log group ARN.
	//
	// The following arguments are optional:
	LogGroupArnLists pulumi.StringArrayInput
	Tags             pulumi.StringMapInput
}

The set of arguments for constructing a LogAnomalyDetector resource.

func (LogAnomalyDetectorArgs) ElementType added in v6.65.0

func (LogAnomalyDetectorArgs) ElementType() reflect.Type

type LogAnomalyDetectorArray added in v6.65.0

type LogAnomalyDetectorArray []LogAnomalyDetectorInput

func (LogAnomalyDetectorArray) ElementType added in v6.65.0

func (LogAnomalyDetectorArray) ElementType() reflect.Type

func (LogAnomalyDetectorArray) ToLogAnomalyDetectorArrayOutput added in v6.65.0

func (i LogAnomalyDetectorArray) ToLogAnomalyDetectorArrayOutput() LogAnomalyDetectorArrayOutput

func (LogAnomalyDetectorArray) ToLogAnomalyDetectorArrayOutputWithContext added in v6.65.0

func (i LogAnomalyDetectorArray) ToLogAnomalyDetectorArrayOutputWithContext(ctx context.Context) LogAnomalyDetectorArrayOutput

type LogAnomalyDetectorArrayInput added in v6.65.0

type LogAnomalyDetectorArrayInput interface {
	pulumi.Input

	ToLogAnomalyDetectorArrayOutput() LogAnomalyDetectorArrayOutput
	ToLogAnomalyDetectorArrayOutputWithContext(context.Context) LogAnomalyDetectorArrayOutput
}

LogAnomalyDetectorArrayInput is an input type that accepts LogAnomalyDetectorArray and LogAnomalyDetectorArrayOutput values. You can construct a concrete instance of `LogAnomalyDetectorArrayInput` via:

LogAnomalyDetectorArray{ LogAnomalyDetectorArgs{...} }

type LogAnomalyDetectorArrayOutput added in v6.65.0

type LogAnomalyDetectorArrayOutput struct{ *pulumi.OutputState }

func (LogAnomalyDetectorArrayOutput) ElementType added in v6.65.0

func (LogAnomalyDetectorArrayOutput) Index added in v6.65.0

func (LogAnomalyDetectorArrayOutput) ToLogAnomalyDetectorArrayOutput added in v6.65.0

func (o LogAnomalyDetectorArrayOutput) ToLogAnomalyDetectorArrayOutput() LogAnomalyDetectorArrayOutput

func (LogAnomalyDetectorArrayOutput) ToLogAnomalyDetectorArrayOutputWithContext added in v6.65.0

func (o LogAnomalyDetectorArrayOutput) ToLogAnomalyDetectorArrayOutputWithContext(ctx context.Context) LogAnomalyDetectorArrayOutput

type LogAnomalyDetectorInput added in v6.65.0

type LogAnomalyDetectorInput interface {
	pulumi.Input

	ToLogAnomalyDetectorOutput() LogAnomalyDetectorOutput
	ToLogAnomalyDetectorOutputWithContext(ctx context.Context) LogAnomalyDetectorOutput
}

type LogAnomalyDetectorMap added in v6.65.0

type LogAnomalyDetectorMap map[string]LogAnomalyDetectorInput

func (LogAnomalyDetectorMap) ElementType added in v6.65.0

func (LogAnomalyDetectorMap) ElementType() reflect.Type

func (LogAnomalyDetectorMap) ToLogAnomalyDetectorMapOutput added in v6.65.0

func (i LogAnomalyDetectorMap) ToLogAnomalyDetectorMapOutput() LogAnomalyDetectorMapOutput

func (LogAnomalyDetectorMap) ToLogAnomalyDetectorMapOutputWithContext added in v6.65.0

func (i LogAnomalyDetectorMap) ToLogAnomalyDetectorMapOutputWithContext(ctx context.Context) LogAnomalyDetectorMapOutput

type LogAnomalyDetectorMapInput added in v6.65.0

type LogAnomalyDetectorMapInput interface {
	pulumi.Input

	ToLogAnomalyDetectorMapOutput() LogAnomalyDetectorMapOutput
	ToLogAnomalyDetectorMapOutputWithContext(context.Context) LogAnomalyDetectorMapOutput
}

LogAnomalyDetectorMapInput is an input type that accepts LogAnomalyDetectorMap and LogAnomalyDetectorMapOutput values. You can construct a concrete instance of `LogAnomalyDetectorMapInput` via:

LogAnomalyDetectorMap{ "key": LogAnomalyDetectorArgs{...} }

type LogAnomalyDetectorMapOutput added in v6.65.0

type LogAnomalyDetectorMapOutput struct{ *pulumi.OutputState }

func (LogAnomalyDetectorMapOutput) ElementType added in v6.65.0

func (LogAnomalyDetectorMapOutput) MapIndex added in v6.65.0

func (LogAnomalyDetectorMapOutput) ToLogAnomalyDetectorMapOutput added in v6.65.0

func (o LogAnomalyDetectorMapOutput) ToLogAnomalyDetectorMapOutput() LogAnomalyDetectorMapOutput

func (LogAnomalyDetectorMapOutput) ToLogAnomalyDetectorMapOutputWithContext added in v6.65.0

func (o LogAnomalyDetectorMapOutput) ToLogAnomalyDetectorMapOutputWithContext(ctx context.Context) LogAnomalyDetectorMapOutput

type LogAnomalyDetectorOutput added in v6.65.0

type LogAnomalyDetectorOutput struct{ *pulumi.OutputState }

func (LogAnomalyDetectorOutput) AnomalyVisibilityTime added in v6.65.0

func (o LogAnomalyDetectorOutput) AnomalyVisibilityTime() pulumi.IntOutput

Number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in `anomalyVisibilityTime`, it will be considered normal going forward and will not be detected as an anomaly. Valid Range: Minimum value of 7. Maximum value of 90.

func (LogAnomalyDetectorOutput) Arn added in v6.65.0

ARN of the log anomaly detector that you just created.

func (LogAnomalyDetectorOutput) DetectorName added in v6.65.0

Name for this anomaly detector.

func (LogAnomalyDetectorOutput) ElementType added in v6.65.0

func (LogAnomalyDetectorOutput) ElementType() reflect.Type

func (LogAnomalyDetectorOutput) Enabled added in v6.65.0

func (LogAnomalyDetectorOutput) EvaluationFrequency added in v6.65.0

func (o LogAnomalyDetectorOutput) EvaluationFrequency() pulumi.StringPtrOutput

Specifies how often the anomaly detector is to run and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then 15 minutes might be a good setting for `evaluationFrequency`. Valid Values: `ONE_MIN | FIVE_MIN | TEN_MIN | FIFTEEN_MIN | THIRTY_MIN | ONE_HOUR`.

func (LogAnomalyDetectorOutput) FilterPattern added in v6.65.0

You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).

func (LogAnomalyDetectorOutput) KmsKeyId added in v6.65.0

Optionally assigns a AWS KMS key to secure this anomaly detector and its findings. If a key is assigned, the anomalies found and the model used by this detector are encrypted at rest with the key. If a key is assigned to an anomaly detector, a user must have permissions for both this key and for the anomaly detector to retrieve information about the anomalies that it finds.

func (LogAnomalyDetectorOutput) LogGroupArnLists added in v6.65.0

func (o LogAnomalyDetectorOutput) LogGroupArnLists() pulumi.StringArrayOutput

Array containing the ARN of the log group that this anomaly detector will watch. You can specify only one log group ARN.

The following arguments are optional:

func (LogAnomalyDetectorOutput) Tags added in v6.65.0

func (LogAnomalyDetectorOutput) TagsAll deprecated added in v6.65.0

Deprecated: Please use `tags` instead.

func (LogAnomalyDetectorOutput) ToLogAnomalyDetectorOutput added in v6.65.0

func (o LogAnomalyDetectorOutput) ToLogAnomalyDetectorOutput() LogAnomalyDetectorOutput

func (LogAnomalyDetectorOutput) ToLogAnomalyDetectorOutputWithContext added in v6.65.0

func (o LogAnomalyDetectorOutput) ToLogAnomalyDetectorOutputWithContext(ctx context.Context) LogAnomalyDetectorOutput

type LogAnomalyDetectorState added in v6.65.0

type LogAnomalyDetectorState struct {
	// Number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in `anomalyVisibilityTime`, it will be considered normal going forward and will not be detected as an anomaly. Valid Range: Minimum value of 7. Maximum value of 90.
	AnomalyVisibilityTime pulumi.IntPtrInput
	// ARN of the log anomaly detector that you just created.
	Arn pulumi.StringPtrInput
	// Name for this anomaly detector.
	DetectorName pulumi.StringPtrInput
	Enabled      pulumi.BoolPtrInput
	// Specifies how often the anomaly detector is to run and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then 15 minutes might be a good setting for `evaluationFrequency`. Valid Values: `ONE_MIN | FIVE_MIN | TEN_MIN | FIFTEEN_MIN | THIRTY_MIN | ONE_HOUR`.
	EvaluationFrequency pulumi.StringPtrInput
	// You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringPtrInput
	// Optionally assigns a AWS KMS key to secure this anomaly detector and its findings. If a key is assigned, the anomalies found and the model used by this detector are encrypted at rest with the key. If a key is assigned to an anomaly detector, a user must have permissions for both this key and for the anomaly detector to retrieve information about the anomalies that it finds.
	KmsKeyId pulumi.StringPtrInput
	// Array containing the ARN of the log group that this anomaly detector will watch. You can specify only one log group ARN.
	//
	// The following arguments are optional:
	LogGroupArnLists pulumi.StringArrayInput
	Tags             pulumi.StringMapInput
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (LogAnomalyDetectorState) ElementType added in v6.65.0

func (LogAnomalyDetectorState) ElementType() reflect.Type

type LogDataProtectionPolicy

type LogDataProtectionPolicy struct {
	pulumi.CustomResourceState

	// The name of the log group under which the log stream is to be created.
	LogGroupName pulumi.StringOutput `pulumi:"logGroupName"`
	// Specifies the data protection policy in JSON. Read more at [Data protection policy syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-start.html#mask-sensitive-log-data-policysyntax).
	PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"`
}

Provides a CloudWatch Log Data Protection Policy resource.

Read more about protecting sensitive user data in the [User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html).

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cloudwatch.NewLogGroup(ctx, "example", &cloudwatch.LogGroupArgs{
			Name: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		exampleBucketV2, err := s3.NewBucketV2(ctx, "example", &s3.BucketV2Args{
			Bucket: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewLogDataProtectionPolicy(ctx, "example", &cloudwatch.LogDataProtectionPolicyArgs{
			LogGroupName: example.Name,
			PolicyDocument: exampleBucketV2.Bucket.ApplyT(func(bucket string) (pulumi.String, error) {
				var _zero pulumi.String
				tmpJSON0, err := json.Marshal(map[string]interface{}{
					"Name":    "Example",
					"Version": "2021-06-01",
					"Statement": []interface{}{
						map[string]interface{}{
							"Sid": "Audit",
							"DataIdentifier": []string{
								"arn:aws:dataprotection::aws:data-identifier/EmailAddress",
							},
							"Operation": map[string]interface{}{
								"Audit": map[string]interface{}{
									"FindingsDestination": map[string]interface{}{
										"S3": map[string]interface{}{
											"Bucket": bucket,
										},
									},
								},
							},
						},
						map[string]interface{}{
							"Sid": "Redact",
							"DataIdentifier": []string{
								"arn:aws:dataprotection::aws:data-identifier/EmailAddress",
							},
							"Operation": map[string]interface{}{
								"Deidentify": map[string]interface{}{
									"MaskConfig": map[string]interface{}{},
								},
							},
						},
					},
				})
				if err != nil {
					return _zero, err
				}
				json0 := string(tmpJSON0)
				return pulumi.String(json0), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import this resource using the `log_group_name`. For example:

```sh $ pulumi import aws:cloudwatch/logDataProtectionPolicy:LogDataProtectionPolicy example my-log-group ```

func GetLogDataProtectionPolicy

func GetLogDataProtectionPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogDataProtectionPolicyState, opts ...pulumi.ResourceOption) (*LogDataProtectionPolicy, error)

GetLogDataProtectionPolicy gets an existing LogDataProtectionPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogDataProtectionPolicy

func NewLogDataProtectionPolicy(ctx *pulumi.Context,
	name string, args *LogDataProtectionPolicyArgs, opts ...pulumi.ResourceOption) (*LogDataProtectionPolicy, error)

NewLogDataProtectionPolicy registers a new resource with the given unique name, arguments, and options.

func (*LogDataProtectionPolicy) ElementType

func (*LogDataProtectionPolicy) ElementType() reflect.Type

func (*LogDataProtectionPolicy) ToLogDataProtectionPolicyOutput

func (i *LogDataProtectionPolicy) ToLogDataProtectionPolicyOutput() LogDataProtectionPolicyOutput

func (*LogDataProtectionPolicy) ToLogDataProtectionPolicyOutputWithContext

func (i *LogDataProtectionPolicy) ToLogDataProtectionPolicyOutputWithContext(ctx context.Context) LogDataProtectionPolicyOutput

type LogDataProtectionPolicyArgs

type LogDataProtectionPolicyArgs struct {
	// The name of the log group under which the log stream is to be created.
	LogGroupName pulumi.StringInput
	// Specifies the data protection policy in JSON. Read more at [Data protection policy syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-start.html#mask-sensitive-log-data-policysyntax).
	PolicyDocument pulumi.StringInput
}

The set of arguments for constructing a LogDataProtectionPolicy resource.

func (LogDataProtectionPolicyArgs) ElementType

type LogDataProtectionPolicyArray

type LogDataProtectionPolicyArray []LogDataProtectionPolicyInput

func (LogDataProtectionPolicyArray) ElementType

func (LogDataProtectionPolicyArray) ToLogDataProtectionPolicyArrayOutput

func (i LogDataProtectionPolicyArray) ToLogDataProtectionPolicyArrayOutput() LogDataProtectionPolicyArrayOutput

func (LogDataProtectionPolicyArray) ToLogDataProtectionPolicyArrayOutputWithContext

func (i LogDataProtectionPolicyArray) ToLogDataProtectionPolicyArrayOutputWithContext(ctx context.Context) LogDataProtectionPolicyArrayOutput

type LogDataProtectionPolicyArrayInput

type LogDataProtectionPolicyArrayInput interface {
	pulumi.Input

	ToLogDataProtectionPolicyArrayOutput() LogDataProtectionPolicyArrayOutput
	ToLogDataProtectionPolicyArrayOutputWithContext(context.Context) LogDataProtectionPolicyArrayOutput
}

LogDataProtectionPolicyArrayInput is an input type that accepts LogDataProtectionPolicyArray and LogDataProtectionPolicyArrayOutput values. You can construct a concrete instance of `LogDataProtectionPolicyArrayInput` via:

LogDataProtectionPolicyArray{ LogDataProtectionPolicyArgs{...} }

type LogDataProtectionPolicyArrayOutput

type LogDataProtectionPolicyArrayOutput struct{ *pulumi.OutputState }

func (LogDataProtectionPolicyArrayOutput) ElementType

func (LogDataProtectionPolicyArrayOutput) Index

func (LogDataProtectionPolicyArrayOutput) ToLogDataProtectionPolicyArrayOutput

func (o LogDataProtectionPolicyArrayOutput) ToLogDataProtectionPolicyArrayOutput() LogDataProtectionPolicyArrayOutput

func (LogDataProtectionPolicyArrayOutput) ToLogDataProtectionPolicyArrayOutputWithContext

func (o LogDataProtectionPolicyArrayOutput) ToLogDataProtectionPolicyArrayOutputWithContext(ctx context.Context) LogDataProtectionPolicyArrayOutput

type LogDataProtectionPolicyInput

type LogDataProtectionPolicyInput interface {
	pulumi.Input

	ToLogDataProtectionPolicyOutput() LogDataProtectionPolicyOutput
	ToLogDataProtectionPolicyOutputWithContext(ctx context.Context) LogDataProtectionPolicyOutput
}

type LogDataProtectionPolicyMap

type LogDataProtectionPolicyMap map[string]LogDataProtectionPolicyInput

func (LogDataProtectionPolicyMap) ElementType

func (LogDataProtectionPolicyMap) ElementType() reflect.Type

func (LogDataProtectionPolicyMap) ToLogDataProtectionPolicyMapOutput

func (i LogDataProtectionPolicyMap) ToLogDataProtectionPolicyMapOutput() LogDataProtectionPolicyMapOutput

func (LogDataProtectionPolicyMap) ToLogDataProtectionPolicyMapOutputWithContext

func (i LogDataProtectionPolicyMap) ToLogDataProtectionPolicyMapOutputWithContext(ctx context.Context) LogDataProtectionPolicyMapOutput

type LogDataProtectionPolicyMapInput

type LogDataProtectionPolicyMapInput interface {
	pulumi.Input

	ToLogDataProtectionPolicyMapOutput() LogDataProtectionPolicyMapOutput
	ToLogDataProtectionPolicyMapOutputWithContext(context.Context) LogDataProtectionPolicyMapOutput
}

LogDataProtectionPolicyMapInput is an input type that accepts LogDataProtectionPolicyMap and LogDataProtectionPolicyMapOutput values. You can construct a concrete instance of `LogDataProtectionPolicyMapInput` via:

LogDataProtectionPolicyMap{ "key": LogDataProtectionPolicyArgs{...} }

type LogDataProtectionPolicyMapOutput

type LogDataProtectionPolicyMapOutput struct{ *pulumi.OutputState }

func (LogDataProtectionPolicyMapOutput) ElementType

func (LogDataProtectionPolicyMapOutput) MapIndex

func (LogDataProtectionPolicyMapOutput) ToLogDataProtectionPolicyMapOutput

func (o LogDataProtectionPolicyMapOutput) ToLogDataProtectionPolicyMapOutput() LogDataProtectionPolicyMapOutput

func (LogDataProtectionPolicyMapOutput) ToLogDataProtectionPolicyMapOutputWithContext

func (o LogDataProtectionPolicyMapOutput) ToLogDataProtectionPolicyMapOutputWithContext(ctx context.Context) LogDataProtectionPolicyMapOutput

type LogDataProtectionPolicyOutput

type LogDataProtectionPolicyOutput struct{ *pulumi.OutputState }

func (LogDataProtectionPolicyOutput) ElementType

func (LogDataProtectionPolicyOutput) LogGroupName

The name of the log group under which the log stream is to be created.

func (LogDataProtectionPolicyOutput) PolicyDocument

Specifies the data protection policy in JSON. Read more at [Data protection policy syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-start.html#mask-sensitive-log-data-policysyntax).

func (LogDataProtectionPolicyOutput) ToLogDataProtectionPolicyOutput

func (o LogDataProtectionPolicyOutput) ToLogDataProtectionPolicyOutput() LogDataProtectionPolicyOutput

func (LogDataProtectionPolicyOutput) ToLogDataProtectionPolicyOutputWithContext

func (o LogDataProtectionPolicyOutput) ToLogDataProtectionPolicyOutputWithContext(ctx context.Context) LogDataProtectionPolicyOutput

type LogDataProtectionPolicyState

type LogDataProtectionPolicyState struct {
	// The name of the log group under which the log stream is to be created.
	LogGroupName pulumi.StringPtrInput
	// Specifies the data protection policy in JSON. Read more at [Data protection policy syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-start.html#mask-sensitive-log-data-policysyntax).
	PolicyDocument pulumi.StringPtrInput
}

func (LogDataProtectionPolicyState) ElementType

type LogDestination

type LogDestination struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) specifying the log destination.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A name for the log destination.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target.
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The ARN of the target Amazon Kinesis stream resource for the destination.
	TargetArn pulumi.StringOutput `pulumi:"targetArn"`
}

Provides a CloudWatch Logs destination resource.

## Example Usage

```go 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.NewLogDestination(ctx, "test_destination", &cloudwatch.LogDestinationArgs{
			Name:      pulumi.String("test_destination"),
			RoleArn:   pulumi.Any(iamForCloudwatch.Arn),
			TargetArn: pulumi.Any(kinesisForCloudwatch.Arn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CloudWatch Logs destinations using the `name`. For example:

```sh $ pulumi import aws:cloudwatch/logDestination:LogDestination test_destination test_destination ```

func GetLogDestination

func GetLogDestination(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogDestinationState, opts ...pulumi.ResourceOption) (*LogDestination, error)

GetLogDestination gets an existing LogDestination resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogDestination

func NewLogDestination(ctx *pulumi.Context,
	name string, args *LogDestinationArgs, opts ...pulumi.ResourceOption) (*LogDestination, error)

NewLogDestination registers a new resource with the given unique name, arguments, and options.

func (*LogDestination) ElementType

func (*LogDestination) ElementType() reflect.Type

func (*LogDestination) ToLogDestinationOutput

func (i *LogDestination) ToLogDestinationOutput() LogDestinationOutput

func (*LogDestination) ToLogDestinationOutputWithContext

func (i *LogDestination) ToLogDestinationOutputWithContext(ctx context.Context) LogDestinationOutput

type LogDestinationArgs

type LogDestinationArgs struct {
	// A name for the log destination.
	Name pulumi.StringPtrInput
	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target.
	RoleArn pulumi.StringInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The ARN of the target Amazon Kinesis stream resource for the destination.
	TargetArn pulumi.StringInput
}

The set of arguments for constructing a LogDestination resource.

func (LogDestinationArgs) ElementType

func (LogDestinationArgs) ElementType() reflect.Type

type LogDestinationArray

type LogDestinationArray []LogDestinationInput

func (LogDestinationArray) ElementType

func (LogDestinationArray) ElementType() reflect.Type

func (LogDestinationArray) ToLogDestinationArrayOutput

func (i LogDestinationArray) ToLogDestinationArrayOutput() LogDestinationArrayOutput

func (LogDestinationArray) ToLogDestinationArrayOutputWithContext

func (i LogDestinationArray) ToLogDestinationArrayOutputWithContext(ctx context.Context) LogDestinationArrayOutput

type LogDestinationArrayInput

type LogDestinationArrayInput interface {
	pulumi.Input

	ToLogDestinationArrayOutput() LogDestinationArrayOutput
	ToLogDestinationArrayOutputWithContext(context.Context) LogDestinationArrayOutput
}

LogDestinationArrayInput is an input type that accepts LogDestinationArray and LogDestinationArrayOutput values. You can construct a concrete instance of `LogDestinationArrayInput` via:

LogDestinationArray{ LogDestinationArgs{...} }

type LogDestinationArrayOutput

type LogDestinationArrayOutput struct{ *pulumi.OutputState }

func (LogDestinationArrayOutput) ElementType

func (LogDestinationArrayOutput) ElementType() reflect.Type

func (LogDestinationArrayOutput) Index

func (LogDestinationArrayOutput) ToLogDestinationArrayOutput

func (o LogDestinationArrayOutput) ToLogDestinationArrayOutput() LogDestinationArrayOutput

func (LogDestinationArrayOutput) ToLogDestinationArrayOutputWithContext

func (o LogDestinationArrayOutput) ToLogDestinationArrayOutputWithContext(ctx context.Context) LogDestinationArrayOutput

type LogDestinationInput

type LogDestinationInput interface {
	pulumi.Input

	ToLogDestinationOutput() LogDestinationOutput
	ToLogDestinationOutputWithContext(ctx context.Context) LogDestinationOutput
}

type LogDestinationMap

type LogDestinationMap map[string]LogDestinationInput

func (LogDestinationMap) ElementType

func (LogDestinationMap) ElementType() reflect.Type

func (LogDestinationMap) ToLogDestinationMapOutput

func (i LogDestinationMap) ToLogDestinationMapOutput() LogDestinationMapOutput

func (LogDestinationMap) ToLogDestinationMapOutputWithContext

func (i LogDestinationMap) ToLogDestinationMapOutputWithContext(ctx context.Context) LogDestinationMapOutput

type LogDestinationMapInput

type LogDestinationMapInput interface {
	pulumi.Input

	ToLogDestinationMapOutput() LogDestinationMapOutput
	ToLogDestinationMapOutputWithContext(context.Context) LogDestinationMapOutput
}

LogDestinationMapInput is an input type that accepts LogDestinationMap and LogDestinationMapOutput values. You can construct a concrete instance of `LogDestinationMapInput` via:

LogDestinationMap{ "key": LogDestinationArgs{...} }

type LogDestinationMapOutput

type LogDestinationMapOutput struct{ *pulumi.OutputState }

func (LogDestinationMapOutput) ElementType

func (LogDestinationMapOutput) ElementType() reflect.Type

func (LogDestinationMapOutput) MapIndex

func (LogDestinationMapOutput) ToLogDestinationMapOutput

func (o LogDestinationMapOutput) ToLogDestinationMapOutput() LogDestinationMapOutput

func (LogDestinationMapOutput) ToLogDestinationMapOutputWithContext

func (o LogDestinationMapOutput) ToLogDestinationMapOutputWithContext(ctx context.Context) LogDestinationMapOutput

type LogDestinationOutput

type LogDestinationOutput struct{ *pulumi.OutputState }

func (LogDestinationOutput) Arn

The Amazon Resource Name (ARN) specifying the log destination.

func (LogDestinationOutput) ElementType

func (LogDestinationOutput) ElementType() reflect.Type

func (LogDestinationOutput) Name

A name for the log destination.

func (LogDestinationOutput) RoleArn

The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target.

func (LogDestinationOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LogDestinationOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (LogDestinationOutput) TargetArn

The ARN of the target Amazon Kinesis stream resource for the destination.

func (LogDestinationOutput) ToLogDestinationOutput

func (o LogDestinationOutput) ToLogDestinationOutput() LogDestinationOutput

func (LogDestinationOutput) ToLogDestinationOutputWithContext

func (o LogDestinationOutput) ToLogDestinationOutputWithContext(ctx context.Context) LogDestinationOutput

type LogDestinationPolicy

type LogDestinationPolicy struct {
	pulumi.CustomResourceState

	// The policy document. This is a JSON formatted string.
	AccessPolicy pulumi.StringOutput `pulumi:"accessPolicy"`
	// A name for the subscription filter
	DestinationName pulumi.StringOutput `pulumi:"destinationName"`
	// Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.
	ForceUpdate pulumi.BoolPtrOutput `pulumi:"forceUpdate"`
}

Provides a CloudWatch Logs destination policy resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testDestination, err := cloudwatch.NewLogDestination(ctx, "test_destination", &cloudwatch.LogDestinationArgs{
			Name:      pulumi.String("test_destination"),
			RoleArn:   pulumi.Any(iamForCloudwatch.Arn),
			TargetArn: pulumi.Any(kinesisForCloudwatch.Arn),
		})
		if err != nil {
			return err
		}
		testDestinationPolicy := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Principals: iam.GetPolicyDocumentStatementPrincipalArray{
						&iam.GetPolicyDocumentStatementPrincipalArgs{
							Type: pulumi.String("AWS"),
							Identifiers: pulumi.StringArray{
								pulumi.String("123456789012"),
							},
						},
					},
					Actions: pulumi.StringArray{
						pulumi.String("logs:PutSubscriptionFilter"),
					},
					Resources: pulumi.StringArray{
						testDestination.Arn,
					},
				},
			},
		}, nil)
		_, err = cloudwatch.NewLogDestinationPolicy(ctx, "test_destination_policy", &cloudwatch.LogDestinationPolicyArgs{
			DestinationName: testDestination.Name,
			AccessPolicy: pulumi.String(testDestinationPolicy.ApplyT(func(testDestinationPolicy iam.GetPolicyDocumentResult) (*string, error) {
				return &testDestinationPolicy.Json, nil
			}).(pulumi.StringPtrOutput)),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CloudWatch Logs destination policies using the `destination_name`. For example:

```sh $ pulumi import aws:cloudwatch/logDestinationPolicy:LogDestinationPolicy test_destination_policy test_destination ```

func GetLogDestinationPolicy

func GetLogDestinationPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogDestinationPolicyState, opts ...pulumi.ResourceOption) (*LogDestinationPolicy, error)

GetLogDestinationPolicy gets an existing LogDestinationPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogDestinationPolicy

func NewLogDestinationPolicy(ctx *pulumi.Context,
	name string, args *LogDestinationPolicyArgs, opts ...pulumi.ResourceOption) (*LogDestinationPolicy, error)

NewLogDestinationPolicy registers a new resource with the given unique name, arguments, and options.

func (*LogDestinationPolicy) ElementType

func (*LogDestinationPolicy) ElementType() reflect.Type

func (*LogDestinationPolicy) ToLogDestinationPolicyOutput

func (i *LogDestinationPolicy) ToLogDestinationPolicyOutput() LogDestinationPolicyOutput

func (*LogDestinationPolicy) ToLogDestinationPolicyOutputWithContext

func (i *LogDestinationPolicy) ToLogDestinationPolicyOutputWithContext(ctx context.Context) LogDestinationPolicyOutput

type LogDestinationPolicyArgs

type LogDestinationPolicyArgs struct {
	// The policy document. This is a JSON formatted string.
	AccessPolicy pulumi.StringInput
	// A name for the subscription filter
	DestinationName pulumi.StringInput
	// Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.
	ForceUpdate pulumi.BoolPtrInput
}

The set of arguments for constructing a LogDestinationPolicy resource.

func (LogDestinationPolicyArgs) ElementType

func (LogDestinationPolicyArgs) ElementType() reflect.Type

type LogDestinationPolicyArray

type LogDestinationPolicyArray []LogDestinationPolicyInput

func (LogDestinationPolicyArray) ElementType

func (LogDestinationPolicyArray) ElementType() reflect.Type

func (LogDestinationPolicyArray) ToLogDestinationPolicyArrayOutput

func (i LogDestinationPolicyArray) ToLogDestinationPolicyArrayOutput() LogDestinationPolicyArrayOutput

func (LogDestinationPolicyArray) ToLogDestinationPolicyArrayOutputWithContext

func (i LogDestinationPolicyArray) ToLogDestinationPolicyArrayOutputWithContext(ctx context.Context) LogDestinationPolicyArrayOutput

type LogDestinationPolicyArrayInput

type LogDestinationPolicyArrayInput interface {
	pulumi.Input

	ToLogDestinationPolicyArrayOutput() LogDestinationPolicyArrayOutput
	ToLogDestinationPolicyArrayOutputWithContext(context.Context) LogDestinationPolicyArrayOutput
}

LogDestinationPolicyArrayInput is an input type that accepts LogDestinationPolicyArray and LogDestinationPolicyArrayOutput values. You can construct a concrete instance of `LogDestinationPolicyArrayInput` via:

LogDestinationPolicyArray{ LogDestinationPolicyArgs{...} }

type LogDestinationPolicyArrayOutput

type LogDestinationPolicyArrayOutput struct{ *pulumi.OutputState }

func (LogDestinationPolicyArrayOutput) ElementType

func (LogDestinationPolicyArrayOutput) Index

func (LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutput

func (o LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutput() LogDestinationPolicyArrayOutput

func (LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutputWithContext

func (o LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutputWithContext(ctx context.Context) LogDestinationPolicyArrayOutput

type LogDestinationPolicyInput

type LogDestinationPolicyInput interface {
	pulumi.Input

	ToLogDestinationPolicyOutput() LogDestinationPolicyOutput
	ToLogDestinationPolicyOutputWithContext(ctx context.Context) LogDestinationPolicyOutput
}

type LogDestinationPolicyMap

type LogDestinationPolicyMap map[string]LogDestinationPolicyInput

func (LogDestinationPolicyMap) ElementType

func (LogDestinationPolicyMap) ElementType() reflect.Type

func (LogDestinationPolicyMap) ToLogDestinationPolicyMapOutput

func (i LogDestinationPolicyMap) ToLogDestinationPolicyMapOutput() LogDestinationPolicyMapOutput

func (LogDestinationPolicyMap) ToLogDestinationPolicyMapOutputWithContext

func (i LogDestinationPolicyMap) ToLogDestinationPolicyMapOutputWithContext(ctx context.Context) LogDestinationPolicyMapOutput

type LogDestinationPolicyMapInput

type LogDestinationPolicyMapInput interface {
	pulumi.Input

	ToLogDestinationPolicyMapOutput() LogDestinationPolicyMapOutput
	ToLogDestinationPolicyMapOutputWithContext(context.Context) LogDestinationPolicyMapOutput
}

LogDestinationPolicyMapInput is an input type that accepts LogDestinationPolicyMap and LogDestinationPolicyMapOutput values. You can construct a concrete instance of `LogDestinationPolicyMapInput` via:

LogDestinationPolicyMap{ "key": LogDestinationPolicyArgs{...} }

type LogDestinationPolicyMapOutput

type LogDestinationPolicyMapOutput struct{ *pulumi.OutputState }

func (LogDestinationPolicyMapOutput) ElementType

func (LogDestinationPolicyMapOutput) MapIndex

func (LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutput

func (o LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutput() LogDestinationPolicyMapOutput

func (LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutputWithContext

func (o LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutputWithContext(ctx context.Context) LogDestinationPolicyMapOutput

type LogDestinationPolicyOutput

type LogDestinationPolicyOutput struct{ *pulumi.OutputState }

func (LogDestinationPolicyOutput) AccessPolicy

The policy document. This is a JSON formatted string.

func (LogDestinationPolicyOutput) DestinationName

func (o LogDestinationPolicyOutput) DestinationName() pulumi.StringOutput

A name for the subscription filter

func (LogDestinationPolicyOutput) ElementType

func (LogDestinationPolicyOutput) ElementType() reflect.Type

func (LogDestinationPolicyOutput) ForceUpdate

Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.

func (LogDestinationPolicyOutput) ToLogDestinationPolicyOutput

func (o LogDestinationPolicyOutput) ToLogDestinationPolicyOutput() LogDestinationPolicyOutput

func (LogDestinationPolicyOutput) ToLogDestinationPolicyOutputWithContext

func (o LogDestinationPolicyOutput) ToLogDestinationPolicyOutputWithContext(ctx context.Context) LogDestinationPolicyOutput

type LogDestinationPolicyState

type LogDestinationPolicyState struct {
	// The policy document. This is a JSON formatted string.
	AccessPolicy pulumi.StringPtrInput
	// A name for the subscription filter
	DestinationName pulumi.StringPtrInput
	// Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.
	ForceUpdate pulumi.BoolPtrInput
}

func (LogDestinationPolicyState) ElementType

func (LogDestinationPolicyState) ElementType() reflect.Type

type LogDestinationState

type LogDestinationState struct {
	// The Amazon Resource Name (ARN) specifying the log destination.
	Arn pulumi.StringPtrInput
	// A name for the log destination.
	Name pulumi.StringPtrInput
	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target.
	RoleArn pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The ARN of the target Amazon Kinesis stream resource for the destination.
	TargetArn pulumi.StringPtrInput
}

func (LogDestinationState) ElementType

func (LogDestinationState) ElementType() reflect.Type

type LogGroup

type LogGroup struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) specifying the log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group,
	// AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires
	// permissions for the CMK whenever the encrypted data is requested.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// Specified the log class of the log group. Possible values are: `STANDARD` or `INFREQUENT_ACCESS`.
	LogGroupClass pulumi.StringOutput `pulumi:"logGroupClass"`
	// The name of the log group. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringOutput `pulumi:"namePrefix"`
	// Specifies the number of days
	// you want to retain log events in the specified log group.  Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
	// If you select 0, the events in the log group are always retained and never expire.
	RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"`
	// Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.
	SkipDestroy pulumi.BoolPtrOutput `pulumi:"skipDestroy"`
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a CloudWatch Log Group resource.

## Example Usage

```go 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.NewLogGroup(ctx, "yada", &cloudwatch.LogGroupArgs{
			Name: pulumi.String("Yada"),
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("production"),
				"Application": pulumi.String("serviceA"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Cloudwatch Log Groups using the `name`. For example:

```sh $ pulumi import aws:cloudwatch/logGroup:LogGroup test_group yada ```

func GetLogGroup

func GetLogGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogGroupState, opts ...pulumi.ResourceOption) (*LogGroup, error)

GetLogGroup gets an existing LogGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogGroup

func NewLogGroup(ctx *pulumi.Context,
	name string, args *LogGroupArgs, opts ...pulumi.ResourceOption) (*LogGroup, error)

NewLogGroup registers a new resource with the given unique name, arguments, and options.

func (*LogGroup) ElementType

func (*LogGroup) ElementType() reflect.Type

func (*LogGroup) ToLogGroupOutput

func (i *LogGroup) ToLogGroupOutput() LogGroupOutput

func (*LogGroup) ToLogGroupOutputWithContext

func (i *LogGroup) ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput

type LogGroupArgs

type LogGroupArgs struct {
	// The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group,
	// AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires
	// permissions for the CMK whenever the encrypted data is requested.
	KmsKeyId pulumi.StringPtrInput
	// Specified the log class of the log group. Possible values are: `STANDARD` or `INFREQUENT_ACCESS`.
	LogGroupClass pulumi.StringPtrInput
	// The name of the log group. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// Specifies the number of days
	// you want to retain log events in the specified log group.  Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
	// If you select 0, the events in the log group are always retained and never expire.
	RetentionInDays pulumi.IntPtrInput
	// Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.
	SkipDestroy pulumi.BoolPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LogGroup resource.

func (LogGroupArgs) ElementType

func (LogGroupArgs) ElementType() reflect.Type

type LogGroupArray

type LogGroupArray []LogGroupInput

func (LogGroupArray) ElementType

func (LogGroupArray) ElementType() reflect.Type

func (LogGroupArray) ToLogGroupArrayOutput

func (i LogGroupArray) ToLogGroupArrayOutput() LogGroupArrayOutput

func (LogGroupArray) ToLogGroupArrayOutputWithContext

func (i LogGroupArray) ToLogGroupArrayOutputWithContext(ctx context.Context) LogGroupArrayOutput

type LogGroupArrayInput

type LogGroupArrayInput interface {
	pulumi.Input

	ToLogGroupArrayOutput() LogGroupArrayOutput
	ToLogGroupArrayOutputWithContext(context.Context) LogGroupArrayOutput
}

LogGroupArrayInput is an input type that accepts LogGroupArray and LogGroupArrayOutput values. You can construct a concrete instance of `LogGroupArrayInput` via:

LogGroupArray{ LogGroupArgs{...} }

type LogGroupArrayOutput

type LogGroupArrayOutput struct{ *pulumi.OutputState }

func (LogGroupArrayOutput) ElementType

func (LogGroupArrayOutput) ElementType() reflect.Type

func (LogGroupArrayOutput) Index

func (LogGroupArrayOutput) ToLogGroupArrayOutput

func (o LogGroupArrayOutput) ToLogGroupArrayOutput() LogGroupArrayOutput

func (LogGroupArrayOutput) ToLogGroupArrayOutputWithContext

func (o LogGroupArrayOutput) ToLogGroupArrayOutputWithContext(ctx context.Context) LogGroupArrayOutput

type LogGroupInput

type LogGroupInput interface {
	pulumi.Input

	ToLogGroupOutput() LogGroupOutput
	ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput
}

type LogGroupMap

type LogGroupMap map[string]LogGroupInput

func (LogGroupMap) ElementType

func (LogGroupMap) ElementType() reflect.Type

func (LogGroupMap) ToLogGroupMapOutput

func (i LogGroupMap) ToLogGroupMapOutput() LogGroupMapOutput

func (LogGroupMap) ToLogGroupMapOutputWithContext

func (i LogGroupMap) ToLogGroupMapOutputWithContext(ctx context.Context) LogGroupMapOutput

type LogGroupMapInput

type LogGroupMapInput interface {
	pulumi.Input

	ToLogGroupMapOutput() LogGroupMapOutput
	ToLogGroupMapOutputWithContext(context.Context) LogGroupMapOutput
}

LogGroupMapInput is an input type that accepts LogGroupMap and LogGroupMapOutput values. You can construct a concrete instance of `LogGroupMapInput` via:

LogGroupMap{ "key": LogGroupArgs{...} }

type LogGroupMapOutput

type LogGroupMapOutput struct{ *pulumi.OutputState }

func (LogGroupMapOutput) ElementType

func (LogGroupMapOutput) ElementType() reflect.Type

func (LogGroupMapOutput) MapIndex

func (LogGroupMapOutput) ToLogGroupMapOutput

func (o LogGroupMapOutput) ToLogGroupMapOutput() LogGroupMapOutput

func (LogGroupMapOutput) ToLogGroupMapOutputWithContext

func (o LogGroupMapOutput) ToLogGroupMapOutputWithContext(ctx context.Context) LogGroupMapOutput

type LogGroupOutput

type LogGroupOutput struct{ *pulumi.OutputState }

func (LogGroupOutput) Arn

The Amazon Resource Name (ARN) specifying the log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix.

func (LogGroupOutput) ElementType

func (LogGroupOutput) ElementType() reflect.Type

func (LogGroupOutput) KmsKeyId

func (o LogGroupOutput) KmsKeyId() pulumi.StringPtrOutput

The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.

func (LogGroupOutput) LogGroupClass added in v6.14.0

func (o LogGroupOutput) LogGroupClass() pulumi.StringOutput

Specified the log class of the log group. Possible values are: `STANDARD` or `INFREQUENT_ACCESS`.

func (LogGroupOutput) Name

The name of the log group. If omitted, this provider will assign a random, unique name.

func (LogGroupOutput) NamePrefix

func (o LogGroupOutput) NamePrefix() pulumi.StringOutput

Creates a unique name beginning with the specified prefix. Conflicts with `name`.

func (LogGroupOutput) RetentionInDays

func (o LogGroupOutput) RetentionInDays() pulumi.IntPtrOutput

Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0. If you select 0, the events in the log group are always retained and never expire.

func (LogGroupOutput) SkipDestroy

func (o LogGroupOutput) SkipDestroy() pulumi.BoolPtrOutput

Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.

func (LogGroupOutput) Tags

A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LogGroupOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (LogGroupOutput) ToLogGroupOutput

func (o LogGroupOutput) ToLogGroupOutput() LogGroupOutput

func (LogGroupOutput) ToLogGroupOutputWithContext

func (o LogGroupOutput) ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput

type LogGroupState

type LogGroupState struct {
	// The Amazon Resource Name (ARN) specifying the log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix.
	Arn pulumi.StringPtrInput
	// The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group,
	// AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires
	// permissions for the CMK whenever the encrypted data is requested.
	KmsKeyId pulumi.StringPtrInput
	// Specified the log class of the log group. Possible values are: `STANDARD` or `INFREQUENT_ACCESS`.
	LogGroupClass pulumi.StringPtrInput
	// The name of the log group. If omitted, this provider will assign a random, unique name.
	Name pulumi.StringPtrInput
	// Creates a unique name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// Specifies the number of days
	// you want to retain log events in the specified log group.  Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
	// If you select 0, the events in the log group are always retained and never expire.
	RetentionInDays pulumi.IntPtrInput
	// Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.
	SkipDestroy pulumi.BoolPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (LogGroupState) ElementType

func (LogGroupState) ElementType() reflect.Type

type LogMetricFilter

type LogMetricFilter struct {
	pulumi.CustomResourceState

	// The name of the log group to associate the metric filter with.
	LogGroupName pulumi.StringOutput `pulumi:"logGroupName"`
	// A block defining collection of information needed to define how metric data gets emitted. See below.
	MetricTransformation LogMetricFilterMetricTransformationOutput `pulumi:"metricTransformation"`
	// A name for the metric filter.
	Name pulumi.StringOutput `pulumi:"name"`
	// A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html)
	// for extracting metric data out of ingested log events.
	Pattern pulumi.StringOutput `pulumi:"pattern"`
}

Provides a CloudWatch Log Metric Filter resource.

## Example Usage

```go 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 {
		dada, err := cloudwatch.NewLogGroup(ctx, "dada", &cloudwatch.LogGroupArgs{
			Name: pulumi.String("MyApp/access.log"),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewLogMetricFilter(ctx, "yada", &cloudwatch.LogMetricFilterArgs{
			Name:         pulumi.String("MyAppAccessCount"),
			Pattern:      pulumi.String(""),
			LogGroupName: dada.Name,
			MetricTransformation: &cloudwatch.LogMetricFilterMetricTransformationArgs{
				Name:      pulumi.String("EventCount"),
				Namespace: pulumi.String("YourNamespace"),
				Value:     pulumi.String("1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CloudWatch Log Metric Filter using the `log_group_name:name`. For example:

```sh $ pulumi import aws:cloudwatch/logMetricFilter:LogMetricFilter test /aws/lambda/function:test ```

func GetLogMetricFilter

func GetLogMetricFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogMetricFilterState, opts ...pulumi.ResourceOption) (*LogMetricFilter, error)

GetLogMetricFilter gets an existing LogMetricFilter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogMetricFilter

func NewLogMetricFilter(ctx *pulumi.Context,
	name string, args *LogMetricFilterArgs, opts ...pulumi.ResourceOption) (*LogMetricFilter, error)

NewLogMetricFilter registers a new resource with the given unique name, arguments, and options.

func (*LogMetricFilter) ElementType

func (*LogMetricFilter) ElementType() reflect.Type

func (*LogMetricFilter) ToLogMetricFilterOutput

func (i *LogMetricFilter) ToLogMetricFilterOutput() LogMetricFilterOutput

func (*LogMetricFilter) ToLogMetricFilterOutputWithContext

func (i *LogMetricFilter) ToLogMetricFilterOutputWithContext(ctx context.Context) LogMetricFilterOutput

type LogMetricFilterArgs

type LogMetricFilterArgs struct {
	// The name of the log group to associate the metric filter with.
	LogGroupName pulumi.StringInput
	// A block defining collection of information needed to define how metric data gets emitted. See below.
	MetricTransformation LogMetricFilterMetricTransformationInput
	// A name for the metric filter.
	Name pulumi.StringPtrInput
	// A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html)
	// for extracting metric data out of ingested log events.
	Pattern pulumi.StringInput
}

The set of arguments for constructing a LogMetricFilter resource.

func (LogMetricFilterArgs) ElementType

func (LogMetricFilterArgs) ElementType() reflect.Type

type LogMetricFilterArray

type LogMetricFilterArray []LogMetricFilterInput

func (LogMetricFilterArray) ElementType

func (LogMetricFilterArray) ElementType() reflect.Type

func (LogMetricFilterArray) ToLogMetricFilterArrayOutput

func (i LogMetricFilterArray) ToLogMetricFilterArrayOutput() LogMetricFilterArrayOutput

func (LogMetricFilterArray) ToLogMetricFilterArrayOutputWithContext

func (i LogMetricFilterArray) ToLogMetricFilterArrayOutputWithContext(ctx context.Context) LogMetricFilterArrayOutput

type LogMetricFilterArrayInput

type LogMetricFilterArrayInput interface {
	pulumi.Input

	ToLogMetricFilterArrayOutput() LogMetricFilterArrayOutput
	ToLogMetricFilterArrayOutputWithContext(context.Context) LogMetricFilterArrayOutput
}

LogMetricFilterArrayInput is an input type that accepts LogMetricFilterArray and LogMetricFilterArrayOutput values. You can construct a concrete instance of `LogMetricFilterArrayInput` via:

LogMetricFilterArray{ LogMetricFilterArgs{...} }

type LogMetricFilterArrayOutput

type LogMetricFilterArrayOutput struct{ *pulumi.OutputState }

func (LogMetricFilterArrayOutput) ElementType

func (LogMetricFilterArrayOutput) ElementType() reflect.Type

func (LogMetricFilterArrayOutput) Index

func (LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutput

func (o LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutput() LogMetricFilterArrayOutput

func (LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutputWithContext

func (o LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutputWithContext(ctx context.Context) LogMetricFilterArrayOutput

type LogMetricFilterInput

type LogMetricFilterInput interface {
	pulumi.Input

	ToLogMetricFilterOutput() LogMetricFilterOutput
	ToLogMetricFilterOutputWithContext(ctx context.Context) LogMetricFilterOutput
}

type LogMetricFilterMap

type LogMetricFilterMap map[string]LogMetricFilterInput

func (LogMetricFilterMap) ElementType

func (LogMetricFilterMap) ElementType() reflect.Type

func (LogMetricFilterMap) ToLogMetricFilterMapOutput

func (i LogMetricFilterMap) ToLogMetricFilterMapOutput() LogMetricFilterMapOutput

func (LogMetricFilterMap) ToLogMetricFilterMapOutputWithContext

func (i LogMetricFilterMap) ToLogMetricFilterMapOutputWithContext(ctx context.Context) LogMetricFilterMapOutput

type LogMetricFilterMapInput

type LogMetricFilterMapInput interface {
	pulumi.Input

	ToLogMetricFilterMapOutput() LogMetricFilterMapOutput
	ToLogMetricFilterMapOutputWithContext(context.Context) LogMetricFilterMapOutput
}

LogMetricFilterMapInput is an input type that accepts LogMetricFilterMap and LogMetricFilterMapOutput values. You can construct a concrete instance of `LogMetricFilterMapInput` via:

LogMetricFilterMap{ "key": LogMetricFilterArgs{...} }

type LogMetricFilterMapOutput

type LogMetricFilterMapOutput struct{ *pulumi.OutputState }

func (LogMetricFilterMapOutput) ElementType

func (LogMetricFilterMapOutput) ElementType() reflect.Type

func (LogMetricFilterMapOutput) MapIndex

func (LogMetricFilterMapOutput) ToLogMetricFilterMapOutput

func (o LogMetricFilterMapOutput) ToLogMetricFilterMapOutput() LogMetricFilterMapOutput

func (LogMetricFilterMapOutput) ToLogMetricFilterMapOutputWithContext

func (o LogMetricFilterMapOutput) ToLogMetricFilterMapOutputWithContext(ctx context.Context) LogMetricFilterMapOutput

type LogMetricFilterMetricTransformation

type LogMetricFilterMetricTransformation struct {
	// The value to emit when a filter pattern does not match a log event. Conflicts with `dimensions`.
	DefaultValue *string `pulumi:"defaultValue"`
	// Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with `defaultValue`.
	Dimensions map[string]string `pulumi:"dimensions"`
	// The name of the CloudWatch metric to which the monitored log information should be published (e.g., `ErrorCount`)
	Name string `pulumi:"name"`
	// The destination namespace of the CloudWatch metric.
	Namespace string `pulumi:"namespace"`
	// The unit to assign to the metric. If you omit this, the unit is set as `None`.
	Unit *string `pulumi:"unit"`
	// What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
	Value string `pulumi:"value"`
}

type LogMetricFilterMetricTransformationArgs

type LogMetricFilterMetricTransformationArgs struct {
	// The value to emit when a filter pattern does not match a log event. Conflicts with `dimensions`.
	DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"`
	// Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with `defaultValue`.
	Dimensions pulumi.StringMapInput `pulumi:"dimensions"`
	// The name of the CloudWatch metric to which the monitored log information should be published (e.g., `ErrorCount`)
	Name pulumi.StringInput `pulumi:"name"`
	// The destination namespace of the CloudWatch metric.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The unit to assign to the metric. If you omit this, the unit is set as `None`.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
	// What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
	Value pulumi.StringInput `pulumi:"value"`
}

func (LogMetricFilterMetricTransformationArgs) ElementType

func (LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutput

func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutput() LogMetricFilterMetricTransformationOutput

func (LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutputWithContext

func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationOutput

func (LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutput

func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput

func (LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutputWithContext

func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationPtrOutput

type LogMetricFilterMetricTransformationInput

type LogMetricFilterMetricTransformationInput interface {
	pulumi.Input

	ToLogMetricFilterMetricTransformationOutput() LogMetricFilterMetricTransformationOutput
	ToLogMetricFilterMetricTransformationOutputWithContext(context.Context) LogMetricFilterMetricTransformationOutput
}

LogMetricFilterMetricTransformationInput is an input type that accepts LogMetricFilterMetricTransformationArgs and LogMetricFilterMetricTransformationOutput values. You can construct a concrete instance of `LogMetricFilterMetricTransformationInput` via:

LogMetricFilterMetricTransformationArgs{...}

type LogMetricFilterMetricTransformationOutput

type LogMetricFilterMetricTransformationOutput struct{ *pulumi.OutputState }

func (LogMetricFilterMetricTransformationOutput) DefaultValue

The value to emit when a filter pattern does not match a log event. Conflicts with `dimensions`.

func (LogMetricFilterMetricTransformationOutput) Dimensions

Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with `defaultValue`.

func (LogMetricFilterMetricTransformationOutput) ElementType

func (LogMetricFilterMetricTransformationOutput) Name

The name of the CloudWatch metric to which the monitored log information should be published (e.g., `ErrorCount`)

func (LogMetricFilterMetricTransformationOutput) Namespace

The destination namespace of the CloudWatch metric.

func (LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutput

func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutput() LogMetricFilterMetricTransformationOutput

func (LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutputWithContext

func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationOutput

func (LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutput

func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput

func (LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext

func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationPtrOutput

func (LogMetricFilterMetricTransformationOutput) Unit

The unit to assign to the metric. If you omit this, the unit is set as `None`.

func (LogMetricFilterMetricTransformationOutput) Value

What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.

type LogMetricFilterMetricTransformationPtrInput

type LogMetricFilterMetricTransformationPtrInput interface {
	pulumi.Input

	ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput
	ToLogMetricFilterMetricTransformationPtrOutputWithContext(context.Context) LogMetricFilterMetricTransformationPtrOutput
}

LogMetricFilterMetricTransformationPtrInput is an input type that accepts LogMetricFilterMetricTransformationArgs, LogMetricFilterMetricTransformationPtr and LogMetricFilterMetricTransformationPtrOutput values. You can construct a concrete instance of `LogMetricFilterMetricTransformationPtrInput` via:

        LogMetricFilterMetricTransformationArgs{...}

or:

        nil

type LogMetricFilterMetricTransformationPtrOutput

type LogMetricFilterMetricTransformationPtrOutput struct{ *pulumi.OutputState }

func (LogMetricFilterMetricTransformationPtrOutput) DefaultValue

The value to emit when a filter pattern does not match a log event. Conflicts with `dimensions`.

func (LogMetricFilterMetricTransformationPtrOutput) Dimensions

Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with `defaultValue`.

func (LogMetricFilterMetricTransformationPtrOutput) Elem

func (LogMetricFilterMetricTransformationPtrOutput) ElementType

func (LogMetricFilterMetricTransformationPtrOutput) Name

The name of the CloudWatch metric to which the monitored log information should be published (e.g., `ErrorCount`)

func (LogMetricFilterMetricTransformationPtrOutput) Namespace

The destination namespace of the CloudWatch metric.

func (LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutput

func (o LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput

func (LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext

func (o LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationPtrOutput

func (LogMetricFilterMetricTransformationPtrOutput) Unit

The unit to assign to the metric. If you omit this, the unit is set as `None`.

func (LogMetricFilterMetricTransformationPtrOutput) Value

What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.

type LogMetricFilterOutput

type LogMetricFilterOutput struct{ *pulumi.OutputState }

func (LogMetricFilterOutput) ElementType

func (LogMetricFilterOutput) ElementType() reflect.Type

func (LogMetricFilterOutput) LogGroupName

func (o LogMetricFilterOutput) LogGroupName() pulumi.StringOutput

The name of the log group to associate the metric filter with.

func (LogMetricFilterOutput) MetricTransformation

A block defining collection of information needed to define how metric data gets emitted. See below.

func (LogMetricFilterOutput) Name

A name for the metric filter.

func (LogMetricFilterOutput) Pattern

A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html) for extracting metric data out of ingested log events.

func (LogMetricFilterOutput) ToLogMetricFilterOutput

func (o LogMetricFilterOutput) ToLogMetricFilterOutput() LogMetricFilterOutput

func (LogMetricFilterOutput) ToLogMetricFilterOutputWithContext

func (o LogMetricFilterOutput) ToLogMetricFilterOutputWithContext(ctx context.Context) LogMetricFilterOutput

type LogMetricFilterState

type LogMetricFilterState struct {
	// The name of the log group to associate the metric filter with.
	LogGroupName pulumi.StringPtrInput
	// A block defining collection of information needed to define how metric data gets emitted. See below.
	MetricTransformation LogMetricFilterMetricTransformationPtrInput
	// A name for the metric filter.
	Name pulumi.StringPtrInput
	// A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html)
	// for extracting metric data out of ingested log events.
	Pattern pulumi.StringPtrInput
}

func (LogMetricFilterState) ElementType

func (LogMetricFilterState) ElementType() reflect.Type

type LogResourcePolicy

type LogResourcePolicy struct {
	pulumi.CustomResourceState

	// Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.
	PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"`
	// Name of the resource policy.
	PolicyName pulumi.StringOutput `pulumi:"policyName"`
}

Provides a resource to manage a CloudWatch log resource policy.

## Example Usage

### Elasticsearch Log Publishing

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		elasticsearch_log_publishing_policy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Actions: []string{
						"logs:CreateLogStream",
						"logs:PutLogEvents",
						"logs:PutLogEventsBatch",
					},
					Resources: []string{
						"arn:aws:logs:*",
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Identifiers: []string{
								"es.amazonaws.com",
							},
							Type: "Service",
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewLogResourcePolicy(ctx, "elasticsearch-log-publishing-policy", &cloudwatch.LogResourcePolicyArgs{
			PolicyDocument: pulumi.String(elasticsearch_log_publishing_policy.Json),
			PolicyName:     pulumi.String("elasticsearch-log-publishing-policy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Route53 Query Logging

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		route53_query_logging_policy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Actions: []string{
						"logs:CreateLogStream",
						"logs:PutLogEvents",
					},
					Resources: []string{
						"arn:aws:logs:*:*:log-group:/aws/route53/*",
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Identifiers: []string{
								"route53.amazonaws.com",
							},
							Type: "Service",
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewLogResourcePolicy(ctx, "route53-query-logging-policy", &cloudwatch.LogResourcePolicyArgs{
			PolicyDocument: pulumi.String(route53_query_logging_policy.Json),
			PolicyName:     pulumi.String("route53-query-logging-policy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CloudWatch log resource policies using the policy name. For example:

```sh $ pulumi import aws:cloudwatch/logResourcePolicy:LogResourcePolicy MyPolicy MyPolicy ```

func GetLogResourcePolicy

func GetLogResourcePolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogResourcePolicyState, opts ...pulumi.ResourceOption) (*LogResourcePolicy, error)

GetLogResourcePolicy gets an existing LogResourcePolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogResourcePolicy

func NewLogResourcePolicy(ctx *pulumi.Context,
	name string, args *LogResourcePolicyArgs, opts ...pulumi.ResourceOption) (*LogResourcePolicy, error)

NewLogResourcePolicy registers a new resource with the given unique name, arguments, and options.

func (*LogResourcePolicy) ElementType

func (*LogResourcePolicy) ElementType() reflect.Type

func (*LogResourcePolicy) ToLogResourcePolicyOutput

func (i *LogResourcePolicy) ToLogResourcePolicyOutput() LogResourcePolicyOutput

func (*LogResourcePolicy) ToLogResourcePolicyOutputWithContext

func (i *LogResourcePolicy) ToLogResourcePolicyOutputWithContext(ctx context.Context) LogResourcePolicyOutput

type LogResourcePolicyArgs

type LogResourcePolicyArgs struct {
	// Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.
	PolicyDocument pulumi.Input
	// Name of the resource policy.
	PolicyName pulumi.StringInput
}

The set of arguments for constructing a LogResourcePolicy resource.

func (LogResourcePolicyArgs) ElementType

func (LogResourcePolicyArgs) ElementType() reflect.Type

type LogResourcePolicyArray

type LogResourcePolicyArray []LogResourcePolicyInput

func (LogResourcePolicyArray) ElementType

func (LogResourcePolicyArray) ElementType() reflect.Type

func (LogResourcePolicyArray) ToLogResourcePolicyArrayOutput

func (i LogResourcePolicyArray) ToLogResourcePolicyArrayOutput() LogResourcePolicyArrayOutput

func (LogResourcePolicyArray) ToLogResourcePolicyArrayOutputWithContext

func (i LogResourcePolicyArray) ToLogResourcePolicyArrayOutputWithContext(ctx context.Context) LogResourcePolicyArrayOutput

type LogResourcePolicyArrayInput

type LogResourcePolicyArrayInput interface {
	pulumi.Input

	ToLogResourcePolicyArrayOutput() LogResourcePolicyArrayOutput
	ToLogResourcePolicyArrayOutputWithContext(context.Context) LogResourcePolicyArrayOutput
}

LogResourcePolicyArrayInput is an input type that accepts LogResourcePolicyArray and LogResourcePolicyArrayOutput values. You can construct a concrete instance of `LogResourcePolicyArrayInput` via:

LogResourcePolicyArray{ LogResourcePolicyArgs{...} }

type LogResourcePolicyArrayOutput

type LogResourcePolicyArrayOutput struct{ *pulumi.OutputState }

func (LogResourcePolicyArrayOutput) ElementType

func (LogResourcePolicyArrayOutput) Index

func (LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutput

func (o LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutput() LogResourcePolicyArrayOutput

func (LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutputWithContext

func (o LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutputWithContext(ctx context.Context) LogResourcePolicyArrayOutput

type LogResourcePolicyInput

type LogResourcePolicyInput interface {
	pulumi.Input

	ToLogResourcePolicyOutput() LogResourcePolicyOutput
	ToLogResourcePolicyOutputWithContext(ctx context.Context) LogResourcePolicyOutput
}

type LogResourcePolicyMap

type LogResourcePolicyMap map[string]LogResourcePolicyInput

func (LogResourcePolicyMap) ElementType

func (LogResourcePolicyMap) ElementType() reflect.Type

func (LogResourcePolicyMap) ToLogResourcePolicyMapOutput

func (i LogResourcePolicyMap) ToLogResourcePolicyMapOutput() LogResourcePolicyMapOutput

func (LogResourcePolicyMap) ToLogResourcePolicyMapOutputWithContext

func (i LogResourcePolicyMap) ToLogResourcePolicyMapOutputWithContext(ctx context.Context) LogResourcePolicyMapOutput

type LogResourcePolicyMapInput

type LogResourcePolicyMapInput interface {
	pulumi.Input

	ToLogResourcePolicyMapOutput() LogResourcePolicyMapOutput
	ToLogResourcePolicyMapOutputWithContext(context.Context) LogResourcePolicyMapOutput
}

LogResourcePolicyMapInput is an input type that accepts LogResourcePolicyMap and LogResourcePolicyMapOutput values. You can construct a concrete instance of `LogResourcePolicyMapInput` via:

LogResourcePolicyMap{ "key": LogResourcePolicyArgs{...} }

type LogResourcePolicyMapOutput

type LogResourcePolicyMapOutput struct{ *pulumi.OutputState }

func (LogResourcePolicyMapOutput) ElementType

func (LogResourcePolicyMapOutput) ElementType() reflect.Type

func (LogResourcePolicyMapOutput) MapIndex

func (LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutput

func (o LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutput() LogResourcePolicyMapOutput

func (LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutputWithContext

func (o LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutputWithContext(ctx context.Context) LogResourcePolicyMapOutput

type LogResourcePolicyOutput

type LogResourcePolicyOutput struct{ *pulumi.OutputState }

func (LogResourcePolicyOutput) ElementType

func (LogResourcePolicyOutput) ElementType() reflect.Type

func (LogResourcePolicyOutput) PolicyDocument

func (o LogResourcePolicyOutput) PolicyDocument() pulumi.StringOutput

Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.

func (LogResourcePolicyOutput) PolicyName

Name of the resource policy.

func (LogResourcePolicyOutput) ToLogResourcePolicyOutput

func (o LogResourcePolicyOutput) ToLogResourcePolicyOutput() LogResourcePolicyOutput

func (LogResourcePolicyOutput) ToLogResourcePolicyOutputWithContext

func (o LogResourcePolicyOutput) ToLogResourcePolicyOutputWithContext(ctx context.Context) LogResourcePolicyOutput

type LogResourcePolicyState

type LogResourcePolicyState struct {
	// Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.
	PolicyDocument pulumi.Input
	// Name of the resource policy.
	PolicyName pulumi.StringPtrInput
}

func (LogResourcePolicyState) ElementType

func (LogResourcePolicyState) ElementType() reflect.Type

type LogStream

type LogStream struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) specifying the log stream.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the log group under which the log stream is to be created.
	LogGroupName pulumi.StringOutput `pulumi:"logGroupName"`
	// The name of the log stream. Must not be longer than 512 characters and must not contain `:`
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a CloudWatch Log Stream resource.

## Example Usage

```go 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 {
		yada, err := cloudwatch.NewLogGroup(ctx, "yada", &cloudwatch.LogGroupArgs{
			Name: pulumi.String("Yada"),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewLogStream(ctx, "foo", &cloudwatch.LogStreamArgs{
			Name:         pulumi.String("SampleLogStream1234"),
			LogGroupName: yada.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Cloudwatch Log Stream using the stream's `log_group_name` and `name`. For example:

```sh $ pulumi import aws:cloudwatch/logStream:LogStream foo Yada:SampleLogStream1234 ```

func GetLogStream

func GetLogStream(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogStreamState, opts ...pulumi.ResourceOption) (*LogStream, error)

GetLogStream gets an existing LogStream resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogStream

func NewLogStream(ctx *pulumi.Context,
	name string, args *LogStreamArgs, opts ...pulumi.ResourceOption) (*LogStream, error)

NewLogStream registers a new resource with the given unique name, arguments, and options.

func (*LogStream) ElementType

func (*LogStream) ElementType() reflect.Type

func (*LogStream) ToLogStreamOutput

func (i *LogStream) ToLogStreamOutput() LogStreamOutput

func (*LogStream) ToLogStreamOutputWithContext

func (i *LogStream) ToLogStreamOutputWithContext(ctx context.Context) LogStreamOutput

type LogStreamArgs

type LogStreamArgs struct {
	// The name of the log group under which the log stream is to be created.
	LogGroupName pulumi.StringInput
	// The name of the log stream. Must not be longer than 512 characters and must not contain `:`
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a LogStream resource.

func (LogStreamArgs) ElementType

func (LogStreamArgs) ElementType() reflect.Type

type LogStreamArray

type LogStreamArray []LogStreamInput

func (LogStreamArray) ElementType

func (LogStreamArray) ElementType() reflect.Type

func (LogStreamArray) ToLogStreamArrayOutput

func (i LogStreamArray) ToLogStreamArrayOutput() LogStreamArrayOutput

func (LogStreamArray) ToLogStreamArrayOutputWithContext

func (i LogStreamArray) ToLogStreamArrayOutputWithContext(ctx context.Context) LogStreamArrayOutput

type LogStreamArrayInput

type LogStreamArrayInput interface {
	pulumi.Input

	ToLogStreamArrayOutput() LogStreamArrayOutput
	ToLogStreamArrayOutputWithContext(context.Context) LogStreamArrayOutput
}

LogStreamArrayInput is an input type that accepts LogStreamArray and LogStreamArrayOutput values. You can construct a concrete instance of `LogStreamArrayInput` via:

LogStreamArray{ LogStreamArgs{...} }

type LogStreamArrayOutput

type LogStreamArrayOutput struct{ *pulumi.OutputState }

func (LogStreamArrayOutput) ElementType

func (LogStreamArrayOutput) ElementType() reflect.Type

func (LogStreamArrayOutput) Index

func (LogStreamArrayOutput) ToLogStreamArrayOutput

func (o LogStreamArrayOutput) ToLogStreamArrayOutput() LogStreamArrayOutput

func (LogStreamArrayOutput) ToLogStreamArrayOutputWithContext

func (o LogStreamArrayOutput) ToLogStreamArrayOutputWithContext(ctx context.Context) LogStreamArrayOutput

type LogStreamInput

type LogStreamInput interface {
	pulumi.Input

	ToLogStreamOutput() LogStreamOutput
	ToLogStreamOutputWithContext(ctx context.Context) LogStreamOutput
}

type LogStreamMap

type LogStreamMap map[string]LogStreamInput

func (LogStreamMap) ElementType

func (LogStreamMap) ElementType() reflect.Type

func (LogStreamMap) ToLogStreamMapOutput

func (i LogStreamMap) ToLogStreamMapOutput() LogStreamMapOutput

func (LogStreamMap) ToLogStreamMapOutputWithContext

func (i LogStreamMap) ToLogStreamMapOutputWithContext(ctx context.Context) LogStreamMapOutput

type LogStreamMapInput

type LogStreamMapInput interface {
	pulumi.Input

	ToLogStreamMapOutput() LogStreamMapOutput
	ToLogStreamMapOutputWithContext(context.Context) LogStreamMapOutput
}

LogStreamMapInput is an input type that accepts LogStreamMap and LogStreamMapOutput values. You can construct a concrete instance of `LogStreamMapInput` via:

LogStreamMap{ "key": LogStreamArgs{...} }

type LogStreamMapOutput

type LogStreamMapOutput struct{ *pulumi.OutputState }

func (LogStreamMapOutput) ElementType

func (LogStreamMapOutput) ElementType() reflect.Type

func (LogStreamMapOutput) MapIndex

func (LogStreamMapOutput) ToLogStreamMapOutput

func (o LogStreamMapOutput) ToLogStreamMapOutput() LogStreamMapOutput

func (LogStreamMapOutput) ToLogStreamMapOutputWithContext

func (o LogStreamMapOutput) ToLogStreamMapOutputWithContext(ctx context.Context) LogStreamMapOutput

type LogStreamOutput

type LogStreamOutput struct{ *pulumi.OutputState }

func (LogStreamOutput) Arn

The Amazon Resource Name (ARN) specifying the log stream.

func (LogStreamOutput) ElementType

func (LogStreamOutput) ElementType() reflect.Type

func (LogStreamOutput) LogGroupName

func (o LogStreamOutput) LogGroupName() pulumi.StringOutput

The name of the log group under which the log stream is to be created.

func (LogStreamOutput) Name

The name of the log stream. Must not be longer than 512 characters and must not contain `:`

func (LogStreamOutput) ToLogStreamOutput

func (o LogStreamOutput) ToLogStreamOutput() LogStreamOutput

func (LogStreamOutput) ToLogStreamOutputWithContext

func (o LogStreamOutput) ToLogStreamOutputWithContext(ctx context.Context) LogStreamOutput

type LogStreamState

type LogStreamState struct {
	// The Amazon Resource Name (ARN) specifying the log stream.
	Arn pulumi.StringPtrInput
	// The name of the log group under which the log stream is to be created.
	LogGroupName pulumi.StringPtrInput
	// The name of the log stream. Must not be longer than 512 characters and must not contain `:`
	Name pulumi.StringPtrInput
}

func (LogStreamState) ElementType

func (LogStreamState) ElementType() reflect.Type

type LogSubscriptionFilter

type LogSubscriptionFilter struct {
	pulumi.CustomResourceState

	// The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
	DestinationArn pulumi.StringOutput `pulumi:"destinationArn"`
	// The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
	Distribution pulumi.StringPtrOutput `pulumi:"distribution"`
	// A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringOutput `pulumi:"filterPattern"`
	// The name of the log group to associate the subscription filter with
	LogGroup pulumi.StringOutput `pulumi:"logGroup"`
	// A name for the subscription filter
	Name pulumi.StringOutput `pulumi:"name"`
	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
}

Provides a CloudWatch Logs subscription filter resource.

## Example Usage

```go 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.NewLogSubscriptionFilter(ctx, "test_lambdafunction_logfilter", &cloudwatch.LogSubscriptionFilterArgs{
			Name:           pulumi.String("test_lambdafunction_logfilter"),
			RoleArn:        pulumi.Any(iamForLambda.Arn),
			LogGroup:       pulumi.Any("/aws/lambda/example_lambda_name"),
			FilterPattern:  pulumi.String("logtype test"),
			DestinationArn: pulumi.Any(testLogstream.Arn),
			Distribution:   pulumi.String("Random"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CloudWatch Logs subscription filter using the log group name and subscription filter name separated by `|`. For example:

```sh $ pulumi import aws:cloudwatch/logSubscriptionFilter:LogSubscriptionFilter test_lambdafunction_logfilter "/aws/lambda/example_lambda_name|test_lambdafunction_logfilter" ```

func GetLogSubscriptionFilter

func GetLogSubscriptionFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogSubscriptionFilterState, opts ...pulumi.ResourceOption) (*LogSubscriptionFilter, error)

GetLogSubscriptionFilter gets an existing LogSubscriptionFilter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogSubscriptionFilter

func NewLogSubscriptionFilter(ctx *pulumi.Context,
	name string, args *LogSubscriptionFilterArgs, opts ...pulumi.ResourceOption) (*LogSubscriptionFilter, error)

NewLogSubscriptionFilter registers a new resource with the given unique name, arguments, and options.

func (*LogSubscriptionFilter) ElementType

func (*LogSubscriptionFilter) ElementType() reflect.Type

func (*LogSubscriptionFilter) ToLogSubscriptionFilterOutput

func (i *LogSubscriptionFilter) ToLogSubscriptionFilterOutput() LogSubscriptionFilterOutput

func (*LogSubscriptionFilter) ToLogSubscriptionFilterOutputWithContext

func (i *LogSubscriptionFilter) ToLogSubscriptionFilterOutputWithContext(ctx context.Context) LogSubscriptionFilterOutput

type LogSubscriptionFilterArgs

type LogSubscriptionFilterArgs struct {
	// The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
	DestinationArn pulumi.StringInput
	// The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
	Distribution pulumi.StringPtrInput
	// A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringInput
	// The name of the log group to associate the subscription filter with
	LogGroup pulumi.Input
	// A name for the subscription filter
	Name pulumi.StringPtrInput
	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
	RoleArn pulumi.StringPtrInput
}

The set of arguments for constructing a LogSubscriptionFilter resource.

func (LogSubscriptionFilterArgs) ElementType

func (LogSubscriptionFilterArgs) ElementType() reflect.Type

type LogSubscriptionFilterArray

type LogSubscriptionFilterArray []LogSubscriptionFilterInput

func (LogSubscriptionFilterArray) ElementType

func (LogSubscriptionFilterArray) ElementType() reflect.Type

func (LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutput

func (i LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutput() LogSubscriptionFilterArrayOutput

func (LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutputWithContext

func (i LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutputWithContext(ctx context.Context) LogSubscriptionFilterArrayOutput

type LogSubscriptionFilterArrayInput

type LogSubscriptionFilterArrayInput interface {
	pulumi.Input

	ToLogSubscriptionFilterArrayOutput() LogSubscriptionFilterArrayOutput
	ToLogSubscriptionFilterArrayOutputWithContext(context.Context) LogSubscriptionFilterArrayOutput
}

LogSubscriptionFilterArrayInput is an input type that accepts LogSubscriptionFilterArray and LogSubscriptionFilterArrayOutput values. You can construct a concrete instance of `LogSubscriptionFilterArrayInput` via:

LogSubscriptionFilterArray{ LogSubscriptionFilterArgs{...} }

type LogSubscriptionFilterArrayOutput

type LogSubscriptionFilterArrayOutput struct{ *pulumi.OutputState }

func (LogSubscriptionFilterArrayOutput) ElementType

func (LogSubscriptionFilterArrayOutput) Index

func (LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutput

func (o LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutput() LogSubscriptionFilterArrayOutput

func (LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutputWithContext

func (o LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutputWithContext(ctx context.Context) LogSubscriptionFilterArrayOutput

type LogSubscriptionFilterInput

type LogSubscriptionFilterInput interface {
	pulumi.Input

	ToLogSubscriptionFilterOutput() LogSubscriptionFilterOutput
	ToLogSubscriptionFilterOutputWithContext(ctx context.Context) LogSubscriptionFilterOutput
}

type LogSubscriptionFilterMap

type LogSubscriptionFilterMap map[string]LogSubscriptionFilterInput

func (LogSubscriptionFilterMap) ElementType

func (LogSubscriptionFilterMap) ElementType() reflect.Type

func (LogSubscriptionFilterMap) ToLogSubscriptionFilterMapOutput

func (i LogSubscriptionFilterMap) ToLogSubscriptionFilterMapOutput() LogSubscriptionFilterMapOutput

func (LogSubscriptionFilterMap) ToLogSubscriptionFilterMapOutputWithContext

func (i LogSubscriptionFilterMap) ToLogSubscriptionFilterMapOutputWithContext(ctx context.Context) LogSubscriptionFilterMapOutput

type LogSubscriptionFilterMapInput

type LogSubscriptionFilterMapInput interface {
	pulumi.Input

	ToLogSubscriptionFilterMapOutput() LogSubscriptionFilterMapOutput
	ToLogSubscriptionFilterMapOutputWithContext(context.Context) LogSubscriptionFilterMapOutput
}

LogSubscriptionFilterMapInput is an input type that accepts LogSubscriptionFilterMap and LogSubscriptionFilterMapOutput values. You can construct a concrete instance of `LogSubscriptionFilterMapInput` via:

LogSubscriptionFilterMap{ "key": LogSubscriptionFilterArgs{...} }

type LogSubscriptionFilterMapOutput

type LogSubscriptionFilterMapOutput struct{ *pulumi.OutputState }

func (LogSubscriptionFilterMapOutput) ElementType

func (LogSubscriptionFilterMapOutput) MapIndex

func (LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutput

func (o LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutput() LogSubscriptionFilterMapOutput

func (LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutputWithContext

func (o LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutputWithContext(ctx context.Context) LogSubscriptionFilterMapOutput

type LogSubscriptionFilterOutput

type LogSubscriptionFilterOutput struct{ *pulumi.OutputState }

func (LogSubscriptionFilterOutput) DestinationArn

func (o LogSubscriptionFilterOutput) DestinationArn() pulumi.StringOutput

The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.

func (LogSubscriptionFilterOutput) Distribution

The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".

func (LogSubscriptionFilterOutput) ElementType

func (LogSubscriptionFilterOutput) FilterPattern

A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).

func (LogSubscriptionFilterOutput) LogGroup

The name of the log group to associate the subscription filter with

func (LogSubscriptionFilterOutput) Name

A name for the subscription filter

func (LogSubscriptionFilterOutput) RoleArn

The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.

func (LogSubscriptionFilterOutput) ToLogSubscriptionFilterOutput

func (o LogSubscriptionFilterOutput) ToLogSubscriptionFilterOutput() LogSubscriptionFilterOutput

func (LogSubscriptionFilterOutput) ToLogSubscriptionFilterOutputWithContext

func (o LogSubscriptionFilterOutput) ToLogSubscriptionFilterOutputWithContext(ctx context.Context) LogSubscriptionFilterOutput

type LogSubscriptionFilterState

type LogSubscriptionFilterState struct {
	// The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
	DestinationArn pulumi.StringPtrInput
	// The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
	Distribution pulumi.StringPtrInput
	// A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringPtrInput
	// The name of the log group to associate the subscription filter with
	LogGroup pulumi.Input
	// A name for the subscription filter
	Name pulumi.StringPtrInput
	// The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
	RoleArn pulumi.StringPtrInput
}

func (LogSubscriptionFilterState) ElementType

func (LogSubscriptionFilterState) ElementType() reflect.Type

type LookupEventBusArgs

type LookupEventBusArgs struct {
	// Name of the event bus.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getEventBus.

type LookupEventBusOutputArgs

type LookupEventBusOutputArgs struct {
	// Name of the event bus.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getEventBus.

func (LookupEventBusOutputArgs) ElementType

func (LookupEventBusOutputArgs) ElementType() reflect.Type

type LookupEventBusResult

type LookupEventBusResult struct {
	// ARN of the event bus.
	Arn string `pulumi:"arn"`
	// Event bus description.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Identifier of the AWS KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.
	KmsKeyIdentifier string `pulumi:"kmsKeyIdentifier"`
	Name             string `pulumi:"name"`
}

A collection of values returned by getEventBus.

func LookupEventBus

func LookupEventBus(ctx *pulumi.Context, args *LookupEventBusArgs, opts ...pulumi.InvokeOption) (*LookupEventBusResult, error)

This data source can be used to fetch information about a specific EventBridge event bus. Use this data source to compute the ARN of an event bus, given the name of the bus.

## Example Usage

```go 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.LookupEventBus(ctx, &cloudwatch.LookupEventBusArgs{
			Name: "example-bus-name",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupEventBusResultOutput

type LookupEventBusResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEventBus.

func (LookupEventBusResultOutput) Arn

ARN of the event bus.

func (LookupEventBusResultOutput) Description added in v6.59.1

Event bus description.

func (LookupEventBusResultOutput) ElementType

func (LookupEventBusResultOutput) ElementType() reflect.Type

func (LookupEventBusResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupEventBusResultOutput) KmsKeyIdentifier added in v6.47.0

func (o LookupEventBusResultOutput) KmsKeyIdentifier() pulumi.StringOutput

Identifier of the AWS KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.

func (LookupEventBusResultOutput) Name

func (LookupEventBusResultOutput) ToLookupEventBusResultOutput

func (o LookupEventBusResultOutput) ToLookupEventBusResultOutput() LookupEventBusResultOutput

func (LookupEventBusResultOutput) ToLookupEventBusResultOutputWithContext

func (o LookupEventBusResultOutput) ToLookupEventBusResultOutputWithContext(ctx context.Context) LookupEventBusResultOutput

type LookupEventConnectionArgs

type LookupEventConnectionArgs struct {
	// Name of the connection.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getEventConnection.

type LookupEventConnectionOutputArgs

type LookupEventConnectionOutputArgs struct {
	// Name of the connection.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getEventConnection.

func (LookupEventConnectionOutputArgs) ElementType

type LookupEventConnectionResult

type LookupEventConnectionResult struct {
	// ARN (Amazon Resource Name) for the connection.
	Arn string `pulumi:"arn"`
	// Type of authorization to use to connect. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`.
	AuthorizationType string `pulumi:"authorizationType"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the connection.
	Name string `pulumi:"name"`
	// ARN (Amazon Resource Name) for the secret created from the authorization parameters specified for the connection.
	SecretArn string `pulumi:"secretArn"`
}

A collection of values returned by getEventConnection.

func LookupEventConnection

func LookupEventConnection(ctx *pulumi.Context, args *LookupEventConnectionArgs, opts ...pulumi.InvokeOption) (*LookupEventConnectionResult, error)

Use this data source to retrieve information about an EventBridge connection.

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

## Example Usage

```go 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.LookupEventConnection(ctx, &cloudwatch.LookupEventConnectionArgs{
			Name: "test",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupEventConnectionResultOutput

type LookupEventConnectionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEventConnection.

func (LookupEventConnectionResultOutput) Arn

ARN (Amazon Resource Name) for the connection.

func (LookupEventConnectionResultOutput) AuthorizationType

Type of authorization to use to connect. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`.

func (LookupEventConnectionResultOutput) ElementType

func (LookupEventConnectionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupEventConnectionResultOutput) Name

Name of the connection.

func (LookupEventConnectionResultOutput) SecretArn

ARN (Amazon Resource Name) for the secret created from the authorization parameters specified for the connection.

func (LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutput

func (o LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutput() LookupEventConnectionResultOutput

func (LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutputWithContext

func (o LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutputWithContext(ctx context.Context) LookupEventConnectionResultOutput

type LookupLogGroupArgs

type LookupLogGroupArgs struct {
	// Name of the Cloudwatch log group
	Name string `pulumi:"name"`
	// Map of tags to assign to the resource.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getLogGroup.

type LookupLogGroupOutputArgs

type LookupLogGroupOutputArgs struct {
	// Name of the Cloudwatch log group
	Name pulumi.StringInput `pulumi:"name"`
	// Map of tags to assign to the resource.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getLogGroup.

func (LookupLogGroupOutputArgs) ElementType

func (LookupLogGroupOutputArgs) ElementType() reflect.Type

type LookupLogGroupResult

type LookupLogGroupResult struct {
	// ARN of the Cloudwatch log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix.
	Arn string `pulumi:"arn"`
	// Creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
	CreationTime int `pulumi:"creationTime"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// ARN of the KMS Key to use when encrypting log data.
	KmsKeyId string `pulumi:"kmsKeyId"`
	// The log class of the log group.
	LogGroupClass string `pulumi:"logGroupClass"`
	Name          string `pulumi:"name"`
	// Number of days log events retained in the specified log group.
	RetentionInDays int `pulumi:"retentionInDays"`
	// Map of tags to assign to the resource.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getLogGroup.

func LookupLogGroup

func LookupLogGroup(ctx *pulumi.Context, args *LookupLogGroupArgs, opts ...pulumi.InvokeOption) (*LookupLogGroupResult, error)

Use this data source to get information about an AWS Cloudwatch Log Group

## Example Usage

```go 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.LookupLogGroup(ctx, &cloudwatch.LookupLogGroupArgs{
			Name: "MyImportantLogs",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupLogGroupResultOutput

type LookupLogGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLogGroup.

func (LookupLogGroupResultOutput) Arn

ARN of the Cloudwatch log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix.

func (LookupLogGroupResultOutput) CreationTime

func (o LookupLogGroupResultOutput) CreationTime() pulumi.IntOutput

Creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

func (LookupLogGroupResultOutput) ElementType

func (LookupLogGroupResultOutput) ElementType() reflect.Type

func (LookupLogGroupResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupLogGroupResultOutput) KmsKeyId

ARN of the KMS Key to use when encrypting log data.

func (LookupLogGroupResultOutput) LogGroupClass added in v6.15.0

The log class of the log group.

func (LookupLogGroupResultOutput) Name

func (LookupLogGroupResultOutput) RetentionInDays

func (o LookupLogGroupResultOutput) RetentionInDays() pulumi.IntOutput

Number of days log events retained in the specified log group.

func (LookupLogGroupResultOutput) Tags

Map of tags to assign to the resource.

func (LookupLogGroupResultOutput) ToLookupLogGroupResultOutput

func (o LookupLogGroupResultOutput) ToLookupLogGroupResultOutput() LookupLogGroupResultOutput

func (LookupLogGroupResultOutput) ToLookupLogGroupResultOutputWithContext

func (o LookupLogGroupResultOutput) ToLookupLogGroupResultOutputWithContext(ctx context.Context) LookupLogGroupResultOutput

type MetricAlarm

type MetricAlarm struct {
	pulumi.CustomResourceState

	// Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`.
	ActionsEnabled pulumi.BoolPtrOutput `pulumi:"actionsEnabled"`
	// The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	AlarmActions pulumi.StringArrayOutput `pulumi:"alarmActions"`
	// The description for the alarm.
	AlarmDescription pulumi.StringPtrOutput `pulumi:"alarmDescription"`
	// The ARN of the CloudWatch Metric Alarm.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`. Additionally, the values  `LessThanLowerOrGreaterThanUpperThreshold`, `LessThanLowerThreshold`, and `GreaterThanUpperThreshold` are used only for alarms based on anomaly detection models.
	ComparisonOperator pulumi.StringOutput `pulumi:"comparisonOperator"`
	// The number of datapoints that must be breaching to trigger the alarm.
	DatapointsToAlarm pulumi.IntPtrOutput `pulumi:"datapointsToAlarm"`
	// The dimensions for the alarm's associated metric.  For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Dimensions pulumi.StringMapOutput `pulumi:"dimensions"`
	// Used only for alarms based on percentiles.
	// If you specify `ignore`, the alarm state will not change during periods with too few data points to be statistically significant.
	// If you specify `evaluate` or omit this parameter, the alarm will always be evaluated and possibly change state no matter how many data points are available.
	// The following values are supported: `ignore`, and `evaluate`.
	EvaluateLowSampleCountPercentiles pulumi.StringOutput `pulumi:"evaluateLowSampleCountPercentiles"`
	// The number of periods over which data is compared to the specified threshold.
	EvaluationPeriods pulumi.IntOutput `pulumi:"evaluationPeriods"`
	// The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
	ExtendedStatistic pulumi.StringPtrOutput `pulumi:"extendedStatistic"`
	// The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	InsufficientDataActions pulumi.StringArrayOutput `pulumi:"insufficientDataActions"`
	// The name for the alarm's associated metric.
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	MetricName pulumi.StringPtrOutput `pulumi:"metricName"`
	// Enables you to create an alarm based on a metric math expression. You may specify at most 20.
	MetricQueries MetricAlarmMetricQueryArrayOutput `pulumi:"metricQueries"`
	// The descriptive name for the alarm. This name must be unique within the user's AWS account
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace for the alarm's associated metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html).
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	OkActions pulumi.StringArrayOutput `pulumi:"okActions"`
	// The period in seconds over which the specified `statistic` is applied.
	// Valid values are `10`, `30`, or any multiple of `60`.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The statistic to apply to the alarm's associated metric.
	// Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum`
	Statistic pulumi.StringPtrOutput `pulumi:"statistic"`
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	//
	// > **NOTE:**  If you specify at least one `metricQuery`, you may not specify a `metricName`, `namespace`, `period` or `statistic`. If you do not specify a `metricQuery`, you must specify each of these (although you may use `extendedStatistic` instead of `statistic`).
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models.
	Threshold pulumi.Float64PtrOutput `pulumi:"threshold"`
	// If this is an alarm based on an anomaly detection model, make this value match the ID of the ANOMALY_DETECTION_BAND function.
	ThresholdMetricId pulumi.StringPtrOutput `pulumi:"thresholdMetricId"`
	// Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`.
	TreatMissingData pulumi.StringPtrOutput `pulumi:"treatMissingData"`
	// The unit for the alarm's associated metric.
	Unit pulumi.StringPtrOutput `pulumi:"unit"`
}

Provides a CloudWatch Metric Alarm resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudwatch.NewMetricAlarm(ctx, "foobar", &cloudwatch.MetricAlarmArgs{
			Name:                    pulumi.String("test-foobar5"),
			ComparisonOperator:      pulumi.String("GreaterThanOrEqualToThreshold"),
			EvaluationPeriods:       pulumi.Int(2),
			MetricName:              pulumi.String("CPUUtilization"),
			Namespace:               pulumi.String("AWS/EC2"),
			Period:                  pulumi.Int(120),
			Statistic:               pulumi.String("Average"),
			Threshold:               pulumi.Float64(80),
			AlarmDescription:        pulumi.String("This metric monitors ec2 cpu utilization"),
			InsufficientDataActions: pulumi.Array{},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Example in Conjunction with Scaling Policies

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bat, err := autoscaling.NewPolicy(ctx, "bat", &autoscaling.PolicyArgs{
			Name:                 pulumi.String("foobar3-test"),
			ScalingAdjustment:    pulumi.Int(4),
			AdjustmentType:       pulumi.String("ChangeInCapacity"),
			Cooldown:             pulumi.Int(300),
			AutoscalingGroupName: pulumi.Any(bar.Name),
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewMetricAlarm(ctx, "bat", &cloudwatch.MetricAlarmArgs{
			Name:               pulumi.String("test-foobar5"),
			ComparisonOperator: pulumi.String("GreaterThanOrEqualToThreshold"),
			EvaluationPeriods:  pulumi.Int(2),
			MetricName:         pulumi.String("CPUUtilization"),
			Namespace:          pulumi.String("AWS/EC2"),
			Period:             pulumi.Int(120),
			Statistic:          pulumi.String("Average"),
			Threshold:          pulumi.Float64(80),
			Dimensions: pulumi.StringMap{
				"AutoScalingGroupName": pulumi.Any(bar.Name),
			},
			AlarmDescription: pulumi.String("This metric monitors ec2 cpu utilization"),
			AlarmActions: pulumi.Array{
				bat.Arn,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Example with an Expression

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudwatch.NewMetricAlarm(ctx, "foobar", &cloudwatch.MetricAlarmArgs{
			Name:                    pulumi.String("test-foobar"),
			ComparisonOperator:      pulumi.String("GreaterThanOrEqualToThreshold"),
			EvaluationPeriods:       pulumi.Int(2),
			Threshold:               pulumi.Float64(10),
			AlarmDescription:        pulumi.String("Request error rate has exceeded 10%"),
			InsufficientDataActions: pulumi.Array{},
			MetricQueries: cloudwatch.MetricAlarmMetricQueryArray{
				&cloudwatch.MetricAlarmMetricQueryArgs{
					Id:         pulumi.String("e1"),
					Expression: pulumi.String("m2/m1*100"),
					Label:      pulumi.String("Error Rate"),
					ReturnData: pulumi.Bool(true),
				},
				&cloudwatch.MetricAlarmMetricQueryArgs{
					Id: pulumi.String("m1"),
					Metric: &cloudwatch.MetricAlarmMetricQueryMetricArgs{
						MetricName: pulumi.String("RequestCount"),
						Namespace:  pulumi.String("AWS/ApplicationELB"),
						Period:     pulumi.Int(120),
						Stat:       pulumi.String("Sum"),
						Unit:       pulumi.String("Count"),
						Dimensions: pulumi.StringMap{
							"LoadBalancer": pulumi.String("app/web"),
						},
					},
				},
				&cloudwatch.MetricAlarmMetricQueryArgs{
					Id: pulumi.String("m2"),
					Metric: &cloudwatch.MetricAlarmMetricQueryMetricArgs{
						MetricName: pulumi.String("HTTPCode_ELB_5XX_Count"),
						Namespace:  pulumi.String("AWS/ApplicationELB"),
						Period:     pulumi.Int(120),
						Stat:       pulumi.String("Sum"),
						Unit:       pulumi.String("Count"),
						Dimensions: pulumi.StringMap{
							"LoadBalancer": pulumi.String("app/web"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudwatch.NewMetricAlarm(ctx, "xx_anomaly_detection", &cloudwatch.MetricAlarmArgs{
			Name:                    pulumi.String("test-foobar"),
			ComparisonOperator:      pulumi.String("GreaterThanUpperThreshold"),
			EvaluationPeriods:       pulumi.Int(2),
			ThresholdMetricId:       pulumi.String("e1"),
			AlarmDescription:        pulumi.String("This metric monitors ec2 cpu utilization"),
			InsufficientDataActions: pulumi.Array{},
			MetricQueries: cloudwatch.MetricAlarmMetricQueryArray{
				&cloudwatch.MetricAlarmMetricQueryArgs{
					Id:         pulumi.String("e1"),
					Expression: pulumi.String("ANOMALY_DETECTION_BAND(m1)"),
					Label:      pulumi.String("CPUUtilization (Expected)"),
					ReturnData: pulumi.Bool(true),
				},
				&cloudwatch.MetricAlarmMetricQueryArgs{
					Id:         pulumi.String("m1"),
					ReturnData: pulumi.Bool(true),
					Metric: &cloudwatch.MetricAlarmMetricQueryMetricArgs{
						MetricName: pulumi.String("CPUUtilization"),
						Namespace:  pulumi.String("AWS/EC2"),
						Period:     pulumi.Int(120),
						Stat:       pulumi.String("Average"),
						Unit:       pulumi.String("Count"),
						Dimensions: pulumi.StringMap{
							"InstanceId": pulumi.String("i-abc123"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Example of monitoring Healthy Hosts on NLB using Target Group and NLB

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudwatch.NewMetricAlarm(ctx, "nlb_healthyhosts", &cloudwatch.MetricAlarmArgs{
			Name:               pulumi.String("alarmname"),
			ComparisonOperator: pulumi.String("LessThanThreshold"),
			EvaluationPeriods:  pulumi.Int(1),
			MetricName:         pulumi.String("HealthyHostCount"),
			Namespace:          pulumi.String("AWS/NetworkELB"),
			Period:             pulumi.Int(60),
			Statistic:          pulumi.String("Average"),
			Threshold:          pulumi.Any(logstashServersCount),
			AlarmDescription:   pulumi.String("Number of healthy nodes in Target Group"),
			ActionsEnabled:     pulumi.Bool(true),
			AlarmActions: pulumi.Array{
				sns.Arn,
			},
			OkActions: pulumi.Array{
				sns.Arn,
			},
			Dimensions: pulumi.StringMap{
				"TargetGroup":  pulumi.Any(lb_tg.ArnSuffix),
				"LoadBalancer": pulumi.Any(lb.ArnSuffix),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **NOTE:** You cannot create a metric alarm consisting of both `statistic` and `extendedStatistic` parameters. You must choose one or the other

## Import

Using `pulumi import`, import CloudWatch Metric Alarm using the `alarm_name`. For example:

```sh $ pulumi import aws:cloudwatch/metricAlarm:MetricAlarm test alarm-12345 ```

func GetMetricAlarm

func GetMetricAlarm(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MetricAlarmState, opts ...pulumi.ResourceOption) (*MetricAlarm, error)

GetMetricAlarm gets an existing MetricAlarm resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMetricAlarm

func NewMetricAlarm(ctx *pulumi.Context,
	name string, args *MetricAlarmArgs, opts ...pulumi.ResourceOption) (*MetricAlarm, error)

NewMetricAlarm registers a new resource with the given unique name, arguments, and options.

func (*MetricAlarm) ElementType

func (*MetricAlarm) ElementType() reflect.Type

func (*MetricAlarm) ToMetricAlarmOutput

func (i *MetricAlarm) ToMetricAlarmOutput() MetricAlarmOutput

func (*MetricAlarm) ToMetricAlarmOutputWithContext

func (i *MetricAlarm) ToMetricAlarmOutputWithContext(ctx context.Context) MetricAlarmOutput

type MetricAlarmArgs

type MetricAlarmArgs struct {
	// Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`.
	ActionsEnabled pulumi.BoolPtrInput
	// The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	AlarmActions pulumi.ArrayInput
	// The description for the alarm.
	AlarmDescription pulumi.StringPtrInput
	// The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`. Additionally, the values  `LessThanLowerOrGreaterThanUpperThreshold`, `LessThanLowerThreshold`, and `GreaterThanUpperThreshold` are used only for alarms based on anomaly detection models.
	ComparisonOperator pulumi.StringInput
	// The number of datapoints that must be breaching to trigger the alarm.
	DatapointsToAlarm pulumi.IntPtrInput
	// The dimensions for the alarm's associated metric.  For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Dimensions pulumi.StringMapInput
	// Used only for alarms based on percentiles.
	// If you specify `ignore`, the alarm state will not change during periods with too few data points to be statistically significant.
	// If you specify `evaluate` or omit this parameter, the alarm will always be evaluated and possibly change state no matter how many data points are available.
	// The following values are supported: `ignore`, and `evaluate`.
	EvaluateLowSampleCountPercentiles pulumi.StringPtrInput
	// The number of periods over which data is compared to the specified threshold.
	EvaluationPeriods pulumi.IntInput
	// The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
	ExtendedStatistic pulumi.StringPtrInput
	// The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	InsufficientDataActions pulumi.ArrayInput
	// The name for the alarm's associated metric.
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	MetricName pulumi.StringPtrInput
	// Enables you to create an alarm based on a metric math expression. You may specify at most 20.
	MetricQueries MetricAlarmMetricQueryArrayInput
	// The descriptive name for the alarm. This name must be unique within the user's AWS account
	Name pulumi.StringPtrInput
	// The namespace for the alarm's associated metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html).
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Namespace pulumi.StringPtrInput
	// The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	OkActions pulumi.ArrayInput
	// The period in seconds over which the specified `statistic` is applied.
	// Valid values are `10`, `30`, or any multiple of `60`.
	Period pulumi.IntPtrInput
	// The statistic to apply to the alarm's associated metric.
	// Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum`
	Statistic pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	//
	// > **NOTE:**  If you specify at least one `metricQuery`, you may not specify a `metricName`, `namespace`, `period` or `statistic`. If you do not specify a `metricQuery`, you must specify each of these (although you may use `extendedStatistic` instead of `statistic`).
	Tags pulumi.StringMapInput
	// The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models.
	Threshold pulumi.Float64PtrInput
	// If this is an alarm based on an anomaly detection model, make this value match the ID of the ANOMALY_DETECTION_BAND function.
	ThresholdMetricId pulumi.StringPtrInput
	// Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`.
	TreatMissingData pulumi.StringPtrInput
	// The unit for the alarm's associated metric.
	Unit pulumi.StringPtrInput
}

The set of arguments for constructing a MetricAlarm resource.

func (MetricAlarmArgs) ElementType

func (MetricAlarmArgs) ElementType() reflect.Type

type MetricAlarmArray

type MetricAlarmArray []MetricAlarmInput

func (MetricAlarmArray) ElementType

func (MetricAlarmArray) ElementType() reflect.Type

func (MetricAlarmArray) ToMetricAlarmArrayOutput

func (i MetricAlarmArray) ToMetricAlarmArrayOutput() MetricAlarmArrayOutput

func (MetricAlarmArray) ToMetricAlarmArrayOutputWithContext

func (i MetricAlarmArray) ToMetricAlarmArrayOutputWithContext(ctx context.Context) MetricAlarmArrayOutput

type MetricAlarmArrayInput

type MetricAlarmArrayInput interface {
	pulumi.Input

	ToMetricAlarmArrayOutput() MetricAlarmArrayOutput
	ToMetricAlarmArrayOutputWithContext(context.Context) MetricAlarmArrayOutput
}

MetricAlarmArrayInput is an input type that accepts MetricAlarmArray and MetricAlarmArrayOutput values. You can construct a concrete instance of `MetricAlarmArrayInput` via:

MetricAlarmArray{ MetricAlarmArgs{...} }

type MetricAlarmArrayOutput

type MetricAlarmArrayOutput struct{ *pulumi.OutputState }

func (MetricAlarmArrayOutput) ElementType

func (MetricAlarmArrayOutput) ElementType() reflect.Type

func (MetricAlarmArrayOutput) Index

func (MetricAlarmArrayOutput) ToMetricAlarmArrayOutput

func (o MetricAlarmArrayOutput) ToMetricAlarmArrayOutput() MetricAlarmArrayOutput

func (MetricAlarmArrayOutput) ToMetricAlarmArrayOutputWithContext

func (o MetricAlarmArrayOutput) ToMetricAlarmArrayOutputWithContext(ctx context.Context) MetricAlarmArrayOutput

type MetricAlarmInput

type MetricAlarmInput interface {
	pulumi.Input

	ToMetricAlarmOutput() MetricAlarmOutput
	ToMetricAlarmOutputWithContext(ctx context.Context) MetricAlarmOutput
}

type MetricAlarmMap

type MetricAlarmMap map[string]MetricAlarmInput

func (MetricAlarmMap) ElementType

func (MetricAlarmMap) ElementType() reflect.Type

func (MetricAlarmMap) ToMetricAlarmMapOutput

func (i MetricAlarmMap) ToMetricAlarmMapOutput() MetricAlarmMapOutput

func (MetricAlarmMap) ToMetricAlarmMapOutputWithContext

func (i MetricAlarmMap) ToMetricAlarmMapOutputWithContext(ctx context.Context) MetricAlarmMapOutput

type MetricAlarmMapInput

type MetricAlarmMapInput interface {
	pulumi.Input

	ToMetricAlarmMapOutput() MetricAlarmMapOutput
	ToMetricAlarmMapOutputWithContext(context.Context) MetricAlarmMapOutput
}

MetricAlarmMapInput is an input type that accepts MetricAlarmMap and MetricAlarmMapOutput values. You can construct a concrete instance of `MetricAlarmMapInput` via:

MetricAlarmMap{ "key": MetricAlarmArgs{...} }

type MetricAlarmMapOutput

type MetricAlarmMapOutput struct{ *pulumi.OutputState }

func (MetricAlarmMapOutput) ElementType

func (MetricAlarmMapOutput) ElementType() reflect.Type

func (MetricAlarmMapOutput) MapIndex

func (MetricAlarmMapOutput) ToMetricAlarmMapOutput

func (o MetricAlarmMapOutput) ToMetricAlarmMapOutput() MetricAlarmMapOutput

func (MetricAlarmMapOutput) ToMetricAlarmMapOutputWithContext

func (o MetricAlarmMapOutput) ToMetricAlarmMapOutputWithContext(ctx context.Context) MetricAlarmMapOutput

type MetricAlarmMetricQuery

type MetricAlarmMetricQuery struct {
	// The ID of the account where the metrics are located, if this is a cross-account alarm.
	AccountId *string `pulumi:"accountId"`
	// The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the id of the other metrics to refer to those metrics, and can also use the id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax).
	Expression *string `pulumi:"expression"`
	// A short name used to tie this object to the results in the response. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
	Id string `pulumi:"id"`
	// A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents.
	Label *string `pulumi:"label"`
	// The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.
	Metric *MetricAlarmMetricQueryMetric `pulumi:"metric"`
	// Granularity in seconds of returned data points.
	// For metrics with regular resolution, valid values are any multiple of `60`.
	// For high-resolution metrics, valid values are `1`, `5`, `10`, `30`, or any multiple of `60`.
	Period *int `pulumi:"period"`
	// Specify exactly one `metricQuery` to be `true` to use that `metricQuery` result as the alarm.
	//
	// > **NOTE:**  You must specify either `metric` or `expression`. Not both.
	ReturnData *bool `pulumi:"returnData"`
}

type MetricAlarmMetricQueryArgs

type MetricAlarmMetricQueryArgs struct {
	// The ID of the account where the metrics are located, if this is a cross-account alarm.
	AccountId pulumi.StringPtrInput `pulumi:"accountId"`
	// The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the id of the other metrics to refer to those metrics, and can also use the id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax).
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// A short name used to tie this object to the results in the response. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
	Id pulumi.StringInput `pulumi:"id"`
	// A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.
	Metric MetricAlarmMetricQueryMetricPtrInput `pulumi:"metric"`
	// Granularity in seconds of returned data points.
	// For metrics with regular resolution, valid values are any multiple of `60`.
	// For high-resolution metrics, valid values are `1`, `5`, `10`, `30`, or any multiple of `60`.
	Period pulumi.IntPtrInput `pulumi:"period"`
	// Specify exactly one `metricQuery` to be `true` to use that `metricQuery` result as the alarm.
	//
	// > **NOTE:**  You must specify either `metric` or `expression`. Not both.
	ReturnData pulumi.BoolPtrInput `pulumi:"returnData"`
}

func (MetricAlarmMetricQueryArgs) ElementType

func (MetricAlarmMetricQueryArgs) ElementType() reflect.Type

func (MetricAlarmMetricQueryArgs) ToMetricAlarmMetricQueryOutput

func (i MetricAlarmMetricQueryArgs) ToMetricAlarmMetricQueryOutput() MetricAlarmMetricQueryOutput

func (MetricAlarmMetricQueryArgs) ToMetricAlarmMetricQueryOutputWithContext

func (i MetricAlarmMetricQueryArgs) ToMetricAlarmMetricQueryOutputWithContext(ctx context.Context) MetricAlarmMetricQueryOutput

type MetricAlarmMetricQueryArray

type MetricAlarmMetricQueryArray []MetricAlarmMetricQueryInput

func (MetricAlarmMetricQueryArray) ElementType

func (MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutput

func (i MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutput() MetricAlarmMetricQueryArrayOutput

func (MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutputWithContext

func (i MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutputWithContext(ctx context.Context) MetricAlarmMetricQueryArrayOutput

type MetricAlarmMetricQueryArrayInput

type MetricAlarmMetricQueryArrayInput interface {
	pulumi.Input

	ToMetricAlarmMetricQueryArrayOutput() MetricAlarmMetricQueryArrayOutput
	ToMetricAlarmMetricQueryArrayOutputWithContext(context.Context) MetricAlarmMetricQueryArrayOutput
}

MetricAlarmMetricQueryArrayInput is an input type that accepts MetricAlarmMetricQueryArray and MetricAlarmMetricQueryArrayOutput values. You can construct a concrete instance of `MetricAlarmMetricQueryArrayInput` via:

MetricAlarmMetricQueryArray{ MetricAlarmMetricQueryArgs{...} }

type MetricAlarmMetricQueryArrayOutput

type MetricAlarmMetricQueryArrayOutput struct{ *pulumi.OutputState }

func (MetricAlarmMetricQueryArrayOutput) ElementType

func (MetricAlarmMetricQueryArrayOutput) Index

func (MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutput

func (o MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutput() MetricAlarmMetricQueryArrayOutput

func (MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutputWithContext

func (o MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutputWithContext(ctx context.Context) MetricAlarmMetricQueryArrayOutput

type MetricAlarmMetricQueryInput

type MetricAlarmMetricQueryInput interface {
	pulumi.Input

	ToMetricAlarmMetricQueryOutput() MetricAlarmMetricQueryOutput
	ToMetricAlarmMetricQueryOutputWithContext(context.Context) MetricAlarmMetricQueryOutput
}

MetricAlarmMetricQueryInput is an input type that accepts MetricAlarmMetricQueryArgs and MetricAlarmMetricQueryOutput values. You can construct a concrete instance of `MetricAlarmMetricQueryInput` via:

MetricAlarmMetricQueryArgs{...}

type MetricAlarmMetricQueryMetric

type MetricAlarmMetricQueryMetric struct {
	// The dimensions for this metric.  For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Dimensions map[string]string `pulumi:"dimensions"`
	// The name for this metric.
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	MetricName string `pulumi:"metricName"`
	// The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html).
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Namespace *string `pulumi:"namespace"`
	// Granularity in seconds of returned data points.
	// For metrics with regular resolution, valid values are any multiple of `60`.
	// For high-resolution metrics, valid values are `1`, `5`, `10`, `30`, or any multiple of `60`.
	Period int `pulumi:"period"`
	// The statistic to apply to this metric.
	// See docs for [supported statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html).
	Stat string `pulumi:"stat"`
	// The unit for this metric.
	Unit *string `pulumi:"unit"`
}

type MetricAlarmMetricQueryMetricArgs

type MetricAlarmMetricQueryMetricArgs struct {
	// The dimensions for this metric.  For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Dimensions pulumi.StringMapInput `pulumi:"dimensions"`
	// The name for this metric.
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html).
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Granularity in seconds of returned data points.
	// For metrics with regular resolution, valid values are any multiple of `60`.
	// For high-resolution metrics, valid values are `1`, `5`, `10`, `30`, or any multiple of `60`.
	Period pulumi.IntInput `pulumi:"period"`
	// The statistic to apply to this metric.
	// See docs for [supported statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html).
	Stat pulumi.StringInput `pulumi:"stat"`
	// The unit for this metric.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

func (MetricAlarmMetricQueryMetricArgs) ElementType

func (MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutput

func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutput() MetricAlarmMetricQueryMetricOutput

func (MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutputWithContext

func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricOutput

func (MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutput

func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput

func (MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutputWithContext

func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricPtrOutput

type MetricAlarmMetricQueryMetricInput

type MetricAlarmMetricQueryMetricInput interface {
	pulumi.Input

	ToMetricAlarmMetricQueryMetricOutput() MetricAlarmMetricQueryMetricOutput
	ToMetricAlarmMetricQueryMetricOutputWithContext(context.Context) MetricAlarmMetricQueryMetricOutput
}

MetricAlarmMetricQueryMetricInput is an input type that accepts MetricAlarmMetricQueryMetricArgs and MetricAlarmMetricQueryMetricOutput values. You can construct a concrete instance of `MetricAlarmMetricQueryMetricInput` via:

MetricAlarmMetricQueryMetricArgs{...}

type MetricAlarmMetricQueryMetricOutput

type MetricAlarmMetricQueryMetricOutput struct{ *pulumi.OutputState }

func (MetricAlarmMetricQueryMetricOutput) Dimensions

The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).

func (MetricAlarmMetricQueryMetricOutput) ElementType

func (MetricAlarmMetricQueryMetricOutput) MetricName

The name for this metric. See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).

func (MetricAlarmMetricQueryMetricOutput) Namespace

The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).

func (MetricAlarmMetricQueryMetricOutput) Period

Granularity in seconds of returned data points. For metrics with regular resolution, valid values are any multiple of `60`. For high-resolution metrics, valid values are `1`, `5`, `10`, `30`, or any multiple of `60`.

func (MetricAlarmMetricQueryMetricOutput) Stat

The statistic to apply to this metric. See docs for [supported statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html).

func (MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutput

func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutput() MetricAlarmMetricQueryMetricOutput

func (MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutputWithContext

func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricOutput

func (MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutput

func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput

func (MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext

func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricPtrOutput

func (MetricAlarmMetricQueryMetricOutput) Unit

The unit for this metric.

type MetricAlarmMetricQueryMetricPtrInput

type MetricAlarmMetricQueryMetricPtrInput interface {
	pulumi.Input

	ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput
	ToMetricAlarmMetricQueryMetricPtrOutputWithContext(context.Context) MetricAlarmMetricQueryMetricPtrOutput
}

MetricAlarmMetricQueryMetricPtrInput is an input type that accepts MetricAlarmMetricQueryMetricArgs, MetricAlarmMetricQueryMetricPtr and MetricAlarmMetricQueryMetricPtrOutput values. You can construct a concrete instance of `MetricAlarmMetricQueryMetricPtrInput` via:

        MetricAlarmMetricQueryMetricArgs{...}

or:

        nil

type MetricAlarmMetricQueryMetricPtrOutput

type MetricAlarmMetricQueryMetricPtrOutput struct{ *pulumi.OutputState }

func (MetricAlarmMetricQueryMetricPtrOutput) Dimensions

The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).

func (MetricAlarmMetricQueryMetricPtrOutput) Elem

func (MetricAlarmMetricQueryMetricPtrOutput) ElementType

func (MetricAlarmMetricQueryMetricPtrOutput) MetricName

The name for this metric. See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).

func (MetricAlarmMetricQueryMetricPtrOutput) Namespace

The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).

func (MetricAlarmMetricQueryMetricPtrOutput) Period

Granularity in seconds of returned data points. For metrics with regular resolution, valid values are any multiple of `60`. For high-resolution metrics, valid values are `1`, `5`, `10`, `30`, or any multiple of `60`.

func (MetricAlarmMetricQueryMetricPtrOutput) Stat

The statistic to apply to this metric. See docs for [supported statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html).

func (MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutput

func (o MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput

func (MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext

func (o MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricPtrOutput

func (MetricAlarmMetricQueryMetricPtrOutput) Unit

The unit for this metric.

type MetricAlarmMetricQueryOutput

type MetricAlarmMetricQueryOutput struct{ *pulumi.OutputState }

func (MetricAlarmMetricQueryOutput) AccountId

The ID of the account where the metrics are located, if this is a cross-account alarm.

func (MetricAlarmMetricQueryOutput) ElementType

func (MetricAlarmMetricQueryOutput) Expression

The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the id of the other metrics to refer to those metrics, and can also use the id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax).

func (MetricAlarmMetricQueryOutput) Id

A short name used to tie this object to the results in the response. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.

func (MetricAlarmMetricQueryOutput) Label

A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents.

func (MetricAlarmMetricQueryOutput) Metric

The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.

func (MetricAlarmMetricQueryOutput) Period

Granularity in seconds of returned data points. For metrics with regular resolution, valid values are any multiple of `60`. For high-resolution metrics, valid values are `1`, `5`, `10`, `30`, or any multiple of `60`.

func (MetricAlarmMetricQueryOutput) ReturnData

Specify exactly one `metricQuery` to be `true` to use that `metricQuery` result as the alarm.

> **NOTE:** You must specify either `metric` or `expression`. Not both.

func (MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutput

func (o MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutput() MetricAlarmMetricQueryOutput

func (MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutputWithContext

func (o MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutputWithContext(ctx context.Context) MetricAlarmMetricQueryOutput

type MetricAlarmOutput

type MetricAlarmOutput struct{ *pulumi.OutputState }

func (MetricAlarmOutput) ActionsEnabled

func (o MetricAlarmOutput) ActionsEnabled() pulumi.BoolPtrOutput

Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`.

func (MetricAlarmOutput) AlarmActions

func (o MetricAlarmOutput) AlarmActions() pulumi.StringArrayOutput

The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

func (MetricAlarmOutput) AlarmDescription

func (o MetricAlarmOutput) AlarmDescription() pulumi.StringPtrOutput

The description for the alarm.

func (MetricAlarmOutput) Arn

The ARN of the CloudWatch Metric Alarm.

func (MetricAlarmOutput) ComparisonOperator

func (o MetricAlarmOutput) ComparisonOperator() pulumi.StringOutput

The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`. Additionally, the values `LessThanLowerOrGreaterThanUpperThreshold`, `LessThanLowerThreshold`, and `GreaterThanUpperThreshold` are used only for alarms based on anomaly detection models.

func (MetricAlarmOutput) DatapointsToAlarm

func (o MetricAlarmOutput) DatapointsToAlarm() pulumi.IntPtrOutput

The number of datapoints that must be breaching to trigger the alarm.

func (MetricAlarmOutput) Dimensions

func (o MetricAlarmOutput) Dimensions() pulumi.StringMapOutput

The dimensions for the alarm's associated metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).

func (MetricAlarmOutput) ElementType

func (MetricAlarmOutput) ElementType() reflect.Type

func (MetricAlarmOutput) EvaluateLowSampleCountPercentiles

func (o MetricAlarmOutput) EvaluateLowSampleCountPercentiles() pulumi.StringOutput

Used only for alarms based on percentiles. If you specify `ignore`, the alarm state will not change during periods with too few data points to be statistically significant. If you specify `evaluate` or omit this parameter, the alarm will always be evaluated and possibly change state no matter how many data points are available. The following values are supported: `ignore`, and `evaluate`.

func (MetricAlarmOutput) EvaluationPeriods

func (o MetricAlarmOutput) EvaluationPeriods() pulumi.IntOutput

The number of periods over which data is compared to the specified threshold.

func (MetricAlarmOutput) ExtendedStatistic

func (o MetricAlarmOutput) ExtendedStatistic() pulumi.StringPtrOutput

The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.

func (MetricAlarmOutput) InsufficientDataActions

func (o MetricAlarmOutput) InsufficientDataActions() pulumi.StringArrayOutput

The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

func (MetricAlarmOutput) MetricName

func (o MetricAlarmOutput) MetricName() pulumi.StringPtrOutput

The name for the alarm's associated metric. See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).

func (MetricAlarmOutput) MetricQueries

Enables you to create an alarm based on a metric math expression. You may specify at most 20.

func (MetricAlarmOutput) Name

The descriptive name for the alarm. This name must be unique within the user's AWS account

func (MetricAlarmOutput) Namespace

The namespace for the alarm's associated metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).

func (MetricAlarmOutput) OkActions

The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

func (MetricAlarmOutput) Period

The period in seconds over which the specified `statistic` is applied. Valid values are `10`, `30`, or any multiple of `60`.

func (MetricAlarmOutput) Statistic

The statistic to apply to the alarm's associated metric. Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum`

func (MetricAlarmOutput) Tags

A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

> **NOTE:** If you specify at least one `metricQuery`, you may not specify a `metricName`, `namespace`, `period` or `statistic`. If you do not specify a `metricQuery`, you must specify each of these (although you may use `extendedStatistic` instead of `statistic`).

func (MetricAlarmOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (MetricAlarmOutput) Threshold

The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models.

func (MetricAlarmOutput) ThresholdMetricId

func (o MetricAlarmOutput) ThresholdMetricId() pulumi.StringPtrOutput

If this is an alarm based on an anomaly detection model, make this value match the ID of the ANOMALY_DETECTION_BAND function.

func (MetricAlarmOutput) ToMetricAlarmOutput

func (o MetricAlarmOutput) ToMetricAlarmOutput() MetricAlarmOutput

func (MetricAlarmOutput) ToMetricAlarmOutputWithContext

func (o MetricAlarmOutput) ToMetricAlarmOutputWithContext(ctx context.Context) MetricAlarmOutput

func (MetricAlarmOutput) TreatMissingData

func (o MetricAlarmOutput) TreatMissingData() pulumi.StringPtrOutput

Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`.

func (MetricAlarmOutput) Unit

The unit for the alarm's associated metric.

type MetricAlarmState

type MetricAlarmState struct {
	// Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`.
	ActionsEnabled pulumi.BoolPtrInput
	// The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	AlarmActions pulumi.ArrayInput
	// The description for the alarm.
	AlarmDescription pulumi.StringPtrInput
	// The ARN of the CloudWatch Metric Alarm.
	Arn pulumi.StringPtrInput
	// The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`. Additionally, the values  `LessThanLowerOrGreaterThanUpperThreshold`, `LessThanLowerThreshold`, and `GreaterThanUpperThreshold` are used only for alarms based on anomaly detection models.
	ComparisonOperator pulumi.StringPtrInput
	// The number of datapoints that must be breaching to trigger the alarm.
	DatapointsToAlarm pulumi.IntPtrInput
	// The dimensions for the alarm's associated metric.  For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Dimensions pulumi.StringMapInput
	// Used only for alarms based on percentiles.
	// If you specify `ignore`, the alarm state will not change during periods with too few data points to be statistically significant.
	// If you specify `evaluate` or omit this parameter, the alarm will always be evaluated and possibly change state no matter how many data points are available.
	// The following values are supported: `ignore`, and `evaluate`.
	EvaluateLowSampleCountPercentiles pulumi.StringPtrInput
	// The number of periods over which data is compared to the specified threshold.
	EvaluationPeriods pulumi.IntPtrInput
	// The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
	ExtendedStatistic pulumi.StringPtrInput
	// The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	InsufficientDataActions pulumi.ArrayInput
	// The name for the alarm's associated metric.
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	MetricName pulumi.StringPtrInput
	// Enables you to create an alarm based on a metric math expression. You may specify at most 20.
	MetricQueries MetricAlarmMetricQueryArrayInput
	// The descriptive name for the alarm. This name must be unique within the user's AWS account
	Name pulumi.StringPtrInput
	// The namespace for the alarm's associated metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html).
	// See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
	Namespace pulumi.StringPtrInput
	// The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).
	OkActions pulumi.ArrayInput
	// The period in seconds over which the specified `statistic` is applied.
	// Valid values are `10`, `30`, or any multiple of `60`.
	Period pulumi.IntPtrInput
	// The statistic to apply to the alarm's associated metric.
	// Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum`
	Statistic pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	//
	// > **NOTE:**  If you specify at least one `metricQuery`, you may not specify a `metricName`, `namespace`, `period` or `statistic`. If you do not specify a `metricQuery`, you must specify each of these (although you may use `extendedStatistic` instead of `statistic`).
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models.
	Threshold pulumi.Float64PtrInput
	// If this is an alarm based on an anomaly detection model, make this value match the ID of the ANOMALY_DETECTION_BAND function.
	ThresholdMetricId pulumi.StringPtrInput
	// Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`.
	TreatMissingData pulumi.StringPtrInput
	// The unit for the alarm's associated metric.
	Unit pulumi.StringPtrInput
}

func (MetricAlarmState) ElementType

func (MetricAlarmState) ElementType() reflect.Type

type MetricStream

type MetricStream struct {
	pulumi.CustomResourceState

	// ARN of the metric stream.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was created.
	CreationDate pulumi.StringOutput `pulumi:"creationDate"`
	// List of exclusive metric filters. If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces and the conditional metric names that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is excluded. Conflicts with `includeFilter`.
	ExcludeFilters MetricStreamExcludeFilterArrayOutput `pulumi:"excludeFilters"`
	// ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream.
	FirehoseArn pulumi.StringOutput `pulumi:"firehoseArn"`
	// List of inclusive metric filters. If you specify this parameter, the stream sends only the conditional metric names from the metric namespaces that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is included. Conflicts with `excludeFilter`.
	IncludeFilters MetricStreamIncludeFilterArrayOutput `pulumi:"includeFilters"`
	// If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false. For more information about linking accounts, see [CloudWatch cross-account observability](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html).
	IncludeLinkedAccountsMetrics pulumi.BoolPtrOutput `pulumi:"includeLinkedAccountsMetrics"`
	// Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was last updated.
	LastUpdateDate pulumi.StringOutput `pulumi:"lastUpdateDate"`
	// Friendly name of the metric stream. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringOutput `pulumi:"namePrefix"`
	// Output format for the stream. Possible values are `json`, `opentelemetry0.7`, and `opentelemetry1.0`. For more information about output formats, see [Metric streams output formats](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html).
	//
	// The following arguments are optional:
	OutputFormat pulumi.StringOutput `pulumi:"outputFormat"`
	// ARN of the IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. For more information about role permissions, see [Trust between CloudWatch and Kinesis Data Firehose](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html).
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
	// State of the metric stream. Possible values are `running` and `stopped`.
	State pulumi.StringOutput `pulumi:"state"`
	// For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's `outputFormat`. If the OutputFormat is `json`, you can stream any additional statistic that is supported by CloudWatch, listed in [CloudWatch statistics definitions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html). If the OutputFormat is `opentelemetry0.7` or `opentelemetry1.0`, you can stream percentile statistics (p99 etc.). See details below.
	StatisticsConfigurations MetricStreamStatisticsConfigurationArrayOutput `pulumi:"statisticsConfigurations"`
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a CloudWatch Metric Stream resource.

## Example Usage

### Filters

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesis"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html
		streamsAssumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"streams.metrics.cloudwatch.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		metricStreamToFirehoseRole, err := iam.NewRole(ctx, "metric_stream_to_firehose", &iam.RoleArgs{
			Name:             pulumi.String("metric_stream_to_firehose_role"),
			AssumeRolePolicy: pulumi.String(streamsAssumeRole.Json),
		})
		if err != nil {
			return err
		}
		bucket, err := s3.NewBucketV2(ctx, "bucket", &s3.BucketV2Args{
			Bucket: pulumi.String("metric-stream-test-bucket"),
		})
		if err != nil {
			return err
		}
		firehoseAssumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"firehose.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		firehoseToS3Role, err := iam.NewRole(ctx, "firehose_to_s3", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.String(firehoseAssumeRole.Json),
		})
		if err != nil {
			return err
		}
		s3Stream, err := kinesis.NewFirehoseDeliveryStream(ctx, "s3_stream", &kinesis.FirehoseDeliveryStreamArgs{
			Name:        pulumi.String("metric-stream-test-stream"),
			Destination: pulumi.String("extended_s3"),
			ExtendedS3Configuration: &kinesis.FirehoseDeliveryStreamExtendedS3ConfigurationArgs{
				RoleArn:   firehoseToS3Role.Arn,
				BucketArn: bucket.Arn,
			},
		})
		if err != nil {
			return err
		}
		_, err = cloudwatch.NewMetricStream(ctx, "main", &cloudwatch.MetricStreamArgs{
			Name:         pulumi.String("my-metric-stream"),
			RoleArn:      metricStreamToFirehoseRole.Arn,
			FirehoseArn:  s3Stream.Arn,
			OutputFormat: pulumi.String("json"),
			IncludeFilters: cloudwatch.MetricStreamIncludeFilterArray{
				&cloudwatch.MetricStreamIncludeFilterArgs{
					Namespace: pulumi.String("AWS/EC2"),
					MetricNames: pulumi.StringArray{
						pulumi.String("CPUUtilization"),
						pulumi.String("NetworkOut"),
					},
				},
				&cloudwatch.MetricStreamIncludeFilterArgs{
					Namespace:   pulumi.String("AWS/EBS"),
					MetricNames: pulumi.StringArray{},
				},
			},
		})
		if err != nil {
			return err
		}
		// https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html
		metricStreamToFirehose := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("firehose:PutRecord"),
						pulumi.String("firehose:PutRecordBatch"),
					},
					Resources: pulumi.StringArray{
						s3Stream.Arn,
					},
				},
			},
		}, nil)
		_, err = iam.NewRolePolicy(ctx, "metric_stream_to_firehose", &iam.RolePolicyArgs{
			Name: pulumi.String("default"),
			Role: metricStreamToFirehoseRole.ID(),
			Policy: pulumi.String(metricStreamToFirehose.ApplyT(func(metricStreamToFirehose iam.GetPolicyDocumentResult) (*string, error) {
				return &metricStreamToFirehose.Json, nil
			}).(pulumi.StringPtrOutput)),
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketAclV2(ctx, "bucket_acl", &s3.BucketAclV2Args{
			Bucket: bucket.ID(),
			Acl:    pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		firehoseToS3 := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("s3:AbortMultipartUpload"),
						pulumi.String("s3:GetBucketLocation"),
						pulumi.String("s3:GetObject"),
						pulumi.String("s3:ListBucket"),
						pulumi.String("s3:ListBucketMultipartUploads"),
						pulumi.String("s3:PutObject"),
					},
					Resources: pulumi.StringArray{
						bucket.Arn,
						bucket.Arn.ApplyT(func(arn string) (string, error) {
							return fmt.Sprintf("%v/*", arn), nil
						}).(pulumi.StringOutput),
					},
				},
			},
		}, nil)
		_, err = iam.NewRolePolicy(ctx, "firehose_to_s3", &iam.RolePolicyArgs{
			Name: pulumi.String("default"),
			Role: firehoseToS3Role.ID(),
			Policy: pulumi.String(firehoseToS3.ApplyT(func(firehoseToS3 iam.GetPolicyDocumentResult) (*string, error) {
				return &firehoseToS3.Json, nil
			}).(pulumi.StringPtrOutput)),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Additional Statistics

```go 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.NewMetricStream(ctx, "main", &cloudwatch.MetricStreamArgs{
			Name:         pulumi.String("my-metric-stream"),
			RoleArn:      pulumi.Any(metricStreamToFirehose.Arn),
			FirehoseArn:  pulumi.Any(s3Stream.Arn),
			OutputFormat: pulumi.String("json"),
			StatisticsConfigurations: cloudwatch.MetricStreamStatisticsConfigurationArray{
				&cloudwatch.MetricStreamStatisticsConfigurationArgs{
					AdditionalStatistics: pulumi.StringArray{
						pulumi.String("p1"),
						pulumi.String("tm99"),
					},
					IncludeMetrics: cloudwatch.MetricStreamStatisticsConfigurationIncludeMetricArray{
						&cloudwatch.MetricStreamStatisticsConfigurationIncludeMetricArgs{
							MetricName: pulumi.String("CPUUtilization"),
							Namespace:  pulumi.String("AWS/EC2"),
						},
					},
				},
				&cloudwatch.MetricStreamStatisticsConfigurationArgs{
					AdditionalStatistics: pulumi.StringArray{
						pulumi.String("TS(50.5:)"),
					},
					IncludeMetrics: cloudwatch.MetricStreamStatisticsConfigurationIncludeMetricArray{
						&cloudwatch.MetricStreamStatisticsConfigurationIncludeMetricArgs{
							MetricName: pulumi.String("CPUUtilization"),
							Namespace:  pulumi.String("AWS/EC2"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CloudWatch metric streams using the `name`. For example:

```sh $ pulumi import aws:cloudwatch/metricStream:MetricStream sample sample-stream-name ```

func GetMetricStream

func GetMetricStream(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MetricStreamState, opts ...pulumi.ResourceOption) (*MetricStream, error)

GetMetricStream gets an existing MetricStream resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMetricStream

func NewMetricStream(ctx *pulumi.Context,
	name string, args *MetricStreamArgs, opts ...pulumi.ResourceOption) (*MetricStream, error)

NewMetricStream registers a new resource with the given unique name, arguments, and options.

func (*MetricStream) ElementType

func (*MetricStream) ElementType() reflect.Type

func (*MetricStream) ToMetricStreamOutput

func (i *MetricStream) ToMetricStreamOutput() MetricStreamOutput

func (*MetricStream) ToMetricStreamOutputWithContext

func (i *MetricStream) ToMetricStreamOutputWithContext(ctx context.Context) MetricStreamOutput

type MetricStreamArgs

type MetricStreamArgs struct {
	// List of exclusive metric filters. If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces and the conditional metric names that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is excluded. Conflicts with `includeFilter`.
	ExcludeFilters MetricStreamExcludeFilterArrayInput
	// ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream.
	FirehoseArn pulumi.StringInput
	// List of inclusive metric filters. If you specify this parameter, the stream sends only the conditional metric names from the metric namespaces that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is included. Conflicts with `excludeFilter`.
	IncludeFilters MetricStreamIncludeFilterArrayInput
	// If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false. For more information about linking accounts, see [CloudWatch cross-account observability](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html).
	IncludeLinkedAccountsMetrics pulumi.BoolPtrInput
	// Friendly name of the metric stream. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
	Name pulumi.StringPtrInput
	// Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// Output format for the stream. Possible values are `json`, `opentelemetry0.7`, and `opentelemetry1.0`. For more information about output formats, see [Metric streams output formats](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html).
	//
	// The following arguments are optional:
	OutputFormat pulumi.StringInput
	// ARN of the IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. For more information about role permissions, see [Trust between CloudWatch and Kinesis Data Firehose](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html).
	RoleArn pulumi.StringInput
	// For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's `outputFormat`. If the OutputFormat is `json`, you can stream any additional statistic that is supported by CloudWatch, listed in [CloudWatch statistics definitions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html). If the OutputFormat is `opentelemetry0.7` or `opentelemetry1.0`, you can stream percentile statistics (p99 etc.). See details below.
	StatisticsConfigurations MetricStreamStatisticsConfigurationArrayInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a MetricStream resource.

func (MetricStreamArgs) ElementType

func (MetricStreamArgs) ElementType() reflect.Type

type MetricStreamArray

type MetricStreamArray []MetricStreamInput

func (MetricStreamArray) ElementType

func (MetricStreamArray) ElementType() reflect.Type

func (MetricStreamArray) ToMetricStreamArrayOutput

func (i MetricStreamArray) ToMetricStreamArrayOutput() MetricStreamArrayOutput

func (MetricStreamArray) ToMetricStreamArrayOutputWithContext

func (i MetricStreamArray) ToMetricStreamArrayOutputWithContext(ctx context.Context) MetricStreamArrayOutput

type MetricStreamArrayInput

type MetricStreamArrayInput interface {
	pulumi.Input

	ToMetricStreamArrayOutput() MetricStreamArrayOutput
	ToMetricStreamArrayOutputWithContext(context.Context) MetricStreamArrayOutput
}

MetricStreamArrayInput is an input type that accepts MetricStreamArray and MetricStreamArrayOutput values. You can construct a concrete instance of `MetricStreamArrayInput` via:

MetricStreamArray{ MetricStreamArgs{...} }

type MetricStreamArrayOutput

type MetricStreamArrayOutput struct{ *pulumi.OutputState }

func (MetricStreamArrayOutput) ElementType

func (MetricStreamArrayOutput) ElementType() reflect.Type

func (MetricStreamArrayOutput) Index

func (MetricStreamArrayOutput) ToMetricStreamArrayOutput

func (o MetricStreamArrayOutput) ToMetricStreamArrayOutput() MetricStreamArrayOutput

func (MetricStreamArrayOutput) ToMetricStreamArrayOutputWithContext

func (o MetricStreamArrayOutput) ToMetricStreamArrayOutputWithContext(ctx context.Context) MetricStreamArrayOutput

type MetricStreamExcludeFilter

type MetricStreamExcludeFilter struct {
	// An array that defines the metrics you want to exclude for this metric namespace
	MetricNames []string `pulumi:"metricNames"`
	// Name of the metric namespace in the filter.
	Namespace string `pulumi:"namespace"`
}

type MetricStreamExcludeFilterArgs

type MetricStreamExcludeFilterArgs struct {
	// An array that defines the metrics you want to exclude for this metric namespace
	MetricNames pulumi.StringArrayInput `pulumi:"metricNames"`
	// Name of the metric namespace in the filter.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

func (MetricStreamExcludeFilterArgs) ElementType

func (MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutput

func (i MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutput() MetricStreamExcludeFilterOutput

func (MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutputWithContext

func (i MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutputWithContext(ctx context.Context) MetricStreamExcludeFilterOutput

type MetricStreamExcludeFilterArray

type MetricStreamExcludeFilterArray []MetricStreamExcludeFilterInput

func (MetricStreamExcludeFilterArray) ElementType

func (MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutput

func (i MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutput() MetricStreamExcludeFilterArrayOutput

func (MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutputWithContext

func (i MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamExcludeFilterArrayOutput

type MetricStreamExcludeFilterArrayInput

type MetricStreamExcludeFilterArrayInput interface {
	pulumi.Input

	ToMetricStreamExcludeFilterArrayOutput() MetricStreamExcludeFilterArrayOutput
	ToMetricStreamExcludeFilterArrayOutputWithContext(context.Context) MetricStreamExcludeFilterArrayOutput
}

MetricStreamExcludeFilterArrayInput is an input type that accepts MetricStreamExcludeFilterArray and MetricStreamExcludeFilterArrayOutput values. You can construct a concrete instance of `MetricStreamExcludeFilterArrayInput` via:

MetricStreamExcludeFilterArray{ MetricStreamExcludeFilterArgs{...} }

type MetricStreamExcludeFilterArrayOutput

type MetricStreamExcludeFilterArrayOutput struct{ *pulumi.OutputState }

func (MetricStreamExcludeFilterArrayOutput) ElementType

func (MetricStreamExcludeFilterArrayOutput) Index

func (MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutput

func (o MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutput() MetricStreamExcludeFilterArrayOutput

func (MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutputWithContext

func (o MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamExcludeFilterArrayOutput

type MetricStreamExcludeFilterInput

type MetricStreamExcludeFilterInput interface {
	pulumi.Input

	ToMetricStreamExcludeFilterOutput() MetricStreamExcludeFilterOutput
	ToMetricStreamExcludeFilterOutputWithContext(context.Context) MetricStreamExcludeFilterOutput
}

MetricStreamExcludeFilterInput is an input type that accepts MetricStreamExcludeFilterArgs and MetricStreamExcludeFilterOutput values. You can construct a concrete instance of `MetricStreamExcludeFilterInput` via:

MetricStreamExcludeFilterArgs{...}

type MetricStreamExcludeFilterOutput

type MetricStreamExcludeFilterOutput struct{ *pulumi.OutputState }

func (MetricStreamExcludeFilterOutput) ElementType

func (MetricStreamExcludeFilterOutput) MetricNames

An array that defines the metrics you want to exclude for this metric namespace

func (MetricStreamExcludeFilterOutput) Namespace

Name of the metric namespace in the filter.

func (MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutput

func (o MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutput() MetricStreamExcludeFilterOutput

func (MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutputWithContext

func (o MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutputWithContext(ctx context.Context) MetricStreamExcludeFilterOutput

type MetricStreamIncludeFilter

type MetricStreamIncludeFilter struct {
	// An array that defines the metrics you want to include for this metric namespace
	MetricNames []string `pulumi:"metricNames"`
	// Name of the metric namespace in the filter.
	Namespace string `pulumi:"namespace"`
}

type MetricStreamIncludeFilterArgs

type MetricStreamIncludeFilterArgs struct {
	// An array that defines the metrics you want to include for this metric namespace
	MetricNames pulumi.StringArrayInput `pulumi:"metricNames"`
	// Name of the metric namespace in the filter.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

func (MetricStreamIncludeFilterArgs) ElementType

func (MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutput

func (i MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutput() MetricStreamIncludeFilterOutput

func (MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutputWithContext

func (i MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutputWithContext(ctx context.Context) MetricStreamIncludeFilterOutput

type MetricStreamIncludeFilterArray

type MetricStreamIncludeFilterArray []MetricStreamIncludeFilterInput

func (MetricStreamIncludeFilterArray) ElementType

func (MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutput

func (i MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutput() MetricStreamIncludeFilterArrayOutput

func (MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutputWithContext

func (i MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamIncludeFilterArrayOutput

type MetricStreamIncludeFilterArrayInput

type MetricStreamIncludeFilterArrayInput interface {
	pulumi.Input

	ToMetricStreamIncludeFilterArrayOutput() MetricStreamIncludeFilterArrayOutput
	ToMetricStreamIncludeFilterArrayOutputWithContext(context.Context) MetricStreamIncludeFilterArrayOutput
}

MetricStreamIncludeFilterArrayInput is an input type that accepts MetricStreamIncludeFilterArray and MetricStreamIncludeFilterArrayOutput values. You can construct a concrete instance of `MetricStreamIncludeFilterArrayInput` via:

MetricStreamIncludeFilterArray{ MetricStreamIncludeFilterArgs{...} }

type MetricStreamIncludeFilterArrayOutput

type MetricStreamIncludeFilterArrayOutput struct{ *pulumi.OutputState }

func (MetricStreamIncludeFilterArrayOutput) ElementType

func (MetricStreamIncludeFilterArrayOutput) Index

func (MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutput

func (o MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutput() MetricStreamIncludeFilterArrayOutput

func (MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutputWithContext

func (o MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamIncludeFilterArrayOutput

type MetricStreamIncludeFilterInput

type MetricStreamIncludeFilterInput interface {
	pulumi.Input

	ToMetricStreamIncludeFilterOutput() MetricStreamIncludeFilterOutput
	ToMetricStreamIncludeFilterOutputWithContext(context.Context) MetricStreamIncludeFilterOutput
}

MetricStreamIncludeFilterInput is an input type that accepts MetricStreamIncludeFilterArgs and MetricStreamIncludeFilterOutput values. You can construct a concrete instance of `MetricStreamIncludeFilterInput` via:

MetricStreamIncludeFilterArgs{...}

type MetricStreamIncludeFilterOutput

type MetricStreamIncludeFilterOutput struct{ *pulumi.OutputState }

func (MetricStreamIncludeFilterOutput) ElementType

func (MetricStreamIncludeFilterOutput) MetricNames

An array that defines the metrics you want to include for this metric namespace

func (MetricStreamIncludeFilterOutput) Namespace

Name of the metric namespace in the filter.

func (MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutput

func (o MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutput() MetricStreamIncludeFilterOutput

func (MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutputWithContext

func (o MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutputWithContext(ctx context.Context) MetricStreamIncludeFilterOutput

type MetricStreamInput

type MetricStreamInput interface {
	pulumi.Input

	ToMetricStreamOutput() MetricStreamOutput
	ToMetricStreamOutputWithContext(ctx context.Context) MetricStreamOutput
}

type MetricStreamMap

type MetricStreamMap map[string]MetricStreamInput

func (MetricStreamMap) ElementType

func (MetricStreamMap) ElementType() reflect.Type

func (MetricStreamMap) ToMetricStreamMapOutput

func (i MetricStreamMap) ToMetricStreamMapOutput() MetricStreamMapOutput

func (MetricStreamMap) ToMetricStreamMapOutputWithContext

func (i MetricStreamMap) ToMetricStreamMapOutputWithContext(ctx context.Context) MetricStreamMapOutput

type MetricStreamMapInput

type MetricStreamMapInput interface {
	pulumi.Input

	ToMetricStreamMapOutput() MetricStreamMapOutput
	ToMetricStreamMapOutputWithContext(context.Context) MetricStreamMapOutput
}

MetricStreamMapInput is an input type that accepts MetricStreamMap and MetricStreamMapOutput values. You can construct a concrete instance of `MetricStreamMapInput` via:

MetricStreamMap{ "key": MetricStreamArgs{...} }

type MetricStreamMapOutput

type MetricStreamMapOutput struct{ *pulumi.OutputState }

func (MetricStreamMapOutput) ElementType

func (MetricStreamMapOutput) ElementType() reflect.Type

func (MetricStreamMapOutput) MapIndex

func (MetricStreamMapOutput) ToMetricStreamMapOutput

func (o MetricStreamMapOutput) ToMetricStreamMapOutput() MetricStreamMapOutput

func (MetricStreamMapOutput) ToMetricStreamMapOutputWithContext

func (o MetricStreamMapOutput) ToMetricStreamMapOutputWithContext(ctx context.Context) MetricStreamMapOutput

type MetricStreamOutput

type MetricStreamOutput struct{ *pulumi.OutputState }

func (MetricStreamOutput) Arn

ARN of the metric stream.

func (MetricStreamOutput) CreationDate

func (o MetricStreamOutput) CreationDate() pulumi.StringOutput

Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was created.

func (MetricStreamOutput) ElementType

func (MetricStreamOutput) ElementType() reflect.Type

func (MetricStreamOutput) ExcludeFilters

List of exclusive metric filters. If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces and the conditional metric names that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is excluded. Conflicts with `includeFilter`.

func (MetricStreamOutput) FirehoseArn

func (o MetricStreamOutput) FirehoseArn() pulumi.StringOutput

ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream.

func (MetricStreamOutput) IncludeFilters

List of inclusive metric filters. If you specify this parameter, the stream sends only the conditional metric names from the metric namespaces that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is included. Conflicts with `excludeFilter`.

func (MetricStreamOutput) IncludeLinkedAccountsMetrics

func (o MetricStreamOutput) IncludeLinkedAccountsMetrics() pulumi.BoolPtrOutput

If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false. For more information about linking accounts, see [CloudWatch cross-account observability](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html).

func (MetricStreamOutput) LastUpdateDate

func (o MetricStreamOutput) LastUpdateDate() pulumi.StringOutput

Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was last updated.

func (MetricStreamOutput) Name

Friendly name of the metric stream. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.

func (MetricStreamOutput) NamePrefix

func (o MetricStreamOutput) NamePrefix() pulumi.StringOutput

Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`.

func (MetricStreamOutput) OutputFormat

func (o MetricStreamOutput) OutputFormat() pulumi.StringOutput

Output format for the stream. Possible values are `json`, `opentelemetry0.7`, and `opentelemetry1.0`. For more information about output formats, see [Metric streams output formats](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html).

The following arguments are optional:

func (MetricStreamOutput) RoleArn

ARN of the IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. For more information about role permissions, see [Trust between CloudWatch and Kinesis Data Firehose](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html).

func (MetricStreamOutput) State

State of the metric stream. Possible values are `running` and `stopped`.

func (MetricStreamOutput) StatisticsConfigurations

For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's `outputFormat`. If the OutputFormat is `json`, you can stream any additional statistic that is supported by CloudWatch, listed in [CloudWatch statistics definitions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html). If the OutputFormat is `opentelemetry0.7` or `opentelemetry1.0`, you can stream percentile statistics (p99 etc.). See details below.

func (MetricStreamOutput) Tags

Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (MetricStreamOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (MetricStreamOutput) ToMetricStreamOutput

func (o MetricStreamOutput) ToMetricStreamOutput() MetricStreamOutput

func (MetricStreamOutput) ToMetricStreamOutputWithContext

func (o MetricStreamOutput) ToMetricStreamOutputWithContext(ctx context.Context) MetricStreamOutput

type MetricStreamState

type MetricStreamState struct {
	// ARN of the metric stream.
	Arn pulumi.StringPtrInput
	// Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was created.
	CreationDate pulumi.StringPtrInput
	// List of exclusive metric filters. If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces and the conditional metric names that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is excluded. Conflicts with `includeFilter`.
	ExcludeFilters MetricStreamExcludeFilterArrayInput
	// ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream.
	FirehoseArn pulumi.StringPtrInput
	// List of inclusive metric filters. If you specify this parameter, the stream sends only the conditional metric names from the metric namespaces that you specify here. If you don't specify metric names or provide empty metric names whole metric namespace is included. Conflicts with `excludeFilter`.
	IncludeFilters MetricStreamIncludeFilterArrayInput
	// If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false. For more information about linking accounts, see [CloudWatch cross-account observability](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html).
	IncludeLinkedAccountsMetrics pulumi.BoolPtrInput
	// Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was last updated.
	LastUpdateDate pulumi.StringPtrInput
	// Friendly name of the metric stream. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
	Name pulumi.StringPtrInput
	// Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`.
	NamePrefix pulumi.StringPtrInput
	// Output format for the stream. Possible values are `json`, `opentelemetry0.7`, and `opentelemetry1.0`. For more information about output formats, see [Metric streams output formats](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html).
	//
	// The following arguments are optional:
	OutputFormat pulumi.StringPtrInput
	// ARN of the IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. For more information about role permissions, see [Trust between CloudWatch and Kinesis Data Firehose](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html).
	RoleArn pulumi.StringPtrInput
	// State of the metric stream. Possible values are `running` and `stopped`.
	State pulumi.StringPtrInput
	// For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's `outputFormat`. If the OutputFormat is `json`, you can stream any additional statistic that is supported by CloudWatch, listed in [CloudWatch statistics definitions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html). If the OutputFormat is `opentelemetry0.7` or `opentelemetry1.0`, you can stream percentile statistics (p99 etc.). See details below.
	StatisticsConfigurations MetricStreamStatisticsConfigurationArrayInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (MetricStreamState) ElementType

func (MetricStreamState) ElementType() reflect.Type

type MetricStreamStatisticsConfiguration

type MetricStreamStatisticsConfiguration struct {
	// The additional statistics to stream for the metrics listed in `includeMetrics`.
	AdditionalStatistics []string `pulumi:"additionalStatistics"`
	// An array that defines the metrics that are to have additional statistics streamed. See details below.
	IncludeMetrics []MetricStreamStatisticsConfigurationIncludeMetric `pulumi:"includeMetrics"`
}

type MetricStreamStatisticsConfigurationArgs

type MetricStreamStatisticsConfigurationArgs struct {
	// The additional statistics to stream for the metrics listed in `includeMetrics`.
	AdditionalStatistics pulumi.StringArrayInput `pulumi:"additionalStatistics"`
	// An array that defines the metrics that are to have additional statistics streamed. See details below.
	IncludeMetrics MetricStreamStatisticsConfigurationIncludeMetricArrayInput `pulumi:"includeMetrics"`
}

func (MetricStreamStatisticsConfigurationArgs) ElementType

func (MetricStreamStatisticsConfigurationArgs) ToMetricStreamStatisticsConfigurationOutput

func (i MetricStreamStatisticsConfigurationArgs) ToMetricStreamStatisticsConfigurationOutput() MetricStreamStatisticsConfigurationOutput

func (MetricStreamStatisticsConfigurationArgs) ToMetricStreamStatisticsConfigurationOutputWithContext

func (i MetricStreamStatisticsConfigurationArgs) ToMetricStreamStatisticsConfigurationOutputWithContext(ctx context.Context) MetricStreamStatisticsConfigurationOutput

type MetricStreamStatisticsConfigurationArray

type MetricStreamStatisticsConfigurationArray []MetricStreamStatisticsConfigurationInput

func (MetricStreamStatisticsConfigurationArray) ElementType

func (MetricStreamStatisticsConfigurationArray) ToMetricStreamStatisticsConfigurationArrayOutput

func (i MetricStreamStatisticsConfigurationArray) ToMetricStreamStatisticsConfigurationArrayOutput() MetricStreamStatisticsConfigurationArrayOutput

func (MetricStreamStatisticsConfigurationArray) ToMetricStreamStatisticsConfigurationArrayOutputWithContext

func (i MetricStreamStatisticsConfigurationArray) ToMetricStreamStatisticsConfigurationArrayOutputWithContext(ctx context.Context) MetricStreamStatisticsConfigurationArrayOutput

type MetricStreamStatisticsConfigurationArrayInput

type MetricStreamStatisticsConfigurationArrayInput interface {
	pulumi.Input

	ToMetricStreamStatisticsConfigurationArrayOutput() MetricStreamStatisticsConfigurationArrayOutput
	ToMetricStreamStatisticsConfigurationArrayOutputWithContext(context.Context) MetricStreamStatisticsConfigurationArrayOutput
}

MetricStreamStatisticsConfigurationArrayInput is an input type that accepts MetricStreamStatisticsConfigurationArray and MetricStreamStatisticsConfigurationArrayOutput values. You can construct a concrete instance of `MetricStreamStatisticsConfigurationArrayInput` via:

MetricStreamStatisticsConfigurationArray{ MetricStreamStatisticsConfigurationArgs{...} }

type MetricStreamStatisticsConfigurationArrayOutput

type MetricStreamStatisticsConfigurationArrayOutput struct{ *pulumi.OutputState }

func (MetricStreamStatisticsConfigurationArrayOutput) ElementType

func (MetricStreamStatisticsConfigurationArrayOutput) Index

func (MetricStreamStatisticsConfigurationArrayOutput) ToMetricStreamStatisticsConfigurationArrayOutput

func (o MetricStreamStatisticsConfigurationArrayOutput) ToMetricStreamStatisticsConfigurationArrayOutput() MetricStreamStatisticsConfigurationArrayOutput

func (MetricStreamStatisticsConfigurationArrayOutput) ToMetricStreamStatisticsConfigurationArrayOutputWithContext

func (o MetricStreamStatisticsConfigurationArrayOutput) ToMetricStreamStatisticsConfigurationArrayOutputWithContext(ctx context.Context) MetricStreamStatisticsConfigurationArrayOutput

type MetricStreamStatisticsConfigurationIncludeMetric

type MetricStreamStatisticsConfigurationIncludeMetric struct {
	// The name of the metric.
	MetricName string `pulumi:"metricName"`
	Namespace  string `pulumi:"namespace"`
}

type MetricStreamStatisticsConfigurationIncludeMetricArgs

type MetricStreamStatisticsConfigurationIncludeMetricArgs struct {
	// The name of the metric.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	Namespace  pulumi.StringInput `pulumi:"namespace"`
}

func (MetricStreamStatisticsConfigurationIncludeMetricArgs) ElementType

func (MetricStreamStatisticsConfigurationIncludeMetricArgs) ToMetricStreamStatisticsConfigurationIncludeMetricOutput

func (i MetricStreamStatisticsConfigurationIncludeMetricArgs) ToMetricStreamStatisticsConfigurationIncludeMetricOutput() MetricStreamStatisticsConfigurationIncludeMetricOutput

func (MetricStreamStatisticsConfigurationIncludeMetricArgs) ToMetricStreamStatisticsConfigurationIncludeMetricOutputWithContext

func (i MetricStreamStatisticsConfigurationIncludeMetricArgs) ToMetricStreamStatisticsConfigurationIncludeMetricOutputWithContext(ctx context.Context) MetricStreamStatisticsConfigurationIncludeMetricOutput

type MetricStreamStatisticsConfigurationIncludeMetricArray

type MetricStreamStatisticsConfigurationIncludeMetricArray []MetricStreamStatisticsConfigurationIncludeMetricInput

func (MetricStreamStatisticsConfigurationIncludeMetricArray) ElementType

func (MetricStreamStatisticsConfigurationIncludeMetricArray) ToMetricStreamStatisticsConfigurationIncludeMetricArrayOutput

func (i MetricStreamStatisticsConfigurationIncludeMetricArray) ToMetricStreamStatisticsConfigurationIncludeMetricArrayOutput() MetricStreamStatisticsConfigurationIncludeMetricArrayOutput

func (MetricStreamStatisticsConfigurationIncludeMetricArray) ToMetricStreamStatisticsConfigurationIncludeMetricArrayOutputWithContext

func (i MetricStreamStatisticsConfigurationIncludeMetricArray) ToMetricStreamStatisticsConfigurationIncludeMetricArrayOutputWithContext(ctx context.Context) MetricStreamStatisticsConfigurationIncludeMetricArrayOutput

type MetricStreamStatisticsConfigurationIncludeMetricArrayInput

type MetricStreamStatisticsConfigurationIncludeMetricArrayInput interface {
	pulumi.Input

	ToMetricStreamStatisticsConfigurationIncludeMetricArrayOutput() MetricStreamStatisticsConfigurationIncludeMetricArrayOutput
	ToMetricStreamStatisticsConfigurationIncludeMetricArrayOutputWithContext(context.Context) MetricStreamStatisticsConfigurationIncludeMetricArrayOutput
}

MetricStreamStatisticsConfigurationIncludeMetricArrayInput is an input type that accepts MetricStreamStatisticsConfigurationIncludeMetricArray and MetricStreamStatisticsConfigurationIncludeMetricArrayOutput values. You can construct a concrete instance of `MetricStreamStatisticsConfigurationIncludeMetricArrayInput` via:

MetricStreamStatisticsConfigurationIncludeMetricArray{ MetricStreamStatisticsConfigurationIncludeMetricArgs{...} }

type MetricStreamStatisticsConfigurationIncludeMetricArrayOutput

type MetricStreamStatisticsConfigurationIncludeMetricArrayOutput struct{ *pulumi.OutputState }

func (MetricStreamStatisticsConfigurationIncludeMetricArrayOutput) ElementType

func (MetricStreamStatisticsConfigurationIncludeMetricArrayOutput) Index

func (MetricStreamStatisticsConfigurationIncludeMetricArrayOutput) ToMetricStreamStatisticsConfigurationIncludeMetricArrayOutput

func (MetricStreamStatisticsConfigurationIncludeMetricArrayOutput) ToMetricStreamStatisticsConfigurationIncludeMetricArrayOutputWithContext

func (o MetricStreamStatisticsConfigurationIncludeMetricArrayOutput) ToMetricStreamStatisticsConfigurationIncludeMetricArrayOutputWithContext(ctx context.Context) MetricStreamStatisticsConfigurationIncludeMetricArrayOutput

type MetricStreamStatisticsConfigurationIncludeMetricInput

type MetricStreamStatisticsConfigurationIncludeMetricInput interface {
	pulumi.Input

	ToMetricStreamStatisticsConfigurationIncludeMetricOutput() MetricStreamStatisticsConfigurationIncludeMetricOutput
	ToMetricStreamStatisticsConfigurationIncludeMetricOutputWithContext(context.Context) MetricStreamStatisticsConfigurationIncludeMetricOutput
}

MetricStreamStatisticsConfigurationIncludeMetricInput is an input type that accepts MetricStreamStatisticsConfigurationIncludeMetricArgs and MetricStreamStatisticsConfigurationIncludeMetricOutput values. You can construct a concrete instance of `MetricStreamStatisticsConfigurationIncludeMetricInput` via:

MetricStreamStatisticsConfigurationIncludeMetricArgs{...}

type MetricStreamStatisticsConfigurationIncludeMetricOutput

type MetricStreamStatisticsConfigurationIncludeMetricOutput struct{ *pulumi.OutputState }

func (MetricStreamStatisticsConfigurationIncludeMetricOutput) ElementType

func (MetricStreamStatisticsConfigurationIncludeMetricOutput) MetricName

The name of the metric.

func (MetricStreamStatisticsConfigurationIncludeMetricOutput) Namespace

func (MetricStreamStatisticsConfigurationIncludeMetricOutput) ToMetricStreamStatisticsConfigurationIncludeMetricOutput

func (MetricStreamStatisticsConfigurationIncludeMetricOutput) ToMetricStreamStatisticsConfigurationIncludeMetricOutputWithContext

func (o MetricStreamStatisticsConfigurationIncludeMetricOutput) ToMetricStreamStatisticsConfigurationIncludeMetricOutputWithContext(ctx context.Context) MetricStreamStatisticsConfigurationIncludeMetricOutput

type MetricStreamStatisticsConfigurationInput

type MetricStreamStatisticsConfigurationInput interface {
	pulumi.Input

	ToMetricStreamStatisticsConfigurationOutput() MetricStreamStatisticsConfigurationOutput
	ToMetricStreamStatisticsConfigurationOutputWithContext(context.Context) MetricStreamStatisticsConfigurationOutput
}

MetricStreamStatisticsConfigurationInput is an input type that accepts MetricStreamStatisticsConfigurationArgs and MetricStreamStatisticsConfigurationOutput values. You can construct a concrete instance of `MetricStreamStatisticsConfigurationInput` via:

MetricStreamStatisticsConfigurationArgs{...}

type MetricStreamStatisticsConfigurationOutput

type MetricStreamStatisticsConfigurationOutput struct{ *pulumi.OutputState }

func (MetricStreamStatisticsConfigurationOutput) AdditionalStatistics

The additional statistics to stream for the metrics listed in `includeMetrics`.

func (MetricStreamStatisticsConfigurationOutput) ElementType

func (MetricStreamStatisticsConfigurationOutput) IncludeMetrics

An array that defines the metrics that are to have additional statistics streamed. See details below.

func (MetricStreamStatisticsConfigurationOutput) ToMetricStreamStatisticsConfigurationOutput

func (o MetricStreamStatisticsConfigurationOutput) ToMetricStreamStatisticsConfigurationOutput() MetricStreamStatisticsConfigurationOutput

func (MetricStreamStatisticsConfigurationOutput) ToMetricStreamStatisticsConfigurationOutputWithContext

func (o MetricStreamStatisticsConfigurationOutput) ToMetricStreamStatisticsConfigurationOutputWithContext(ctx context.Context) MetricStreamStatisticsConfigurationOutput

type QueryDefinition

type QueryDefinition struct {
	pulumi.CustomResourceState

	// Specific log groups to use with the query.
	LogGroupNames pulumi.StringArrayOutput `pulumi:"logGroupNames"`
	// The name of the query.
	Name pulumi.StringOutput `pulumi:"name"`
	// The query definition ID.
	QueryDefinitionId pulumi.StringOutput `pulumi:"queryDefinitionId"`
	// The query to save. You can read more about CloudWatch Logs Query Syntax in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html).
	QueryString pulumi.StringOutput `pulumi:"queryString"`
}

Provides a CloudWatch Logs query definition resource.

## Example Usage

```go 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.NewQueryDefinition(ctx, "example", &cloudwatch.QueryDefinitionArgs{
			Name: pulumi.String("custom_query"),
			LogGroupNames: pulumi.StringArray{
				pulumi.String("/aws/logGroup1"),
				pulumi.String("/aws/logGroup2"),
			},
			QueryString: pulumi.String("fields @timestamp, @message\n| sort @timestamp desc\n| limit 25\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CloudWatch query definitions using the query definition ARN. The ARN can be found on the "Edit Query" page for the query in the AWS Console. For example:

```sh $ pulumi import aws:cloudwatch/queryDefinition:QueryDefinition example arn:aws:logs:us-west-2:123456789012:query-definition:269951d7-6f75-496d-9d7b-6b7a5486bdbd ```

func GetQueryDefinition

func GetQueryDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *QueryDefinitionState, opts ...pulumi.ResourceOption) (*QueryDefinition, error)

GetQueryDefinition gets an existing QueryDefinition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewQueryDefinition

func NewQueryDefinition(ctx *pulumi.Context,
	name string, args *QueryDefinitionArgs, opts ...pulumi.ResourceOption) (*QueryDefinition, error)

NewQueryDefinition registers a new resource with the given unique name, arguments, and options.

func (*QueryDefinition) ElementType

func (*QueryDefinition) ElementType() reflect.Type

func (*QueryDefinition) ToQueryDefinitionOutput

func (i *QueryDefinition) ToQueryDefinitionOutput() QueryDefinitionOutput

func (*QueryDefinition) ToQueryDefinitionOutputWithContext

func (i *QueryDefinition) ToQueryDefinitionOutputWithContext(ctx context.Context) QueryDefinitionOutput

type QueryDefinitionArgs

type QueryDefinitionArgs struct {
	// Specific log groups to use with the query.
	LogGroupNames pulumi.StringArrayInput
	// The name of the query.
	Name pulumi.StringPtrInput
	// The query to save. You can read more about CloudWatch Logs Query Syntax in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html).
	QueryString pulumi.StringInput
}

The set of arguments for constructing a QueryDefinition resource.

func (QueryDefinitionArgs) ElementType

func (QueryDefinitionArgs) ElementType() reflect.Type

type QueryDefinitionArray

type QueryDefinitionArray []QueryDefinitionInput

func (QueryDefinitionArray) ElementType

func (QueryDefinitionArray) ElementType() reflect.Type

func (QueryDefinitionArray) ToQueryDefinitionArrayOutput

func (i QueryDefinitionArray) ToQueryDefinitionArrayOutput() QueryDefinitionArrayOutput

func (QueryDefinitionArray) ToQueryDefinitionArrayOutputWithContext

func (i QueryDefinitionArray) ToQueryDefinitionArrayOutputWithContext(ctx context.Context) QueryDefinitionArrayOutput

type QueryDefinitionArrayInput

type QueryDefinitionArrayInput interface {
	pulumi.Input

	ToQueryDefinitionArrayOutput() QueryDefinitionArrayOutput
	ToQueryDefinitionArrayOutputWithContext(context.Context) QueryDefinitionArrayOutput
}

QueryDefinitionArrayInput is an input type that accepts QueryDefinitionArray and QueryDefinitionArrayOutput values. You can construct a concrete instance of `QueryDefinitionArrayInput` via:

QueryDefinitionArray{ QueryDefinitionArgs{...} }

type QueryDefinitionArrayOutput

type QueryDefinitionArrayOutput struct{ *pulumi.OutputState }

func (QueryDefinitionArrayOutput) ElementType

func (QueryDefinitionArrayOutput) ElementType() reflect.Type

func (QueryDefinitionArrayOutput) Index

func (QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutput

func (o QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutput() QueryDefinitionArrayOutput

func (QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutputWithContext

func (o QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutputWithContext(ctx context.Context) QueryDefinitionArrayOutput

type QueryDefinitionInput

type QueryDefinitionInput interface {
	pulumi.Input

	ToQueryDefinitionOutput() QueryDefinitionOutput
	ToQueryDefinitionOutputWithContext(ctx context.Context) QueryDefinitionOutput
}

type QueryDefinitionMap

type QueryDefinitionMap map[string]QueryDefinitionInput

func (QueryDefinitionMap) ElementType

func (QueryDefinitionMap) ElementType() reflect.Type

func (QueryDefinitionMap) ToQueryDefinitionMapOutput

func (i QueryDefinitionMap) ToQueryDefinitionMapOutput() QueryDefinitionMapOutput

func (QueryDefinitionMap) ToQueryDefinitionMapOutputWithContext

func (i QueryDefinitionMap) ToQueryDefinitionMapOutputWithContext(ctx context.Context) QueryDefinitionMapOutput

type QueryDefinitionMapInput

type QueryDefinitionMapInput interface {
	pulumi.Input

	ToQueryDefinitionMapOutput() QueryDefinitionMapOutput
	ToQueryDefinitionMapOutputWithContext(context.Context) QueryDefinitionMapOutput
}

QueryDefinitionMapInput is an input type that accepts QueryDefinitionMap and QueryDefinitionMapOutput values. You can construct a concrete instance of `QueryDefinitionMapInput` via:

QueryDefinitionMap{ "key": QueryDefinitionArgs{...} }

type QueryDefinitionMapOutput

type QueryDefinitionMapOutput struct{ *pulumi.OutputState }

func (QueryDefinitionMapOutput) ElementType

func (QueryDefinitionMapOutput) ElementType() reflect.Type

func (QueryDefinitionMapOutput) MapIndex

func (QueryDefinitionMapOutput) ToQueryDefinitionMapOutput

func (o QueryDefinitionMapOutput) ToQueryDefinitionMapOutput() QueryDefinitionMapOutput

func (QueryDefinitionMapOutput) ToQueryDefinitionMapOutputWithContext

func (o QueryDefinitionMapOutput) ToQueryDefinitionMapOutputWithContext(ctx context.Context) QueryDefinitionMapOutput

type QueryDefinitionOutput

type QueryDefinitionOutput struct{ *pulumi.OutputState }

func (QueryDefinitionOutput) ElementType

func (QueryDefinitionOutput) ElementType() reflect.Type

func (QueryDefinitionOutput) LogGroupNames

Specific log groups to use with the query.

func (QueryDefinitionOutput) Name

The name of the query.

func (QueryDefinitionOutput) QueryDefinitionId

func (o QueryDefinitionOutput) QueryDefinitionId() pulumi.StringOutput

The query definition ID.

func (QueryDefinitionOutput) QueryString

func (o QueryDefinitionOutput) QueryString() pulumi.StringOutput

The query to save. You can read more about CloudWatch Logs Query Syntax in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html).

func (QueryDefinitionOutput) ToQueryDefinitionOutput

func (o QueryDefinitionOutput) ToQueryDefinitionOutput() QueryDefinitionOutput

func (QueryDefinitionOutput) ToQueryDefinitionOutputWithContext

func (o QueryDefinitionOutput) ToQueryDefinitionOutputWithContext(ctx context.Context) QueryDefinitionOutput

type QueryDefinitionState

type QueryDefinitionState struct {
	// Specific log groups to use with the query.
	LogGroupNames pulumi.StringArrayInput
	// The name of the query.
	Name pulumi.StringPtrInput
	// The query definition ID.
	QueryDefinitionId pulumi.StringPtrInput
	// The query to save. You can read more about CloudWatch Logs Query Syntax in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html).
	QueryString pulumi.StringPtrInput
}

func (QueryDefinitionState) ElementType

func (QueryDefinitionState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL