logs

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AccountPolicyPolicyTypeDataProtectionPolicy     = AccountPolicyPolicyType("DATA_PROTECTION_POLICY")
	AccountPolicyPolicyTypeSubscriptionFilterPolicy = AccountPolicyPolicyType("SUBSCRIPTION_FILTER_POLICY")
)
View Source
const (
	LogAnomalyDetectorEvaluationFrequencyFiveMin    = LogAnomalyDetectorEvaluationFrequency("FIVE_MIN")
	LogAnomalyDetectorEvaluationFrequencyTenMin     = LogAnomalyDetectorEvaluationFrequency("TEN_MIN")
	LogAnomalyDetectorEvaluationFrequencyFifteenMin = LogAnomalyDetectorEvaluationFrequency("FIFTEEN_MIN")
	LogAnomalyDetectorEvaluationFrequencyThirtyMin  = LogAnomalyDetectorEvaluationFrequency("THIRTY_MIN")
	LogAnomalyDetectorEvaluationFrequencyOneHour    = LogAnomalyDetectorEvaluationFrequency("ONE_HOUR")
)
View Source
const (
	LogGroupClassStandard         = LogGroupClass("STANDARD")
	LogGroupClassInfrequentAccess = LogGroupClass("INFREQUENT_ACCESS")
)
View Source
const (
	MetricFilterMetricTransformationUnitSeconds         = MetricFilterMetricTransformationUnit("Seconds")
	MetricFilterMetricTransformationUnitMicroseconds    = MetricFilterMetricTransformationUnit("Microseconds")
	MetricFilterMetricTransformationUnitMilliseconds    = MetricFilterMetricTransformationUnit("Milliseconds")
	MetricFilterMetricTransformationUnitBytes           = MetricFilterMetricTransformationUnit("Bytes")
	MetricFilterMetricTransformationUnitKilobytes       = MetricFilterMetricTransformationUnit("Kilobytes")
	MetricFilterMetricTransformationUnitMegabytes       = MetricFilterMetricTransformationUnit("Megabytes")
	MetricFilterMetricTransformationUnitGigabytes       = MetricFilterMetricTransformationUnit("Gigabytes")
	MetricFilterMetricTransformationUnitTerabytes       = MetricFilterMetricTransformationUnit("Terabytes")
	MetricFilterMetricTransformationUnitBits            = MetricFilterMetricTransformationUnit("Bits")
	MetricFilterMetricTransformationUnitKilobits        = MetricFilterMetricTransformationUnit("Kilobits")
	MetricFilterMetricTransformationUnitMegabits        = MetricFilterMetricTransformationUnit("Megabits")
	MetricFilterMetricTransformationUnitGigabits        = MetricFilterMetricTransformationUnit("Gigabits")
	MetricFilterMetricTransformationUnitTerabits        = MetricFilterMetricTransformationUnit("Terabits")
	MetricFilterMetricTransformationUnitPercent         = MetricFilterMetricTransformationUnit("Percent")
	MetricFilterMetricTransformationUnitCount           = MetricFilterMetricTransformationUnit("Count")
	MetricFilterMetricTransformationUnitBytesSecond     = MetricFilterMetricTransformationUnit("Bytes/Second")
	MetricFilterMetricTransformationUnitKilobytesSecond = MetricFilterMetricTransformationUnit("Kilobytes/Second")
	MetricFilterMetricTransformationUnitMegabytesSecond = MetricFilterMetricTransformationUnit("Megabytes/Second")
	MetricFilterMetricTransformationUnitGigabytesSecond = MetricFilterMetricTransformationUnit("Gigabytes/Second")
	MetricFilterMetricTransformationUnitTerabytesSecond = MetricFilterMetricTransformationUnit("Terabytes/Second")
	MetricFilterMetricTransformationUnitBitsSecond      = MetricFilterMetricTransformationUnit("Bits/Second")
	MetricFilterMetricTransformationUnitKilobitsSecond  = MetricFilterMetricTransformationUnit("Kilobits/Second")
	MetricFilterMetricTransformationUnitMegabitsSecond  = MetricFilterMetricTransformationUnit("Megabits/Second")
	MetricFilterMetricTransformationUnitGigabitsSecond  = MetricFilterMetricTransformationUnit("Gigabits/Second")
	MetricFilterMetricTransformationUnitTerabitsSecond  = MetricFilterMetricTransformationUnit("Terabits/Second")
	MetricFilterMetricTransformationUnitCountSecond     = MetricFilterMetricTransformationUnit("Count/Second")
	MetricFilterMetricTransformationUnitNone            = MetricFilterMetricTransformationUnit("None")
)
View Source
const (
	SubscriptionFilterDistributionRandom      = SubscriptionFilterDistribution("Random")
	SubscriptionFilterDistributionByLogStream = SubscriptionFilterDistribution("ByLogStream")
)
View Source
const (
	AccountPolicyScopeAll = AccountPolicyScope("ALL")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountPolicy added in v0.69.0

type AccountPolicy struct {
	pulumi.CustomResourceState

	// User account id
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The body of the policy document you want to use for this topic.
	//
	// You can only add one policy per PolicyType.
	//
	// The policy must be in JSON string format.
	//
	// Length Constraints: Maximum length of 30720
	PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"`
	// The name of the account policy
	PolicyName pulumi.StringOutput `pulumi:"policyName"`
	// Type of the policy.
	PolicyType AccountPolicyPolicyTypeOutput `pulumi:"policyType"`
	// Scope for policy application
	Scope AccountPolicyScopePtrOutput `pulumi:"scope"`
	// Log group  selection criteria to apply policy only to a subset of log groups. SelectionCriteria string can be up to 25KB and cloudwatchlogs determines the length of selectionCriteria by using its UTF-8 bytes
	SelectionCriteria pulumi.StringPtrOutput `pulumi:"selectionCriteria"`
}

The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy.

## Example Usage ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/logs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := logs.NewAccountPolicy(ctx, "accountPolicy", &logs.AccountPolicyArgs{
			PolicyName:     pulumi.String("TestPolicy"),
			PolicyDocument: pulumi.String("{ \"Name\": \"data-protection-policy\", \"Description\": \"\", \"Version\": \"2021-06-01\", \"Statement\": [ { \"Sid\": \"audit-policy\", \"DataIdentifier\": [ \"arn:aws:dataprotection::aws:data-identifier/EmailAddress\" ], \"Operation\": { \"Audit\": { \"FindingsDestination\": { \"CloudWatchLogs\": { \"LogGroup\": \"EXISTING_LOG_GROUP_NAME\" } } } } }, { \"Sid\": \"redact-policy\", \"DataIdentifier\": [ \"arn:aws:dataprotection::aws:data-identifier/EmailAddress\" ], \"Operation\": { \"Deidentify\": { \"MaskConfig\": {} } } } ] }"),
			PolicyType:     logs.AccountPolicyPolicyTypeDataProtectionPolicy,
			Scope:          logs.AccountPolicyScopeAll,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/logs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := logs.NewAccountPolicy(ctx, "accountPolicy", &logs.AccountPolicyArgs{
			PolicyName:     pulumi.String("TestPolicy"),
			PolicyDocument: pulumi.String("{ \"Name\": \"data-protection-policy\", \"Description\": \"\", \"Version\": \"2021-06-01\", \"Statement\": [ { \"Sid\": \"audit-policy\", \"DataIdentifier\": [ \"arn:aws:dataprotection::aws:data-identifier/EmailAddress\" ], \"Operation\": { \"Audit\": { \"FindingsDestination\": { \"CloudWatchLogs\": { \"LogGroup\": \"EXISTING_LOG_GROUP_NAME\" } } } } }, { \"Sid\": \"redact-policy\", \"DataIdentifier\": [ \"arn:aws:dataprotection::aws:data-identifier/EmailAddress\" ], \"Operation\": { \"Deidentify\": { \"MaskConfig\": {} } } } ] }"),
			PolicyType:     logs.AccountPolicyPolicyTypeDataProtectionPolicy,
			Scope:          logs.AccountPolicyScopeAll,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetAccountPolicy added in v0.69.0

func GetAccountPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountPolicyState, opts ...pulumi.ResourceOption) (*AccountPolicy, error)

GetAccountPolicy gets an existing AccountPolicy 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 NewAccountPolicy added in v0.69.0

func NewAccountPolicy(ctx *pulumi.Context,
	name string, args *AccountPolicyArgs, opts ...pulumi.ResourceOption) (*AccountPolicy, error)

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

func (*AccountPolicy) ElementType added in v0.69.0

func (*AccountPolicy) ElementType() reflect.Type

func (*AccountPolicy) ToAccountPolicyOutput added in v0.69.0

func (i *AccountPolicy) ToAccountPolicyOutput() AccountPolicyOutput

func (*AccountPolicy) ToAccountPolicyOutputWithContext added in v0.69.0

func (i *AccountPolicy) ToAccountPolicyOutputWithContext(ctx context.Context) AccountPolicyOutput

type AccountPolicyArgs added in v0.69.0

type AccountPolicyArgs struct {
	// The body of the policy document you want to use for this topic.
	//
	// You can only add one policy per PolicyType.
	//
	// The policy must be in JSON string format.
	//
	// Length Constraints: Maximum length of 30720
	PolicyDocument pulumi.StringInput
	// The name of the account policy
	PolicyName pulumi.StringPtrInput
	// Type of the policy.
	PolicyType AccountPolicyPolicyTypeInput
	// Scope for policy application
	Scope AccountPolicyScopePtrInput
	// Log group  selection criteria to apply policy only to a subset of log groups. SelectionCriteria string can be up to 25KB and cloudwatchlogs determines the length of selectionCriteria by using its UTF-8 bytes
	SelectionCriteria pulumi.StringPtrInput
}

The set of arguments for constructing a AccountPolicy resource.

func (AccountPolicyArgs) ElementType added in v0.69.0

func (AccountPolicyArgs) ElementType() reflect.Type

type AccountPolicyInput added in v0.69.0

type AccountPolicyInput interface {
	pulumi.Input

	ToAccountPolicyOutput() AccountPolicyOutput
	ToAccountPolicyOutputWithContext(ctx context.Context) AccountPolicyOutput
}

type AccountPolicyOutput added in v0.69.0

type AccountPolicyOutput struct{ *pulumi.OutputState }

func (AccountPolicyOutput) AccountId added in v0.69.0

func (o AccountPolicyOutput) AccountId() pulumi.StringOutput

User account id

func (AccountPolicyOutput) ElementType added in v0.69.0

func (AccountPolicyOutput) ElementType() reflect.Type

func (AccountPolicyOutput) PolicyDocument added in v0.69.0

func (o AccountPolicyOutput) PolicyDocument() pulumi.StringOutput

The body of the policy document you want to use for this topic.

You can only add one policy per PolicyType.

The policy must be in JSON string format.

Length Constraints: Maximum length of 30720

func (AccountPolicyOutput) PolicyName added in v0.69.0

func (o AccountPolicyOutput) PolicyName() pulumi.StringOutput

The name of the account policy

func (AccountPolicyOutput) PolicyType added in v0.69.0

Type of the policy.

func (AccountPolicyOutput) Scope added in v0.69.0

Scope for policy application

func (AccountPolicyOutput) SelectionCriteria added in v0.95.0

func (o AccountPolicyOutput) SelectionCriteria() pulumi.StringPtrOutput

Log group selection criteria to apply policy only to a subset of log groups. SelectionCriteria string can be up to 25KB and cloudwatchlogs determines the length of selectionCriteria by using its UTF-8 bytes

func (AccountPolicyOutput) ToAccountPolicyOutput added in v0.69.0

func (o AccountPolicyOutput) ToAccountPolicyOutput() AccountPolicyOutput

func (AccountPolicyOutput) ToAccountPolicyOutputWithContext added in v0.69.0

func (o AccountPolicyOutput) ToAccountPolicyOutputWithContext(ctx context.Context) AccountPolicyOutput

type AccountPolicyPolicyType added in v0.69.0

type AccountPolicyPolicyType string

Type of the policy.

func (AccountPolicyPolicyType) ElementType added in v0.69.0

func (AccountPolicyPolicyType) ElementType() reflect.Type

func (AccountPolicyPolicyType) ToAccountPolicyPolicyTypeOutput added in v0.69.0

func (e AccountPolicyPolicyType) ToAccountPolicyPolicyTypeOutput() AccountPolicyPolicyTypeOutput

func (AccountPolicyPolicyType) ToAccountPolicyPolicyTypeOutputWithContext added in v0.69.0

func (e AccountPolicyPolicyType) ToAccountPolicyPolicyTypeOutputWithContext(ctx context.Context) AccountPolicyPolicyTypeOutput

func (AccountPolicyPolicyType) ToAccountPolicyPolicyTypePtrOutput added in v0.69.0

func (e AccountPolicyPolicyType) ToAccountPolicyPolicyTypePtrOutput() AccountPolicyPolicyTypePtrOutput

func (AccountPolicyPolicyType) ToAccountPolicyPolicyTypePtrOutputWithContext added in v0.69.0

func (e AccountPolicyPolicyType) ToAccountPolicyPolicyTypePtrOutputWithContext(ctx context.Context) AccountPolicyPolicyTypePtrOutput

func (AccountPolicyPolicyType) ToStringOutput added in v0.69.0

func (e AccountPolicyPolicyType) ToStringOutput() pulumi.StringOutput

func (AccountPolicyPolicyType) ToStringOutputWithContext added in v0.69.0

func (e AccountPolicyPolicyType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AccountPolicyPolicyType) ToStringPtrOutput added in v0.69.0

func (e AccountPolicyPolicyType) ToStringPtrOutput() pulumi.StringPtrOutput

func (AccountPolicyPolicyType) ToStringPtrOutputWithContext added in v0.69.0

func (e AccountPolicyPolicyType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AccountPolicyPolicyTypeInput added in v0.69.0

type AccountPolicyPolicyTypeInput interface {
	pulumi.Input

	ToAccountPolicyPolicyTypeOutput() AccountPolicyPolicyTypeOutput
	ToAccountPolicyPolicyTypeOutputWithContext(context.Context) AccountPolicyPolicyTypeOutput
}

AccountPolicyPolicyTypeInput is an input type that accepts values of the AccountPolicyPolicyType enum A concrete instance of `AccountPolicyPolicyTypeInput` can be one of the following:

AccountPolicyPolicyTypeDataProtectionPolicy
AccountPolicyPolicyTypeSubscriptionFilterPolicy

type AccountPolicyPolicyTypeOutput added in v0.69.0

type AccountPolicyPolicyTypeOutput struct{ *pulumi.OutputState }

func (AccountPolicyPolicyTypeOutput) ElementType added in v0.69.0

func (AccountPolicyPolicyTypeOutput) ToAccountPolicyPolicyTypeOutput added in v0.69.0

func (o AccountPolicyPolicyTypeOutput) ToAccountPolicyPolicyTypeOutput() AccountPolicyPolicyTypeOutput

func (AccountPolicyPolicyTypeOutput) ToAccountPolicyPolicyTypeOutputWithContext added in v0.69.0

func (o AccountPolicyPolicyTypeOutput) ToAccountPolicyPolicyTypeOutputWithContext(ctx context.Context) AccountPolicyPolicyTypeOutput

func (AccountPolicyPolicyTypeOutput) ToAccountPolicyPolicyTypePtrOutput added in v0.69.0

func (o AccountPolicyPolicyTypeOutput) ToAccountPolicyPolicyTypePtrOutput() AccountPolicyPolicyTypePtrOutput

func (AccountPolicyPolicyTypeOutput) ToAccountPolicyPolicyTypePtrOutputWithContext added in v0.69.0

func (o AccountPolicyPolicyTypeOutput) ToAccountPolicyPolicyTypePtrOutputWithContext(ctx context.Context) AccountPolicyPolicyTypePtrOutput

func (AccountPolicyPolicyTypeOutput) ToStringOutput added in v0.69.0

func (AccountPolicyPolicyTypeOutput) ToStringOutputWithContext added in v0.69.0

func (o AccountPolicyPolicyTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AccountPolicyPolicyTypeOutput) ToStringPtrOutput added in v0.69.0

func (AccountPolicyPolicyTypeOutput) ToStringPtrOutputWithContext added in v0.69.0

func (o AccountPolicyPolicyTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AccountPolicyPolicyTypePtrInput added in v0.69.0

type AccountPolicyPolicyTypePtrInput interface {
	pulumi.Input

	ToAccountPolicyPolicyTypePtrOutput() AccountPolicyPolicyTypePtrOutput
	ToAccountPolicyPolicyTypePtrOutputWithContext(context.Context) AccountPolicyPolicyTypePtrOutput
}

func AccountPolicyPolicyTypePtr added in v0.69.0

func AccountPolicyPolicyTypePtr(v string) AccountPolicyPolicyTypePtrInput

type AccountPolicyPolicyTypePtrOutput added in v0.69.0

type AccountPolicyPolicyTypePtrOutput struct{ *pulumi.OutputState }

func (AccountPolicyPolicyTypePtrOutput) Elem added in v0.69.0

func (AccountPolicyPolicyTypePtrOutput) ElementType added in v0.69.0

func (AccountPolicyPolicyTypePtrOutput) ToAccountPolicyPolicyTypePtrOutput added in v0.69.0

func (o AccountPolicyPolicyTypePtrOutput) ToAccountPolicyPolicyTypePtrOutput() AccountPolicyPolicyTypePtrOutput

func (AccountPolicyPolicyTypePtrOutput) ToAccountPolicyPolicyTypePtrOutputWithContext added in v0.69.0

func (o AccountPolicyPolicyTypePtrOutput) ToAccountPolicyPolicyTypePtrOutputWithContext(ctx context.Context) AccountPolicyPolicyTypePtrOutput

func (AccountPolicyPolicyTypePtrOutput) ToStringPtrOutput added in v0.69.0

func (AccountPolicyPolicyTypePtrOutput) ToStringPtrOutputWithContext added in v0.69.0

func (o AccountPolicyPolicyTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AccountPolicyScope added in v0.69.0

type AccountPolicyScope string

Scope for policy application

func (AccountPolicyScope) ElementType added in v0.69.0

func (AccountPolicyScope) ElementType() reflect.Type

func (AccountPolicyScope) ToAccountPolicyScopeOutput added in v0.69.0

func (e AccountPolicyScope) ToAccountPolicyScopeOutput() AccountPolicyScopeOutput

func (AccountPolicyScope) ToAccountPolicyScopeOutputWithContext added in v0.69.0

func (e AccountPolicyScope) ToAccountPolicyScopeOutputWithContext(ctx context.Context) AccountPolicyScopeOutput

func (AccountPolicyScope) ToAccountPolicyScopePtrOutput added in v0.69.0

func (e AccountPolicyScope) ToAccountPolicyScopePtrOutput() AccountPolicyScopePtrOutput

func (AccountPolicyScope) ToAccountPolicyScopePtrOutputWithContext added in v0.69.0

func (e AccountPolicyScope) ToAccountPolicyScopePtrOutputWithContext(ctx context.Context) AccountPolicyScopePtrOutput

func (AccountPolicyScope) ToStringOutput added in v0.69.0

func (e AccountPolicyScope) ToStringOutput() pulumi.StringOutput

func (AccountPolicyScope) ToStringOutputWithContext added in v0.69.0

func (e AccountPolicyScope) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AccountPolicyScope) ToStringPtrOutput added in v0.69.0

func (e AccountPolicyScope) ToStringPtrOutput() pulumi.StringPtrOutput

func (AccountPolicyScope) ToStringPtrOutputWithContext added in v0.69.0

func (e AccountPolicyScope) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AccountPolicyScopeInput added in v0.69.0

type AccountPolicyScopeInput interface {
	pulumi.Input

	ToAccountPolicyScopeOutput() AccountPolicyScopeOutput
	ToAccountPolicyScopeOutputWithContext(context.Context) AccountPolicyScopeOutput
}

AccountPolicyScopeInput is an input type that accepts values of the AccountPolicyScope enum A concrete instance of `AccountPolicyScopeInput` can be one of the following:

AccountPolicyScopeAll

type AccountPolicyScopeOutput added in v0.69.0

type AccountPolicyScopeOutput struct{ *pulumi.OutputState }

func (AccountPolicyScopeOutput) ElementType added in v0.69.0

func (AccountPolicyScopeOutput) ElementType() reflect.Type

func (AccountPolicyScopeOutput) ToAccountPolicyScopeOutput added in v0.69.0

func (o AccountPolicyScopeOutput) ToAccountPolicyScopeOutput() AccountPolicyScopeOutput

func (AccountPolicyScopeOutput) ToAccountPolicyScopeOutputWithContext added in v0.69.0

func (o AccountPolicyScopeOutput) ToAccountPolicyScopeOutputWithContext(ctx context.Context) AccountPolicyScopeOutput

func (AccountPolicyScopeOutput) ToAccountPolicyScopePtrOutput added in v0.69.0

func (o AccountPolicyScopeOutput) ToAccountPolicyScopePtrOutput() AccountPolicyScopePtrOutput

func (AccountPolicyScopeOutput) ToAccountPolicyScopePtrOutputWithContext added in v0.69.0

func (o AccountPolicyScopeOutput) ToAccountPolicyScopePtrOutputWithContext(ctx context.Context) AccountPolicyScopePtrOutput

func (AccountPolicyScopeOutput) ToStringOutput added in v0.69.0

func (o AccountPolicyScopeOutput) ToStringOutput() pulumi.StringOutput

func (AccountPolicyScopeOutput) ToStringOutputWithContext added in v0.69.0

func (o AccountPolicyScopeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AccountPolicyScopeOutput) ToStringPtrOutput added in v0.69.0

func (o AccountPolicyScopeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (AccountPolicyScopeOutput) ToStringPtrOutputWithContext added in v0.69.0

func (o AccountPolicyScopeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AccountPolicyScopePtrInput added in v0.69.0

type AccountPolicyScopePtrInput interface {
	pulumi.Input

	ToAccountPolicyScopePtrOutput() AccountPolicyScopePtrOutput
	ToAccountPolicyScopePtrOutputWithContext(context.Context) AccountPolicyScopePtrOutput
}

func AccountPolicyScopePtr added in v0.69.0

func AccountPolicyScopePtr(v string) AccountPolicyScopePtrInput

type AccountPolicyScopePtrOutput added in v0.69.0

type AccountPolicyScopePtrOutput struct{ *pulumi.OutputState }

func (AccountPolicyScopePtrOutput) Elem added in v0.69.0

func (AccountPolicyScopePtrOutput) ElementType added in v0.69.0

func (AccountPolicyScopePtrOutput) ToAccountPolicyScopePtrOutput added in v0.69.0

func (o AccountPolicyScopePtrOutput) ToAccountPolicyScopePtrOutput() AccountPolicyScopePtrOutput

func (AccountPolicyScopePtrOutput) ToAccountPolicyScopePtrOutputWithContext added in v0.69.0

func (o AccountPolicyScopePtrOutput) ToAccountPolicyScopePtrOutputWithContext(ctx context.Context) AccountPolicyScopePtrOutput

func (AccountPolicyScopePtrOutput) ToStringPtrOutput added in v0.69.0

func (o AccountPolicyScopePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (AccountPolicyScopePtrOutput) ToStringPtrOutputWithContext added in v0.69.0

func (o AccountPolicyScopePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AccountPolicyState added in v0.69.0

type AccountPolicyState struct {
}

func (AccountPolicyState) ElementType added in v0.69.0

func (AccountPolicyState) ElementType() reflect.Type

type Delivery added in v0.87.0

type Delivery struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) that uniquely identifies this delivery.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ARN of the delivery destination that is associated with this delivery.
	DeliveryDestinationArn pulumi.StringOutput `pulumi:"deliveryDestinationArn"`
	// Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
	DeliveryDestinationType pulumi.StringOutput `pulumi:"deliveryDestinationType"`
	// The unique ID that identifies this delivery in your account.
	DeliveryId pulumi.StringOutput `pulumi:"deliveryId"`
	// The name of the delivery source that is associated with this delivery.
	DeliverySourceName pulumi.StringOutput `pulumi:"deliverySourceName"`
	// The tags that have been assigned to this delivery.
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

This structure contains information about one delivery in your account.

A delivery is a connection between a logical delivery source and a logical delivery destination.

For more information, see [CreateDelivery](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html).

func GetDelivery added in v0.87.0

func GetDelivery(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeliveryState, opts ...pulumi.ResourceOption) (*Delivery, error)

GetDelivery gets an existing Delivery 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 NewDelivery added in v0.87.0

func NewDelivery(ctx *pulumi.Context,
	name string, args *DeliveryArgs, opts ...pulumi.ResourceOption) (*Delivery, error)

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

func (*Delivery) ElementType added in v0.87.0

func (*Delivery) ElementType() reflect.Type

func (*Delivery) ToDeliveryOutput added in v0.87.0

func (i *Delivery) ToDeliveryOutput() DeliveryOutput

func (*Delivery) ToDeliveryOutputWithContext added in v0.87.0

func (i *Delivery) ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput

type DeliveryArgs added in v0.87.0

type DeliveryArgs struct {
	// The ARN of the delivery destination that is associated with this delivery.
	DeliveryDestinationArn pulumi.StringInput
	// The name of the delivery source that is associated with this delivery.
	DeliverySourceName pulumi.StringInput
	// The tags that have been assigned to this delivery.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a Delivery resource.

func (DeliveryArgs) ElementType added in v0.87.0

func (DeliveryArgs) ElementType() reflect.Type

type DeliveryDestination added in v0.87.0

type DeliveryDestination struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.
	//
	// The policy must be in JSON string format.
	//
	// Length Constraints: Maximum length of 51200
	DeliveryDestinationPolicy DeliveryDestinationDestinationPolicyArrayOutput `pulumi:"deliveryDestinationPolicy"`
	// Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
	DeliveryDestinationType pulumi.StringOutput `pulumi:"deliveryDestinationType"`
	// The ARN of the AWS resource that will receive the logs.
	DestinationResourceArn pulumi.StringPtrOutput `pulumi:"destinationResourceArn"`
	// The name of this delivery destination.
	Name pulumi.StringOutput `pulumi:"name"`
	// The tags that have been assigned to this delivery destination.
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

This structure contains information about one delivery destination in your account.

A delivery destination is an AWS resource that represents an AWS service that logs can be sent to CloudWatch Logs, Amazon S3, are supported as Kinesis Data Firehose delivery destinations.

func GetDeliveryDestination added in v0.87.0

func GetDeliveryDestination(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeliveryDestinationState, opts ...pulumi.ResourceOption) (*DeliveryDestination, error)

GetDeliveryDestination gets an existing DeliveryDestination 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 NewDeliveryDestination added in v0.87.0

func NewDeliveryDestination(ctx *pulumi.Context,
	name string, args *DeliveryDestinationArgs, opts ...pulumi.ResourceOption) (*DeliveryDestination, error)

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

func (*DeliveryDestination) ElementType added in v0.87.0

func (*DeliveryDestination) ElementType() reflect.Type

func (*DeliveryDestination) ToDeliveryDestinationOutput added in v0.87.0

func (i *DeliveryDestination) ToDeliveryDestinationOutput() DeliveryDestinationOutput

func (*DeliveryDestination) ToDeliveryDestinationOutputWithContext added in v0.87.0

func (i *DeliveryDestination) ToDeliveryDestinationOutputWithContext(ctx context.Context) DeliveryDestinationOutput

type DeliveryDestinationArgs added in v0.87.0

type DeliveryDestinationArgs struct {
	// IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.
	//
	// The policy must be in JSON string format.
	//
	// Length Constraints: Maximum length of 51200
	DeliveryDestinationPolicy DeliveryDestinationDestinationPolicyArrayInput
	// The ARN of the AWS resource that will receive the logs.
	DestinationResourceArn pulumi.StringPtrInput
	// The name of this delivery destination.
	Name pulumi.StringPtrInput
	// The tags that have been assigned to this delivery destination.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a DeliveryDestination resource.

func (DeliveryDestinationArgs) ElementType added in v0.87.0

func (DeliveryDestinationArgs) ElementType() reflect.Type

type DeliveryDestinationDestinationPolicy added in v0.99.0

type DeliveryDestinationDestinationPolicy struct {
	// The name of the delivery destination to assign this policy to
	DeliveryDestinationName string `pulumi:"deliveryDestinationName"`
	// The contents of the policy attached to the delivery destination
	DeliveryDestinationPolicy string `pulumi:"deliveryDestinationPolicy"`
}

type DeliveryDestinationDestinationPolicyArgs added in v0.99.0

type DeliveryDestinationDestinationPolicyArgs struct {
	// The name of the delivery destination to assign this policy to
	DeliveryDestinationName pulumi.StringInput `pulumi:"deliveryDestinationName"`
	// The contents of the policy attached to the delivery destination
	DeliveryDestinationPolicy pulumi.StringInput `pulumi:"deliveryDestinationPolicy"`
}

func (DeliveryDestinationDestinationPolicyArgs) ElementType added in v0.99.0

func (DeliveryDestinationDestinationPolicyArgs) ToDeliveryDestinationDestinationPolicyOutput added in v0.99.0

func (i DeliveryDestinationDestinationPolicyArgs) ToDeliveryDestinationDestinationPolicyOutput() DeliveryDestinationDestinationPolicyOutput

func (DeliveryDestinationDestinationPolicyArgs) ToDeliveryDestinationDestinationPolicyOutputWithContext added in v0.99.0

func (i DeliveryDestinationDestinationPolicyArgs) ToDeliveryDestinationDestinationPolicyOutputWithContext(ctx context.Context) DeliveryDestinationDestinationPolicyOutput

type DeliveryDestinationDestinationPolicyArray added in v0.99.0

type DeliveryDestinationDestinationPolicyArray []DeliveryDestinationDestinationPolicyInput

func (DeliveryDestinationDestinationPolicyArray) ElementType added in v0.99.0

func (DeliveryDestinationDestinationPolicyArray) ToDeliveryDestinationDestinationPolicyArrayOutput added in v0.99.0

func (i DeliveryDestinationDestinationPolicyArray) ToDeliveryDestinationDestinationPolicyArrayOutput() DeliveryDestinationDestinationPolicyArrayOutput

func (DeliveryDestinationDestinationPolicyArray) ToDeliveryDestinationDestinationPolicyArrayOutputWithContext added in v0.99.0

func (i DeliveryDestinationDestinationPolicyArray) ToDeliveryDestinationDestinationPolicyArrayOutputWithContext(ctx context.Context) DeliveryDestinationDestinationPolicyArrayOutput

type DeliveryDestinationDestinationPolicyArrayInput added in v0.99.0

type DeliveryDestinationDestinationPolicyArrayInput interface {
	pulumi.Input

	ToDeliveryDestinationDestinationPolicyArrayOutput() DeliveryDestinationDestinationPolicyArrayOutput
	ToDeliveryDestinationDestinationPolicyArrayOutputWithContext(context.Context) DeliveryDestinationDestinationPolicyArrayOutput
}

DeliveryDestinationDestinationPolicyArrayInput is an input type that accepts DeliveryDestinationDestinationPolicyArray and DeliveryDestinationDestinationPolicyArrayOutput values. You can construct a concrete instance of `DeliveryDestinationDestinationPolicyArrayInput` via:

DeliveryDestinationDestinationPolicyArray{ DeliveryDestinationDestinationPolicyArgs{...} }

type DeliveryDestinationDestinationPolicyArrayOutput added in v0.99.0

type DeliveryDestinationDestinationPolicyArrayOutput struct{ *pulumi.OutputState }

func (DeliveryDestinationDestinationPolicyArrayOutput) ElementType added in v0.99.0

func (DeliveryDestinationDestinationPolicyArrayOutput) Index added in v0.99.0

func (DeliveryDestinationDestinationPolicyArrayOutput) ToDeliveryDestinationDestinationPolicyArrayOutput added in v0.99.0

func (o DeliveryDestinationDestinationPolicyArrayOutput) ToDeliveryDestinationDestinationPolicyArrayOutput() DeliveryDestinationDestinationPolicyArrayOutput

func (DeliveryDestinationDestinationPolicyArrayOutput) ToDeliveryDestinationDestinationPolicyArrayOutputWithContext added in v0.99.0

func (o DeliveryDestinationDestinationPolicyArrayOutput) ToDeliveryDestinationDestinationPolicyArrayOutputWithContext(ctx context.Context) DeliveryDestinationDestinationPolicyArrayOutput

type DeliveryDestinationDestinationPolicyInput added in v0.99.0

type DeliveryDestinationDestinationPolicyInput interface {
	pulumi.Input

	ToDeliveryDestinationDestinationPolicyOutput() DeliveryDestinationDestinationPolicyOutput
	ToDeliveryDestinationDestinationPolicyOutputWithContext(context.Context) DeliveryDestinationDestinationPolicyOutput
}

DeliveryDestinationDestinationPolicyInput is an input type that accepts DeliveryDestinationDestinationPolicyArgs and DeliveryDestinationDestinationPolicyOutput values. You can construct a concrete instance of `DeliveryDestinationDestinationPolicyInput` via:

DeliveryDestinationDestinationPolicyArgs{...}

type DeliveryDestinationDestinationPolicyOutput added in v0.99.0

type DeliveryDestinationDestinationPolicyOutput struct{ *pulumi.OutputState }

func (DeliveryDestinationDestinationPolicyOutput) DeliveryDestinationName added in v0.99.0

The name of the delivery destination to assign this policy to

func (DeliveryDestinationDestinationPolicyOutput) DeliveryDestinationPolicy added in v0.99.0

func (o DeliveryDestinationDestinationPolicyOutput) DeliveryDestinationPolicy() pulumi.StringOutput

The contents of the policy attached to the delivery destination

func (DeliveryDestinationDestinationPolicyOutput) ElementType added in v0.99.0

func (DeliveryDestinationDestinationPolicyOutput) ToDeliveryDestinationDestinationPolicyOutput added in v0.99.0

func (o DeliveryDestinationDestinationPolicyOutput) ToDeliveryDestinationDestinationPolicyOutput() DeliveryDestinationDestinationPolicyOutput

func (DeliveryDestinationDestinationPolicyOutput) ToDeliveryDestinationDestinationPolicyOutputWithContext added in v0.99.0

func (o DeliveryDestinationDestinationPolicyOutput) ToDeliveryDestinationDestinationPolicyOutputWithContext(ctx context.Context) DeliveryDestinationDestinationPolicyOutput

type DeliveryDestinationInput added in v0.87.0

type DeliveryDestinationInput interface {
	pulumi.Input

	ToDeliveryDestinationOutput() DeliveryDestinationOutput
	ToDeliveryDestinationOutputWithContext(ctx context.Context) DeliveryDestinationOutput
}

type DeliveryDestinationOutput added in v0.87.0

type DeliveryDestinationOutput struct{ *pulumi.OutputState }

func (DeliveryDestinationOutput) Arn added in v0.87.0

The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.

func (DeliveryDestinationOutput) DeliveryDestinationPolicy added in v0.88.0

IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.

The policy must be in JSON string format.

Length Constraints: Maximum length of 51200

func (DeliveryDestinationOutput) DeliveryDestinationType added in v0.87.0

func (o DeliveryDestinationOutput) DeliveryDestinationType() pulumi.StringOutput

Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.

func (DeliveryDestinationOutput) DestinationResourceArn added in v0.87.0

func (o DeliveryDestinationOutput) DestinationResourceArn() pulumi.StringPtrOutput

The ARN of the AWS resource that will receive the logs.

func (DeliveryDestinationOutput) ElementType added in v0.87.0

func (DeliveryDestinationOutput) ElementType() reflect.Type

func (DeliveryDestinationOutput) Name added in v0.87.0

The name of this delivery destination.

func (DeliveryDestinationOutput) Tags added in v0.87.0

The tags that have been assigned to this delivery destination.

func (DeliveryDestinationOutput) ToDeliveryDestinationOutput added in v0.87.0

func (o DeliveryDestinationOutput) ToDeliveryDestinationOutput() DeliveryDestinationOutput

func (DeliveryDestinationOutput) ToDeliveryDestinationOutputWithContext added in v0.87.0

func (o DeliveryDestinationOutput) ToDeliveryDestinationOutputWithContext(ctx context.Context) DeliveryDestinationOutput

type DeliveryDestinationState added in v0.87.0

type DeliveryDestinationState struct {
}

func (DeliveryDestinationState) ElementType added in v0.87.0

func (DeliveryDestinationState) ElementType() reflect.Type

type DeliveryDestinationTag added in v0.87.0

type DeliveryDestinationTag struct {
	// The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Key string `pulumi:"key"`
	// The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Value string `pulumi:"value"`
}

A key-value pair to associate with a resource.

type DeliveryInput added in v0.87.0

type DeliveryInput interface {
	pulumi.Input

	ToDeliveryOutput() DeliveryOutput
	ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput
}

type DeliveryOutput added in v0.87.0

type DeliveryOutput struct{ *pulumi.OutputState }

func (DeliveryOutput) Arn added in v0.87.0

The Amazon Resource Name (ARN) that uniquely identifies this delivery.

func (DeliveryOutput) DeliveryDestinationArn added in v0.87.0

func (o DeliveryOutput) DeliveryDestinationArn() pulumi.StringOutput

The ARN of the delivery destination that is associated with this delivery.

func (DeliveryOutput) DeliveryDestinationType added in v0.87.0

func (o DeliveryOutput) DeliveryDestinationType() pulumi.StringOutput

Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.

func (DeliveryOutput) DeliveryId added in v0.87.0

func (o DeliveryOutput) DeliveryId() pulumi.StringOutput

The unique ID that identifies this delivery in your account.

func (DeliveryOutput) DeliverySourceName added in v0.87.0

func (o DeliveryOutput) DeliverySourceName() pulumi.StringOutput

The name of the delivery source that is associated with this delivery.

func (DeliveryOutput) ElementType added in v0.87.0

func (DeliveryOutput) ElementType() reflect.Type

func (DeliveryOutput) Tags added in v0.87.0

The tags that have been assigned to this delivery.

func (DeliveryOutput) ToDeliveryOutput added in v0.87.0

func (o DeliveryOutput) ToDeliveryOutput() DeliveryOutput

func (DeliveryOutput) ToDeliveryOutputWithContext added in v0.87.0

func (o DeliveryOutput) ToDeliveryOutputWithContext(ctx context.Context) DeliveryOutput

type DeliverySource added in v0.87.0

type DeliverySource struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
	LogType pulumi.StringPtrOutput `pulumi:"logType"`
	// The unique name of the Log source.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ARN of the resource that will be sending the logs.
	ResourceArn pulumi.StringPtrOutput `pulumi:"resourceArn"`
	// This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
	ResourceArns pulumi.StringArrayOutput `pulumi:"resourceArns"`
	// The AWS service that is sending logs.
	Service pulumi.StringOutput `pulumi:"service"`
	// The tags that have been assigned to this delivery source.
	Tags aws.TagArrayOutput `pulumi:"tags"`
}
A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.

Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at [Enabling logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html).

func GetDeliverySource added in v0.87.0

func GetDeliverySource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeliverySourceState, opts ...pulumi.ResourceOption) (*DeliverySource, error)

GetDeliverySource gets an existing DeliverySource 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 NewDeliverySource added in v0.87.0

func NewDeliverySource(ctx *pulumi.Context,
	name string, args *DeliverySourceArgs, opts ...pulumi.ResourceOption) (*DeliverySource, error)

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

func (*DeliverySource) ElementType added in v0.87.0

func (*DeliverySource) ElementType() reflect.Type

func (*DeliverySource) ToDeliverySourceOutput added in v0.87.0

func (i *DeliverySource) ToDeliverySourceOutput() DeliverySourceOutput

func (*DeliverySource) ToDeliverySourceOutputWithContext added in v0.87.0

func (i *DeliverySource) ToDeliverySourceOutputWithContext(ctx context.Context) DeliverySourceOutput

type DeliverySourceArgs added in v0.87.0

type DeliverySourceArgs struct {
	// The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
	LogType pulumi.StringPtrInput
	// The unique name of the Log source.
	Name pulumi.StringPtrInput
	// The ARN of the resource that will be sending the logs.
	ResourceArn pulumi.StringPtrInput
	// The tags that have been assigned to this delivery source.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a DeliverySource resource.

func (DeliverySourceArgs) ElementType added in v0.87.0

func (DeliverySourceArgs) ElementType() reflect.Type

type DeliverySourceInput added in v0.87.0

type DeliverySourceInput interface {
	pulumi.Input

	ToDeliverySourceOutput() DeliverySourceOutput
	ToDeliverySourceOutputWithContext(ctx context.Context) DeliverySourceOutput
}

type DeliverySourceOutput added in v0.87.0

type DeliverySourceOutput struct{ *pulumi.OutputState }

func (DeliverySourceOutput) Arn added in v0.87.0

The Amazon Resource Name (ARN) that uniquely identifies this delivery source.

func (DeliverySourceOutput) ElementType added in v0.87.0

func (DeliverySourceOutput) ElementType() reflect.Type

func (DeliverySourceOutput) LogType added in v0.87.0

The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.

func (DeliverySourceOutput) Name added in v0.87.0

The unique name of the Log source.

func (DeliverySourceOutput) ResourceArn added in v0.87.0

The ARN of the resource that will be sending the logs.

func (DeliverySourceOutput) ResourceArns added in v0.87.0

This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.

func (DeliverySourceOutput) Service added in v0.87.0

The AWS service that is sending logs.

func (DeliverySourceOutput) Tags added in v0.87.0

The tags that have been assigned to this delivery source.

func (DeliverySourceOutput) ToDeliverySourceOutput added in v0.87.0

func (o DeliverySourceOutput) ToDeliverySourceOutput() DeliverySourceOutput

func (DeliverySourceOutput) ToDeliverySourceOutputWithContext added in v0.87.0

func (o DeliverySourceOutput) ToDeliverySourceOutputWithContext(ctx context.Context) DeliverySourceOutput

type DeliverySourceState added in v0.87.0

type DeliverySourceState struct {
}

func (DeliverySourceState) ElementType added in v0.87.0

func (DeliverySourceState) ElementType() reflect.Type

type DeliverySourceTag added in v0.87.0

type DeliverySourceTag struct {
	// The key name of the tag. You can specify a value that is 1 to 128 Unicode
	Key string `pulumi:"key"`
	// The value for the tag. You can specify a value that is 0 to 256 Unicode
	Value string `pulumi:"value"`
}

A key-value pair to associate with a resource.

type DeliveryState added in v0.87.0

type DeliveryState struct {
}

func (DeliveryState) ElementType added in v0.87.0

func (DeliveryState) ElementType() reflect.Type

type DeliveryTag added in v0.87.0

type DeliveryTag struct {
	// The key name of the tag. You can specify a value that is 1 to 128 Unicode
	Key string `pulumi:"key"`
	// The value for the tag. You can specify a value that is 0 to 256 Unicode
	Value string `pulumi:"value"`
}

A key-value pair to associate with a resource.

type Destination

type Destination struct {
	pulumi.CustomResourceState

	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the destination resource
	DestinationName pulumi.StringOutput `pulumi:"destinationName"`
	// An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
	DestinationPolicy pulumi.StringPtrOutput `pulumi:"destinationPolicy"`
	// The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
	// The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
	TargetArn pulumi.StringOutput `pulumi:"targetArn"`
}

The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events.

func GetDestination

func GetDestination(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DestinationState, opts ...pulumi.ResourceOption) (*Destination, error)

GetDestination gets an existing Destination 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 NewDestination

func NewDestination(ctx *pulumi.Context,
	name string, args *DestinationArgs, opts ...pulumi.ResourceOption) (*Destination, error)

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

func (*Destination) ElementType

func (*Destination) ElementType() reflect.Type

func (*Destination) ToDestinationOutput

func (i *Destination) ToDestinationOutput() DestinationOutput

func (*Destination) ToDestinationOutputWithContext

func (i *Destination) ToDestinationOutputWithContext(ctx context.Context) DestinationOutput

type DestinationArgs

type DestinationArgs struct {
	// The name of the destination resource
	DestinationName pulumi.StringPtrInput
	// An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
	DestinationPolicy pulumi.StringPtrInput
	// The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
	RoleArn pulumi.StringInput
	// The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
	TargetArn pulumi.StringInput
}

The set of arguments for constructing a Destination resource.

func (DestinationArgs) ElementType

func (DestinationArgs) ElementType() reflect.Type

type DestinationInput

type DestinationInput interface {
	pulumi.Input

	ToDestinationOutput() DestinationOutput
	ToDestinationOutputWithContext(ctx context.Context) DestinationOutput
}

type DestinationOutput

type DestinationOutput struct{ *pulumi.OutputState }

func (DestinationOutput) Arn added in v0.17.0

func (DestinationOutput) DestinationName added in v0.17.0

func (o DestinationOutput) DestinationName() pulumi.StringOutput

The name of the destination resource

func (DestinationOutput) DestinationPolicy added in v0.17.0

func (o DestinationOutput) DestinationPolicy() pulumi.StringPtrOutput

An IAM policy document that governs which AWS accounts can create subscription filters against this destination.

func (DestinationOutput) ElementType

func (DestinationOutput) ElementType() reflect.Type

func (DestinationOutput) RoleArn added in v0.17.0

The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource

func (DestinationOutput) TargetArn added in v0.17.0

func (o DestinationOutput) TargetArn() pulumi.StringOutput

The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)

func (DestinationOutput) ToDestinationOutput

func (o DestinationOutput) ToDestinationOutput() DestinationOutput

func (DestinationOutput) ToDestinationOutputWithContext

func (o DestinationOutput) ToDestinationOutputWithContext(ctx context.Context) DestinationOutput

type DestinationState

type DestinationState struct {
}

func (DestinationState) ElementType

func (DestinationState) ElementType() reflect.Type

type LogAnomalyDetector added in v0.87.0

type LogAnomalyDetector struct {
	pulumi.CustomResourceState

	// Account ID for owner of detector
	AccountId pulumi.StringPtrOutput `pulumi:"accountId"`
	// ARN of LogAnomalyDetector
	AnomalyDetectorArn pulumi.StringOutput `pulumi:"anomalyDetectorArn"`
	// Current status of detector.
	AnomalyDetectorStatus pulumi.StringOutput     `pulumi:"anomalyDetectorStatus"`
	AnomalyVisibilityTime pulumi.Float64PtrOutput `pulumi:"anomalyVisibilityTime"`
	// When detector was created.
	CreationTimeStamp pulumi.Float64Output `pulumi:"creationTimeStamp"`
	// Name of detector
	DetectorName pulumi.StringPtrOutput `pulumi:"detectorName"`
	// How often log group is evaluated
	EvaluationFrequency LogAnomalyDetectorEvaluationFrequencyPtrOutput `pulumi:"evaluationFrequency"`
	FilterPattern       pulumi.StringPtrOutput                         `pulumi:"filterPattern"`
	// The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// When detector was lsat modified.
	LastModifiedTimeStamp pulumi.Float64Output `pulumi:"lastModifiedTimeStamp"`
	// List of Arns for the given log group
	LogGroupArnList pulumi.StringArrayOutput `pulumi:"logGroupArnList"`
}

The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.

func GetLogAnomalyDetector added in v0.87.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 v0.87.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 v0.87.0

func (*LogAnomalyDetector) ElementType() reflect.Type

func (*LogAnomalyDetector) ToLogAnomalyDetectorOutput added in v0.87.0

func (i *LogAnomalyDetector) ToLogAnomalyDetectorOutput() LogAnomalyDetectorOutput

func (*LogAnomalyDetector) ToLogAnomalyDetectorOutputWithContext added in v0.87.0

func (i *LogAnomalyDetector) ToLogAnomalyDetectorOutputWithContext(ctx context.Context) LogAnomalyDetectorOutput

type LogAnomalyDetectorArgs added in v0.87.0

type LogAnomalyDetectorArgs struct {
	// Account ID for owner of detector
	AccountId             pulumi.StringPtrInput
	AnomalyVisibilityTime pulumi.Float64PtrInput
	// Name of detector
	DetectorName pulumi.StringPtrInput
	// How often log group is evaluated
	EvaluationFrequency LogAnomalyDetectorEvaluationFrequencyPtrInput
	FilterPattern       pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
	KmsKeyId pulumi.StringPtrInput
	// List of Arns for the given log group
	LogGroupArnList pulumi.StringArrayInput
}

The set of arguments for constructing a LogAnomalyDetector resource.

func (LogAnomalyDetectorArgs) ElementType added in v0.87.0

func (LogAnomalyDetectorArgs) ElementType() reflect.Type

type LogAnomalyDetectorEvaluationFrequency added in v0.87.0

type LogAnomalyDetectorEvaluationFrequency string

How often log group is evaluated

func (LogAnomalyDetectorEvaluationFrequency) ElementType added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequency) ToLogAnomalyDetectorEvaluationFrequencyOutput added in v0.87.0

func (e LogAnomalyDetectorEvaluationFrequency) ToLogAnomalyDetectorEvaluationFrequencyOutput() LogAnomalyDetectorEvaluationFrequencyOutput

func (LogAnomalyDetectorEvaluationFrequency) ToLogAnomalyDetectorEvaluationFrequencyOutputWithContext added in v0.87.0

func (e LogAnomalyDetectorEvaluationFrequency) ToLogAnomalyDetectorEvaluationFrequencyOutputWithContext(ctx context.Context) LogAnomalyDetectorEvaluationFrequencyOutput

func (LogAnomalyDetectorEvaluationFrequency) ToLogAnomalyDetectorEvaluationFrequencyPtrOutput added in v0.87.0

func (e LogAnomalyDetectorEvaluationFrequency) ToLogAnomalyDetectorEvaluationFrequencyPtrOutput() LogAnomalyDetectorEvaluationFrequencyPtrOutput

func (LogAnomalyDetectorEvaluationFrequency) ToLogAnomalyDetectorEvaluationFrequencyPtrOutputWithContext added in v0.87.0

func (e LogAnomalyDetectorEvaluationFrequency) ToLogAnomalyDetectorEvaluationFrequencyPtrOutputWithContext(ctx context.Context) LogAnomalyDetectorEvaluationFrequencyPtrOutput

func (LogAnomalyDetectorEvaluationFrequency) ToStringOutput added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequency) ToStringOutputWithContext added in v0.87.0

func (e LogAnomalyDetectorEvaluationFrequency) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (LogAnomalyDetectorEvaluationFrequency) ToStringPtrOutput added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequency) ToStringPtrOutputWithContext added in v0.87.0

func (e LogAnomalyDetectorEvaluationFrequency) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LogAnomalyDetectorEvaluationFrequencyInput added in v0.87.0

type LogAnomalyDetectorEvaluationFrequencyInput interface {
	pulumi.Input

	ToLogAnomalyDetectorEvaluationFrequencyOutput() LogAnomalyDetectorEvaluationFrequencyOutput
	ToLogAnomalyDetectorEvaluationFrequencyOutputWithContext(context.Context) LogAnomalyDetectorEvaluationFrequencyOutput
}

LogAnomalyDetectorEvaluationFrequencyInput is an input type that accepts values of the LogAnomalyDetectorEvaluationFrequency enum A concrete instance of `LogAnomalyDetectorEvaluationFrequencyInput` can be one of the following:

LogAnomalyDetectorEvaluationFrequencyFiveMin
LogAnomalyDetectorEvaluationFrequencyTenMin
LogAnomalyDetectorEvaluationFrequencyFifteenMin
LogAnomalyDetectorEvaluationFrequencyThirtyMin
LogAnomalyDetectorEvaluationFrequencyOneHour

type LogAnomalyDetectorEvaluationFrequencyOutput added in v0.87.0

type LogAnomalyDetectorEvaluationFrequencyOutput struct{ *pulumi.OutputState }

func (LogAnomalyDetectorEvaluationFrequencyOutput) ElementType added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequencyOutput) ToLogAnomalyDetectorEvaluationFrequencyOutput added in v0.87.0

func (o LogAnomalyDetectorEvaluationFrequencyOutput) ToLogAnomalyDetectorEvaluationFrequencyOutput() LogAnomalyDetectorEvaluationFrequencyOutput

func (LogAnomalyDetectorEvaluationFrequencyOutput) ToLogAnomalyDetectorEvaluationFrequencyOutputWithContext added in v0.87.0

func (o LogAnomalyDetectorEvaluationFrequencyOutput) ToLogAnomalyDetectorEvaluationFrequencyOutputWithContext(ctx context.Context) LogAnomalyDetectorEvaluationFrequencyOutput

func (LogAnomalyDetectorEvaluationFrequencyOutput) ToLogAnomalyDetectorEvaluationFrequencyPtrOutput added in v0.87.0

func (o LogAnomalyDetectorEvaluationFrequencyOutput) ToLogAnomalyDetectorEvaluationFrequencyPtrOutput() LogAnomalyDetectorEvaluationFrequencyPtrOutput

func (LogAnomalyDetectorEvaluationFrequencyOutput) ToLogAnomalyDetectorEvaluationFrequencyPtrOutputWithContext added in v0.87.0

func (o LogAnomalyDetectorEvaluationFrequencyOutput) ToLogAnomalyDetectorEvaluationFrequencyPtrOutputWithContext(ctx context.Context) LogAnomalyDetectorEvaluationFrequencyPtrOutput

func (LogAnomalyDetectorEvaluationFrequencyOutput) ToStringOutput added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequencyOutput) ToStringOutputWithContext added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequencyOutput) ToStringPtrOutput added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequencyOutput) ToStringPtrOutputWithContext added in v0.87.0

type LogAnomalyDetectorEvaluationFrequencyPtrInput added in v0.87.0

type LogAnomalyDetectorEvaluationFrequencyPtrInput interface {
	pulumi.Input

	ToLogAnomalyDetectorEvaluationFrequencyPtrOutput() LogAnomalyDetectorEvaluationFrequencyPtrOutput
	ToLogAnomalyDetectorEvaluationFrequencyPtrOutputWithContext(context.Context) LogAnomalyDetectorEvaluationFrequencyPtrOutput
}

func LogAnomalyDetectorEvaluationFrequencyPtr added in v0.87.0

func LogAnomalyDetectorEvaluationFrequencyPtr(v string) LogAnomalyDetectorEvaluationFrequencyPtrInput

type LogAnomalyDetectorEvaluationFrequencyPtrOutput added in v0.87.0

type LogAnomalyDetectorEvaluationFrequencyPtrOutput struct{ *pulumi.OutputState }

func (LogAnomalyDetectorEvaluationFrequencyPtrOutput) Elem added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequencyPtrOutput) ElementType added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequencyPtrOutput) ToLogAnomalyDetectorEvaluationFrequencyPtrOutput added in v0.87.0

func (o LogAnomalyDetectorEvaluationFrequencyPtrOutput) ToLogAnomalyDetectorEvaluationFrequencyPtrOutput() LogAnomalyDetectorEvaluationFrequencyPtrOutput

func (LogAnomalyDetectorEvaluationFrequencyPtrOutput) ToLogAnomalyDetectorEvaluationFrequencyPtrOutputWithContext added in v0.87.0

func (o LogAnomalyDetectorEvaluationFrequencyPtrOutput) ToLogAnomalyDetectorEvaluationFrequencyPtrOutputWithContext(ctx context.Context) LogAnomalyDetectorEvaluationFrequencyPtrOutput

func (LogAnomalyDetectorEvaluationFrequencyPtrOutput) ToStringPtrOutput added in v0.87.0

func (LogAnomalyDetectorEvaluationFrequencyPtrOutput) ToStringPtrOutputWithContext added in v0.87.0

type LogAnomalyDetectorInput added in v0.87.0

type LogAnomalyDetectorInput interface {
	pulumi.Input

	ToLogAnomalyDetectorOutput() LogAnomalyDetectorOutput
	ToLogAnomalyDetectorOutputWithContext(ctx context.Context) LogAnomalyDetectorOutput
}

type LogAnomalyDetectorOutput added in v0.87.0

type LogAnomalyDetectorOutput struct{ *pulumi.OutputState }

func (LogAnomalyDetectorOutput) AccountId added in v0.87.0

Account ID for owner of detector

func (LogAnomalyDetectorOutput) AnomalyDetectorArn added in v0.87.0

func (o LogAnomalyDetectorOutput) AnomalyDetectorArn() pulumi.StringOutput

ARN of LogAnomalyDetector

func (LogAnomalyDetectorOutput) AnomalyDetectorStatus added in v0.87.0

func (o LogAnomalyDetectorOutput) AnomalyDetectorStatus() pulumi.StringOutput

Current status of detector.

func (LogAnomalyDetectorOutput) AnomalyVisibilityTime added in v0.87.0

func (o LogAnomalyDetectorOutput) AnomalyVisibilityTime() pulumi.Float64PtrOutput

func (LogAnomalyDetectorOutput) CreationTimeStamp added in v0.87.0

func (o LogAnomalyDetectorOutput) CreationTimeStamp() pulumi.Float64Output

When detector was created.

func (LogAnomalyDetectorOutput) DetectorName added in v0.87.0

Name of detector

func (LogAnomalyDetectorOutput) ElementType added in v0.87.0

func (LogAnomalyDetectorOutput) ElementType() reflect.Type

func (LogAnomalyDetectorOutput) EvaluationFrequency added in v0.87.0

How often log group is evaluated

func (LogAnomalyDetectorOutput) FilterPattern added in v0.87.0

func (LogAnomalyDetectorOutput) KmsKeyId added in v0.87.0

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.

func (LogAnomalyDetectorOutput) LastModifiedTimeStamp added in v0.87.0

func (o LogAnomalyDetectorOutput) LastModifiedTimeStamp() pulumi.Float64Output

When detector was lsat modified.

func (LogAnomalyDetectorOutput) LogGroupArnList added in v0.87.0

List of Arns for the given log group

func (LogAnomalyDetectorOutput) ToLogAnomalyDetectorOutput added in v0.87.0

func (o LogAnomalyDetectorOutput) ToLogAnomalyDetectorOutput() LogAnomalyDetectorOutput

func (LogAnomalyDetectorOutput) ToLogAnomalyDetectorOutputWithContext added in v0.87.0

func (o LogAnomalyDetectorOutput) ToLogAnomalyDetectorOutputWithContext(ctx context.Context) LogAnomalyDetectorOutput

type LogAnomalyDetectorState added in v0.87.0

type LogAnomalyDetectorState struct {
}

func (LogAnomalyDetectorState) ElementType added in v0.87.0

func (LogAnomalyDetectorState) ElementType() reflect.Type

type LogGroup

type LogGroup struct {
	pulumi.CustomResourceState

	Arn pulumi.StringOutput `pulumi:"arn"`
	// Creates a data protection policy and assigns it to the log group. A data protection policy can help safeguard sensitive data that's ingested by the log group by auditing and masking the sensitive log data. When a user who does not have permission to view masked data views a log event that includes masked data, the sensitive data is replaced by asterisks.
	//  For more information, including a list of types of data that can be audited and masked, see [Protect sensitive log data with masking](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html).
	//
	// Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Logs::LogGroup` for more information about the expected schema for this property.
	DataProtectionPolicy pulumi.AnyOutput `pulumi:"dataProtectionPolicy"`
	// The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.
	//  To associate an KMS key with the log group, specify the ARN of that KMS key here. If you do so, ingested data is encrypted using this key. This association is stored as long as the data encrypted with the KMS key is still within CWL. This enables CWL to decrypt this data whenever it is requested.
	//  If you attempt to associate a KMS key with the log group but the KMS key doesn't exist or is deactivated, you will receive an “InvalidParameterException“ error.
	//  Log group data is always encrypted in CWL. If you omit this key, the encryption does not use KMS. For more information, see [Encrypt log data in using](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html)
	KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"`
	// Specifies the log group class for this log group. There are two classes:
	//   +  The “Standard“ log class supports all CWL features.
	//   +  The “Infrequent Access“ log class supports a subset of CWL features and incurs lower costs.
	//
	//  For details about the features supported by each class, see [Log classes](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html)
	LogGroupClass LogGroupClassPtrOutput `pulumi:"logGroupClass"`
	// The name of the log group. If you don't specify a name, CFNlong generates a unique ID for the log group.
	LogGroupName pulumi.StringPtrOutput `pulumi:"logGroupName"`
	// The number of days to retain the 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, and 3653.
	//  To set a log group so that its log events do not expire, use [DeleteRetentionPolicy](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html).
	RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"`
	// An array of key-value pairs to apply to the log group.
	//  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

The “AWS::Logs::LogGroup“ resource specifies a log group. A log group defines common properties for log streams, such as their retention and access control rules. Each log stream must belong to one log group.

You can create up to 1,000,000 log groups per Region per account. You must use the following guidelines when naming a log group:
 +  Log group names must be unique within a Region for an AWS account.
 +  Log group names can be between 1 and 512 characters long.
 +  Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).

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 {
	// Creates a data protection policy and assigns it to the log group. A data protection policy can help safeguard sensitive data that's ingested by the log group by auditing and masking the sensitive log data. When a user who does not have permission to view masked data views a log event that includes masked data, the sensitive data is replaced by asterisks.
	//  For more information, including a list of types of data that can be audited and masked, see [Protect sensitive log data with masking](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html).
	//
	// Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Logs::LogGroup` for more information about the expected schema for this property.
	DataProtectionPolicy pulumi.Input
	// The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.
	//  To associate an KMS key with the log group, specify the ARN of that KMS key here. If you do so, ingested data is encrypted using this key. This association is stored as long as the data encrypted with the KMS key is still within CWL. This enables CWL to decrypt this data whenever it is requested.
	//  If you attempt to associate a KMS key with the log group but the KMS key doesn't exist or is deactivated, you will receive an “InvalidParameterException“ error.
	//  Log group data is always encrypted in CWL. If you omit this key, the encryption does not use KMS. For more information, see [Encrypt log data in using](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html)
	KmsKeyId pulumi.StringPtrInput
	// Specifies the log group class for this log group. There are two classes:
	//   +  The “Standard“ log class supports all CWL features.
	//   +  The “Infrequent Access“ log class supports a subset of CWL features and incurs lower costs.
	//
	//  For details about the features supported by each class, see [Log classes](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html)
	LogGroupClass LogGroupClassPtrInput
	// The name of the log group. If you don't specify a name, CFNlong generates a unique ID for the log group.
	LogGroupName pulumi.StringPtrInput
	// The number of days to retain the 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, and 3653.
	//  To set a log group so that its log events do not expire, use [DeleteRetentionPolicy](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html).
	RetentionInDays pulumi.IntPtrInput
	// An array of key-value pairs to apply to the log group.
	//  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
	Tags aws.TagArrayInput
}

The set of arguments for constructing a LogGroup resource.

func (LogGroupArgs) ElementType

func (LogGroupArgs) ElementType() reflect.Type

type LogGroupClass added in v0.87.0

type LogGroupClass string

Specifies the log group class for this log group. There are two classes:

func (LogGroupClass) ElementType added in v0.87.0

func (LogGroupClass) ElementType() reflect.Type

func (LogGroupClass) ToLogGroupClassOutput added in v0.87.0

func (e LogGroupClass) ToLogGroupClassOutput() LogGroupClassOutput

func (LogGroupClass) ToLogGroupClassOutputWithContext added in v0.87.0

func (e LogGroupClass) ToLogGroupClassOutputWithContext(ctx context.Context) LogGroupClassOutput

func (LogGroupClass) ToLogGroupClassPtrOutput added in v0.87.0

func (e LogGroupClass) ToLogGroupClassPtrOutput() LogGroupClassPtrOutput

func (LogGroupClass) ToLogGroupClassPtrOutputWithContext added in v0.87.0

func (e LogGroupClass) ToLogGroupClassPtrOutputWithContext(ctx context.Context) LogGroupClassPtrOutput

func (LogGroupClass) ToStringOutput added in v0.87.0

func (e LogGroupClass) ToStringOutput() pulumi.StringOutput

func (LogGroupClass) ToStringOutputWithContext added in v0.87.0

func (e LogGroupClass) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (LogGroupClass) ToStringPtrOutput added in v0.87.0

func (e LogGroupClass) ToStringPtrOutput() pulumi.StringPtrOutput

func (LogGroupClass) ToStringPtrOutputWithContext added in v0.87.0

func (e LogGroupClass) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LogGroupClassInput added in v0.87.0

type LogGroupClassInput interface {
	pulumi.Input

	ToLogGroupClassOutput() LogGroupClassOutput
	ToLogGroupClassOutputWithContext(context.Context) LogGroupClassOutput
}

LogGroupClassInput is an input type that accepts values of the LogGroupClass enum A concrete instance of `LogGroupClassInput` can be one of the following:

LogGroupClassStandard
LogGroupClassInfrequentAccess

type LogGroupClassOutput added in v0.87.0

type LogGroupClassOutput struct{ *pulumi.OutputState }

func (LogGroupClassOutput) ElementType added in v0.87.0

func (LogGroupClassOutput) ElementType() reflect.Type

func (LogGroupClassOutput) ToLogGroupClassOutput added in v0.87.0

func (o LogGroupClassOutput) ToLogGroupClassOutput() LogGroupClassOutput

func (LogGroupClassOutput) ToLogGroupClassOutputWithContext added in v0.87.0

func (o LogGroupClassOutput) ToLogGroupClassOutputWithContext(ctx context.Context) LogGroupClassOutput

func (LogGroupClassOutput) ToLogGroupClassPtrOutput added in v0.87.0

func (o LogGroupClassOutput) ToLogGroupClassPtrOutput() LogGroupClassPtrOutput

func (LogGroupClassOutput) ToLogGroupClassPtrOutputWithContext added in v0.87.0

func (o LogGroupClassOutput) ToLogGroupClassPtrOutputWithContext(ctx context.Context) LogGroupClassPtrOutput

func (LogGroupClassOutput) ToStringOutput added in v0.87.0

func (o LogGroupClassOutput) ToStringOutput() pulumi.StringOutput

func (LogGroupClassOutput) ToStringOutputWithContext added in v0.87.0

func (o LogGroupClassOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (LogGroupClassOutput) ToStringPtrOutput added in v0.87.0

func (o LogGroupClassOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (LogGroupClassOutput) ToStringPtrOutputWithContext added in v0.87.0

func (o LogGroupClassOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LogGroupClassPtrInput added in v0.87.0

type LogGroupClassPtrInput interface {
	pulumi.Input

	ToLogGroupClassPtrOutput() LogGroupClassPtrOutput
	ToLogGroupClassPtrOutputWithContext(context.Context) LogGroupClassPtrOutput
}

func LogGroupClassPtr added in v0.87.0

func LogGroupClassPtr(v string) LogGroupClassPtrInput

type LogGroupClassPtrOutput added in v0.87.0

type LogGroupClassPtrOutput struct{ *pulumi.OutputState }

func (LogGroupClassPtrOutput) Elem added in v0.87.0

func (LogGroupClassPtrOutput) ElementType added in v0.87.0

func (LogGroupClassPtrOutput) ElementType() reflect.Type

func (LogGroupClassPtrOutput) ToLogGroupClassPtrOutput added in v0.87.0

func (o LogGroupClassPtrOutput) ToLogGroupClassPtrOutput() LogGroupClassPtrOutput

func (LogGroupClassPtrOutput) ToLogGroupClassPtrOutputWithContext added in v0.87.0

func (o LogGroupClassPtrOutput) ToLogGroupClassPtrOutputWithContext(ctx context.Context) LogGroupClassPtrOutput

func (LogGroupClassPtrOutput) ToStringPtrOutput added in v0.87.0

func (o LogGroupClassPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (LogGroupClassPtrOutput) ToStringPtrOutputWithContext added in v0.87.0

func (o LogGroupClassPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LogGroupInput

type LogGroupInput interface {
	pulumi.Input

	ToLogGroupOutput() LogGroupOutput
	ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput
}

type LogGroupOutput

type LogGroupOutput struct{ *pulumi.OutputState }

func (LogGroupOutput) Arn added in v0.17.0

func (LogGroupOutput) DataProtectionPolicy added in v0.43.0

func (o LogGroupOutput) DataProtectionPolicy() pulumi.AnyOutput

Creates a data protection policy and assigns it to the log group. A data protection policy can help safeguard sensitive data that's ingested by the log group by auditing and masking the sensitive log data. When a user who does not have permission to view masked data views a log event that includes masked data, the sensitive data is replaced by asterisks.

For more information, including a list of types of data that can be audited and masked, see [Protect sensitive log data with masking](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html).

Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Logs::LogGroup` for more information about the expected schema for this property.

func (LogGroupOutput) ElementType

func (LogGroupOutput) ElementType() reflect.Type

func (LogGroupOutput) KmsKeyId added in v0.17.0

func (o LogGroupOutput) KmsKeyId() pulumi.StringPtrOutput

The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.

To associate an KMS key with the log group, specify the ARN of that KMS key here. If you do so, ingested data is encrypted using this key. This association is stored as long as the data encrypted with the KMS key is still within CWL. This enables CWL to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key doesn't exist or is deactivated, you will receive an ``InvalidParameterException`` error.
Log group data is always encrypted in CWL. If you omit this key, the encryption does not use KMS. For more information, see [Encrypt log data in using](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html)

func (LogGroupOutput) LogGroupClass added in v0.87.0

func (o LogGroupOutput) LogGroupClass() LogGroupClassPtrOutput

Specifies the log group class for this log group. There are two classes:

func (LogGroupOutput) LogGroupName added in v0.17.0

func (o LogGroupOutput) LogGroupName() pulumi.StringPtrOutput

The name of the log group. If you don't specify a name, CFNlong generates a unique ID for the log group.

func (LogGroupOutput) RetentionInDays added in v0.17.0

func (o LogGroupOutput) RetentionInDays() pulumi.IntPtrOutput

The number of days to retain the 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, and 3653.

To set a log group so that its log events do not expire, use [DeleteRetentionPolicy](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html).

func (LogGroupOutput) Tags added in v0.17.0

An array of key-value pairs to apply to the log group.

For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).

func (LogGroupOutput) ToLogGroupOutput

func (o LogGroupOutput) ToLogGroupOutput() LogGroupOutput

func (LogGroupOutput) ToLogGroupOutputWithContext

func (o LogGroupOutput) ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput

type LogGroupState

type LogGroupState struct {
}

func (LogGroupState) ElementType

func (LogGroupState) ElementType() reflect.Type

type LogGroupTag added in v0.6.0

type LogGroupTag struct {
	Key   string `pulumi:"key"`
	Value string `pulumi:"value"`
}

type LogStream

type LogStream struct {
	pulumi.CustomResourceState

	// The name of the log group where the log stream is created.
	LogGroupName pulumi.StringOutput `pulumi:"logGroupName"`
	// The name of the log stream. The name must be unique wihtin the log group.
	LogStreamName pulumi.StringPtrOutput `pulumi:"logStreamName"`
}

Resource Type definition for AWS::Logs::LogStream

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 where the log stream is created.
	LogGroupName pulumi.StringInput
	// The name of the log stream. The name must be unique wihtin the log group.
	LogStreamName pulumi.StringPtrInput
}

The set of arguments for constructing a LogStream resource.

func (LogStreamArgs) ElementType

func (LogStreamArgs) ElementType() reflect.Type

type LogStreamInput

type LogStreamInput interface {
	pulumi.Input

	ToLogStreamOutput() LogStreamOutput
	ToLogStreamOutputWithContext(ctx context.Context) LogStreamOutput
}

type LogStreamOutput

type LogStreamOutput struct{ *pulumi.OutputState }

func (LogStreamOutput) ElementType

func (LogStreamOutput) ElementType() reflect.Type

func (LogStreamOutput) LogGroupName added in v0.17.0

func (o LogStreamOutput) LogGroupName() pulumi.StringOutput

The name of the log group where the log stream is created.

func (LogStreamOutput) LogStreamName added in v0.17.0

func (o LogStreamOutput) LogStreamName() pulumi.StringPtrOutput

The name of the log stream. The name must be unique wihtin the log group.

func (LogStreamOutput) ToLogStreamOutput

func (o LogStreamOutput) ToLogStreamOutput() LogStreamOutput

func (LogStreamOutput) ToLogStreamOutputWithContext

func (o LogStreamOutput) ToLogStreamOutputWithContext(ctx context.Context) LogStreamOutput

type LogStreamState

type LogStreamState struct {
}

func (LogStreamState) ElementType

func (LogStreamState) ElementType() reflect.Type

type LookupAccountPolicyArgs added in v0.69.0

type LookupAccountPolicyArgs struct {
	// User account id
	AccountId string `pulumi:"accountId"`
	// The name of the account policy
	PolicyName string `pulumi:"policyName"`
	// Type of the policy.
	PolicyType AccountPolicyPolicyType `pulumi:"policyType"`
}

type LookupAccountPolicyOutputArgs added in v0.69.0

type LookupAccountPolicyOutputArgs struct {
	// User account id
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The name of the account policy
	PolicyName pulumi.StringInput `pulumi:"policyName"`
	// Type of the policy.
	PolicyType AccountPolicyPolicyTypeInput `pulumi:"policyType"`
}

func (LookupAccountPolicyOutputArgs) ElementType added in v0.69.0

type LookupAccountPolicyResult added in v0.69.0

type LookupAccountPolicyResult struct {
	// User account id
	AccountId *string `pulumi:"accountId"`
	// The body of the policy document you want to use for this topic.
	//
	// You can only add one policy per PolicyType.
	//
	// The policy must be in JSON string format.
	//
	// Length Constraints: Maximum length of 30720
	PolicyDocument *string `pulumi:"policyDocument"`
	// Scope for policy application
	Scope *AccountPolicyScope `pulumi:"scope"`
	// Log group  selection criteria to apply policy only to a subset of log groups. SelectionCriteria string can be up to 25KB and cloudwatchlogs determines the length of selectionCriteria by using its UTF-8 bytes
	SelectionCriteria *string `pulumi:"selectionCriteria"`
}

func LookupAccountPolicy added in v0.69.0

func LookupAccountPolicy(ctx *pulumi.Context, args *LookupAccountPolicyArgs, opts ...pulumi.InvokeOption) (*LookupAccountPolicyResult, error)

The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy.

type LookupAccountPolicyResultOutput added in v0.69.0

type LookupAccountPolicyResultOutput struct{ *pulumi.OutputState }

func LookupAccountPolicyOutput added in v0.69.0

func (LookupAccountPolicyResultOutput) AccountId added in v0.69.0

User account id

func (LookupAccountPolicyResultOutput) ElementType added in v0.69.0

func (LookupAccountPolicyResultOutput) PolicyDocument added in v0.69.0

The body of the policy document you want to use for this topic.

You can only add one policy per PolicyType.

The policy must be in JSON string format.

Length Constraints: Maximum length of 30720

func (LookupAccountPolicyResultOutput) Scope added in v0.69.0

Scope for policy application

func (LookupAccountPolicyResultOutput) SelectionCriteria added in v0.95.0

Log group selection criteria to apply policy only to a subset of log groups. SelectionCriteria string can be up to 25KB and cloudwatchlogs determines the length of selectionCriteria by using its UTF-8 bytes

func (LookupAccountPolicyResultOutput) ToLookupAccountPolicyResultOutput added in v0.69.0

func (o LookupAccountPolicyResultOutput) ToLookupAccountPolicyResultOutput() LookupAccountPolicyResultOutput

func (LookupAccountPolicyResultOutput) ToLookupAccountPolicyResultOutputWithContext added in v0.69.0

func (o LookupAccountPolicyResultOutput) ToLookupAccountPolicyResultOutputWithContext(ctx context.Context) LookupAccountPolicyResultOutput

type LookupDeliveryArgs added in v0.87.0

type LookupDeliveryArgs struct {
	// The unique ID that identifies this delivery in your account.
	DeliveryId string `pulumi:"deliveryId"`
}

type LookupDeliveryDestinationArgs added in v0.87.0

type LookupDeliveryDestinationArgs struct {
	// The name of this delivery destination.
	Name string `pulumi:"name"`
}

type LookupDeliveryDestinationOutputArgs added in v0.87.0

type LookupDeliveryDestinationOutputArgs struct {
	// The name of this delivery destination.
	Name pulumi.StringInput `pulumi:"name"`
}

func (LookupDeliveryDestinationOutputArgs) ElementType added in v0.87.0

type LookupDeliveryDestinationResult added in v0.87.0

type LookupDeliveryDestinationResult struct {
	// The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.
	Arn *string `pulumi:"arn"`
	// IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.
	//
	// The policy must be in JSON string format.
	//
	// Length Constraints: Maximum length of 51200
	DeliveryDestinationPolicy []DeliveryDestinationDestinationPolicy `pulumi:"deliveryDestinationPolicy"`
	// Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
	DeliveryDestinationType *string `pulumi:"deliveryDestinationType"`
	// The tags that have been assigned to this delivery destination.
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupDeliveryDestination added in v0.87.0

func LookupDeliveryDestination(ctx *pulumi.Context, args *LookupDeliveryDestinationArgs, opts ...pulumi.InvokeOption) (*LookupDeliveryDestinationResult, error)

This structure contains information about one delivery destination in your account.

A delivery destination is an AWS resource that represents an AWS service that logs can be sent to CloudWatch Logs, Amazon S3, are supported as Kinesis Data Firehose delivery destinations.

type LookupDeliveryDestinationResultOutput added in v0.87.0

type LookupDeliveryDestinationResultOutput struct{ *pulumi.OutputState }

func (LookupDeliveryDestinationResultOutput) Arn added in v0.87.0

The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.

func (LookupDeliveryDestinationResultOutput) DeliveryDestinationPolicy added in v0.88.0

IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.

The policy must be in JSON string format.

Length Constraints: Maximum length of 51200

func (LookupDeliveryDestinationResultOutput) DeliveryDestinationType added in v0.87.0

func (o LookupDeliveryDestinationResultOutput) DeliveryDestinationType() pulumi.StringPtrOutput

Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.

func (LookupDeliveryDestinationResultOutput) ElementType added in v0.87.0

func (LookupDeliveryDestinationResultOutput) Tags added in v0.87.0

The tags that have been assigned to this delivery destination.

func (LookupDeliveryDestinationResultOutput) ToLookupDeliveryDestinationResultOutput added in v0.87.0

func (o LookupDeliveryDestinationResultOutput) ToLookupDeliveryDestinationResultOutput() LookupDeliveryDestinationResultOutput

func (LookupDeliveryDestinationResultOutput) ToLookupDeliveryDestinationResultOutputWithContext added in v0.87.0

func (o LookupDeliveryDestinationResultOutput) ToLookupDeliveryDestinationResultOutputWithContext(ctx context.Context) LookupDeliveryDestinationResultOutput

type LookupDeliveryOutputArgs added in v0.87.0

type LookupDeliveryOutputArgs struct {
	// The unique ID that identifies this delivery in your account.
	DeliveryId pulumi.StringInput `pulumi:"deliveryId"`
}

func (LookupDeliveryOutputArgs) ElementType added in v0.87.0

func (LookupDeliveryOutputArgs) ElementType() reflect.Type

type LookupDeliveryResult added in v0.87.0

type LookupDeliveryResult struct {
	// The Amazon Resource Name (ARN) that uniquely identifies this delivery.
	Arn *string `pulumi:"arn"`
	// Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
	DeliveryDestinationType *string `pulumi:"deliveryDestinationType"`
	// The unique ID that identifies this delivery in your account.
	DeliveryId *string `pulumi:"deliveryId"`
	// The tags that have been assigned to this delivery.
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupDelivery added in v0.87.0

func LookupDelivery(ctx *pulumi.Context, args *LookupDeliveryArgs, opts ...pulumi.InvokeOption) (*LookupDeliveryResult, error)

This structure contains information about one delivery in your account.

A delivery is a connection between a logical delivery source and a logical delivery destination.

For more information, see [CreateDelivery](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html).

type LookupDeliveryResultOutput added in v0.87.0

type LookupDeliveryResultOutput struct{ *pulumi.OutputState }

func LookupDeliveryOutput added in v0.87.0

func LookupDeliveryOutput(ctx *pulumi.Context, args LookupDeliveryOutputArgs, opts ...pulumi.InvokeOption) LookupDeliveryResultOutput

func (LookupDeliveryResultOutput) Arn added in v0.87.0

The Amazon Resource Name (ARN) that uniquely identifies this delivery.

func (LookupDeliveryResultOutput) DeliveryDestinationType added in v0.87.0

func (o LookupDeliveryResultOutput) DeliveryDestinationType() pulumi.StringPtrOutput

Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.

func (LookupDeliveryResultOutput) DeliveryId added in v0.87.0

The unique ID that identifies this delivery in your account.

func (LookupDeliveryResultOutput) ElementType added in v0.87.0

func (LookupDeliveryResultOutput) ElementType() reflect.Type

func (LookupDeliveryResultOutput) Tags added in v0.87.0

The tags that have been assigned to this delivery.

func (LookupDeliveryResultOutput) ToLookupDeliveryResultOutput added in v0.87.0

func (o LookupDeliveryResultOutput) ToLookupDeliveryResultOutput() LookupDeliveryResultOutput

func (LookupDeliveryResultOutput) ToLookupDeliveryResultOutputWithContext added in v0.87.0

func (o LookupDeliveryResultOutput) ToLookupDeliveryResultOutputWithContext(ctx context.Context) LookupDeliveryResultOutput

type LookupDeliverySourceArgs added in v0.87.0

type LookupDeliverySourceArgs struct {
	// The unique name of the Log source.
	Name string `pulumi:"name"`
}

type LookupDeliverySourceOutputArgs added in v0.87.0

type LookupDeliverySourceOutputArgs struct {
	// The unique name of the Log source.
	Name pulumi.StringInput `pulumi:"name"`
}

func (LookupDeliverySourceOutputArgs) ElementType added in v0.87.0

type LookupDeliverySourceResult added in v0.87.0

type LookupDeliverySourceResult struct {
	// The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
	Arn *string `pulumi:"arn"`
	// The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
	LogType *string `pulumi:"logType"`
	// This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
	ResourceArns []string `pulumi:"resourceArns"`
	// The AWS service that is sending logs.
	Service *string `pulumi:"service"`
	// The tags that have been assigned to this delivery source.
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupDeliverySource added in v0.87.0

func LookupDeliverySource(ctx *pulumi.Context, args *LookupDeliverySourceArgs, opts ...pulumi.InvokeOption) (*LookupDeliverySourceResult, error)
A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.

Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at [Enabling logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html).

type LookupDeliverySourceResultOutput added in v0.87.0

type LookupDeliverySourceResultOutput struct{ *pulumi.OutputState }

func LookupDeliverySourceOutput added in v0.87.0

func (LookupDeliverySourceResultOutput) Arn added in v0.87.0

The Amazon Resource Name (ARN) that uniquely identifies this delivery source.

func (LookupDeliverySourceResultOutput) ElementType added in v0.87.0

func (LookupDeliverySourceResultOutput) LogType added in v0.87.0

The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.

func (LookupDeliverySourceResultOutput) ResourceArns added in v0.87.0

This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.

func (LookupDeliverySourceResultOutput) Service added in v0.87.0

The AWS service that is sending logs.

func (LookupDeliverySourceResultOutput) Tags added in v0.87.0

The tags that have been assigned to this delivery source.

func (LookupDeliverySourceResultOutput) ToLookupDeliverySourceResultOutput added in v0.87.0

func (o LookupDeliverySourceResultOutput) ToLookupDeliverySourceResultOutput() LookupDeliverySourceResultOutput

func (LookupDeliverySourceResultOutput) ToLookupDeliverySourceResultOutputWithContext added in v0.87.0

func (o LookupDeliverySourceResultOutput) ToLookupDeliverySourceResultOutputWithContext(ctx context.Context) LookupDeliverySourceResultOutput

type LookupDestinationArgs added in v0.12.0

type LookupDestinationArgs struct {
	// The name of the destination resource
	DestinationName string `pulumi:"destinationName"`
}

type LookupDestinationOutputArgs added in v0.12.0

type LookupDestinationOutputArgs struct {
	// The name of the destination resource
	DestinationName pulumi.StringInput `pulumi:"destinationName"`
}

func (LookupDestinationOutputArgs) ElementType added in v0.12.0

type LookupDestinationResult added in v0.12.0

type LookupDestinationResult struct {
	Arn *string `pulumi:"arn"`
	// An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
	DestinationPolicy *string `pulumi:"destinationPolicy"`
	// The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
	RoleArn *string `pulumi:"roleArn"`
	// The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
	TargetArn *string `pulumi:"targetArn"`
}

func LookupDestination added in v0.12.0

func LookupDestination(ctx *pulumi.Context, args *LookupDestinationArgs, opts ...pulumi.InvokeOption) (*LookupDestinationResult, error)

The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events.

type LookupDestinationResultOutput added in v0.12.0

type LookupDestinationResultOutput struct{ *pulumi.OutputState }

func LookupDestinationOutput added in v0.12.0

func (LookupDestinationResultOutput) Arn added in v0.12.0

func (LookupDestinationResultOutput) DestinationPolicy added in v0.12.0

An IAM policy document that governs which AWS accounts can create subscription filters against this destination.

func (LookupDestinationResultOutput) ElementType added in v0.12.0

func (LookupDestinationResultOutput) RoleArn added in v0.12.0

The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource

func (LookupDestinationResultOutput) TargetArn added in v0.12.0

The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)

func (LookupDestinationResultOutput) ToLookupDestinationResultOutput added in v0.12.0

func (o LookupDestinationResultOutput) ToLookupDestinationResultOutput() LookupDestinationResultOutput

func (LookupDestinationResultOutput) ToLookupDestinationResultOutputWithContext added in v0.12.0

func (o LookupDestinationResultOutput) ToLookupDestinationResultOutputWithContext(ctx context.Context) LookupDestinationResultOutput

type LookupLogAnomalyDetectorArgs added in v0.87.0

type LookupLogAnomalyDetectorArgs struct {
	// ARN of LogAnomalyDetector
	AnomalyDetectorArn string `pulumi:"anomalyDetectorArn"`
}

type LookupLogAnomalyDetectorOutputArgs added in v0.87.0

type LookupLogAnomalyDetectorOutputArgs struct {
	// ARN of LogAnomalyDetector
	AnomalyDetectorArn pulumi.StringInput `pulumi:"anomalyDetectorArn"`
}

func (LookupLogAnomalyDetectorOutputArgs) ElementType added in v0.87.0

type LookupLogAnomalyDetectorResult added in v0.87.0

type LookupLogAnomalyDetectorResult struct {
	// ARN of LogAnomalyDetector
	AnomalyDetectorArn *string `pulumi:"anomalyDetectorArn"`
	// Current status of detector.
	AnomalyDetectorStatus *string  `pulumi:"anomalyDetectorStatus"`
	AnomalyVisibilityTime *float64 `pulumi:"anomalyVisibilityTime"`
	// When detector was created.
	CreationTimeStamp *float64 `pulumi:"creationTimeStamp"`
	// Name of detector
	DetectorName *string `pulumi:"detectorName"`
	// How often log group is evaluated
	EvaluationFrequency *LogAnomalyDetectorEvaluationFrequency `pulumi:"evaluationFrequency"`
	FilterPattern       *string                                `pulumi:"filterPattern"`
	// The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// When detector was lsat modified.
	LastModifiedTimeStamp *float64 `pulumi:"lastModifiedTimeStamp"`
	// List of Arns for the given log group
	LogGroupArnList []string `pulumi:"logGroupArnList"`
}

func LookupLogAnomalyDetector added in v0.87.0

func LookupLogAnomalyDetector(ctx *pulumi.Context, args *LookupLogAnomalyDetectorArgs, opts ...pulumi.InvokeOption) (*LookupLogAnomalyDetectorResult, error)

The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.

type LookupLogAnomalyDetectorResultOutput added in v0.87.0

type LookupLogAnomalyDetectorResultOutput struct{ *pulumi.OutputState }

func (LookupLogAnomalyDetectorResultOutput) AnomalyDetectorArn added in v0.87.0

ARN of LogAnomalyDetector

func (LookupLogAnomalyDetectorResultOutput) AnomalyDetectorStatus added in v0.87.0

Current status of detector.

func (LookupLogAnomalyDetectorResultOutput) AnomalyVisibilityTime added in v0.87.0

func (LookupLogAnomalyDetectorResultOutput) CreationTimeStamp added in v0.87.0

When detector was created.

func (LookupLogAnomalyDetectorResultOutput) DetectorName added in v0.87.0

Name of detector

func (LookupLogAnomalyDetectorResultOutput) ElementType added in v0.87.0

func (LookupLogAnomalyDetectorResultOutput) EvaluationFrequency added in v0.87.0

How often log group is evaluated

func (LookupLogAnomalyDetectorResultOutput) FilterPattern added in v0.87.0

func (LookupLogAnomalyDetectorResultOutput) KmsKeyId added in v0.87.0

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.

func (LookupLogAnomalyDetectorResultOutput) LastModifiedTimeStamp added in v0.87.0

When detector was lsat modified.

func (LookupLogAnomalyDetectorResultOutput) LogGroupArnList added in v0.87.0

List of Arns for the given log group

func (LookupLogAnomalyDetectorResultOutput) ToLookupLogAnomalyDetectorResultOutput added in v0.87.0

func (o LookupLogAnomalyDetectorResultOutput) ToLookupLogAnomalyDetectorResultOutput() LookupLogAnomalyDetectorResultOutput

func (LookupLogAnomalyDetectorResultOutput) ToLookupLogAnomalyDetectorResultOutputWithContext added in v0.87.0

func (o LookupLogAnomalyDetectorResultOutput) ToLookupLogAnomalyDetectorResultOutputWithContext(ctx context.Context) LookupLogAnomalyDetectorResultOutput

type LookupLogGroupArgs added in v0.12.0

type LookupLogGroupArgs struct {
	// The name of the log group. If you don't specify a name, CFNlong generates a unique ID for the log group.
	LogGroupName string `pulumi:"logGroupName"`
}

type LookupLogGroupOutputArgs added in v0.12.0

type LookupLogGroupOutputArgs struct {
	// The name of the log group. If you don't specify a name, CFNlong generates a unique ID for the log group.
	LogGroupName pulumi.StringInput `pulumi:"logGroupName"`
}

func (LookupLogGroupOutputArgs) ElementType added in v0.12.0

func (LookupLogGroupOutputArgs) ElementType() reflect.Type

type LookupLogGroupResult added in v0.12.0

type LookupLogGroupResult struct {
	Arn *string `pulumi:"arn"`
	// Creates a data protection policy and assigns it to the log group. A data protection policy can help safeguard sensitive data that's ingested by the log group by auditing and masking the sensitive log data. When a user who does not have permission to view masked data views a log event that includes masked data, the sensitive data is replaced by asterisks.
	//  For more information, including a list of types of data that can be audited and masked, see [Protect sensitive log data with masking](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html).
	//
	// Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Logs::LogGroup` for more information about the expected schema for this property.
	DataProtectionPolicy interface{} `pulumi:"dataProtectionPolicy"`
	// The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.
	//  To associate an KMS key with the log group, specify the ARN of that KMS key here. If you do so, ingested data is encrypted using this key. This association is stored as long as the data encrypted with the KMS key is still within CWL. This enables CWL to decrypt this data whenever it is requested.
	//  If you attempt to associate a KMS key with the log group but the KMS key doesn't exist or is deactivated, you will receive an “InvalidParameterException“ error.
	//  Log group data is always encrypted in CWL. If you omit this key, the encryption does not use KMS. For more information, see [Encrypt log data in using](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html)
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Specifies the log group class for this log group. There are two classes:
	//   +  The “Standard“ log class supports all CWL features.
	//   +  The “Infrequent Access“ log class supports a subset of CWL features and incurs lower costs.
	//
	//  For details about the features supported by each class, see [Log classes](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html)
	LogGroupClass *LogGroupClass `pulumi:"logGroupClass"`
	// The number of days to retain the 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, and 3653.
	//  To set a log group so that its log events do not expire, use [DeleteRetentionPolicy](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html).
	RetentionInDays *int `pulumi:"retentionInDays"`
	// An array of key-value pairs to apply to the log group.
	//  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupLogGroup added in v0.12.0

func LookupLogGroup(ctx *pulumi.Context, args *LookupLogGroupArgs, opts ...pulumi.InvokeOption) (*LookupLogGroupResult, error)

The “AWS::Logs::LogGroup“ resource specifies a log group. A log group defines common properties for log streams, such as their retention and access control rules. Each log stream must belong to one log group.

You can create up to 1,000,000 log groups per Region per account. You must use the following guidelines when naming a log group:
 +  Log group names must be unique within a Region for an AWS account.
 +  Log group names can be between 1 and 512 characters long.
 +  Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).

type LookupLogGroupResultOutput added in v0.12.0

type LookupLogGroupResultOutput struct{ *pulumi.OutputState }

func LookupLogGroupOutput added in v0.12.0

func LookupLogGroupOutput(ctx *pulumi.Context, args LookupLogGroupOutputArgs, opts ...pulumi.InvokeOption) LookupLogGroupResultOutput

func (LookupLogGroupResultOutput) Arn added in v0.12.0

func (LookupLogGroupResultOutput) DataProtectionPolicy added in v0.43.0

func (o LookupLogGroupResultOutput) DataProtectionPolicy() pulumi.AnyOutput

Creates a data protection policy and assigns it to the log group. A data protection policy can help safeguard sensitive data that's ingested by the log group by auditing and masking the sensitive log data. When a user who does not have permission to view masked data views a log event that includes masked data, the sensitive data is replaced by asterisks.

For more information, including a list of types of data that can be audited and masked, see [Protect sensitive log data with masking](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data.html).

Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Logs::LogGroup` for more information about the expected schema for this property.

func (LookupLogGroupResultOutput) ElementType added in v0.12.0

func (LookupLogGroupResultOutput) ElementType() reflect.Type

func (LookupLogGroupResultOutput) KmsKeyId added in v0.12.0

The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.

To associate an KMS key with the log group, specify the ARN of that KMS key here. If you do so, ingested data is encrypted using this key. This association is stored as long as the data encrypted with the KMS key is still within CWL. This enables CWL to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key doesn't exist or is deactivated, you will receive an ``InvalidParameterException`` error.
Log group data is always encrypted in CWL. If you omit this key, the encryption does not use KMS. For more information, see [Encrypt log data in using](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html)

func (LookupLogGroupResultOutput) LogGroupClass added in v0.87.0

Specifies the log group class for this log group. There are two classes:

func (LookupLogGroupResultOutput) RetentionInDays added in v0.12.0

func (o LookupLogGroupResultOutput) RetentionInDays() pulumi.IntPtrOutput

The number of days to retain the 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, and 3653.

To set a log group so that its log events do not expire, use [DeleteRetentionPolicy](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html).

func (LookupLogGroupResultOutput) Tags added in v0.12.0

An array of key-value pairs to apply to the log group.

For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).

func (LookupLogGroupResultOutput) ToLookupLogGroupResultOutput added in v0.12.0

func (o LookupLogGroupResultOutput) ToLookupLogGroupResultOutput() LookupLogGroupResultOutput

func (LookupLogGroupResultOutput) ToLookupLogGroupResultOutputWithContext added in v0.12.0

func (o LookupLogGroupResultOutput) ToLookupLogGroupResultOutputWithContext(ctx context.Context) LookupLogGroupResultOutput

type LookupMetricFilterArgs added in v0.12.0

type LookupMetricFilterArgs struct {
	// The name of the metric filter.
	FilterName string `pulumi:"filterName"`
	// The name of an existing log group that you want to associate with this metric filter.
	LogGroupName string `pulumi:"logGroupName"`
}

type LookupMetricFilterOutputArgs added in v0.12.0

type LookupMetricFilterOutputArgs struct {
	// The name of the metric filter.
	FilterName pulumi.StringInput `pulumi:"filterName"`
	// The name of an existing log group that you want to associate with this metric filter.
	LogGroupName pulumi.StringInput `pulumi:"logGroupName"`
}

func (LookupMetricFilterOutputArgs) ElementType added in v0.12.0

type LookupMetricFilterResult added in v0.12.0

type LookupMetricFilterResult struct {
	// A filter pattern for extracting metric data out of ingested log events. For more information, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern *string `pulumi:"filterPattern"`
	// The metric transformations.
	MetricTransformations []MetricFilterMetricTransformation `pulumi:"metricTransformations"`
}

func LookupMetricFilter added in v0.12.0

func LookupMetricFilter(ctx *pulumi.Context, args *LookupMetricFilterArgs, opts ...pulumi.InvokeOption) (*LookupMetricFilterResult, error)

The “AWS::Logs::MetricFilter“ resource specifies a metric filter that describes how CWL extracts information from logs and transforms it into Amazon CloudWatch metrics. If you have multiple metric filters that are associated with a log group, all the filters are applied to the log streams in that group.

The maximum number of metric filters that can be associated with a log group is 100.

type LookupMetricFilterResultOutput added in v0.12.0

type LookupMetricFilterResultOutput struct{ *pulumi.OutputState }

func LookupMetricFilterOutput added in v0.12.0

func (LookupMetricFilterResultOutput) ElementType added in v0.12.0

func (LookupMetricFilterResultOutput) FilterPattern added in v0.12.0

A filter pattern for extracting metric data out of ingested log events. For more information, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).

func (LookupMetricFilterResultOutput) MetricTransformations added in v0.12.0

The metric transformations.

func (LookupMetricFilterResultOutput) ToLookupMetricFilterResultOutput added in v0.12.0

func (o LookupMetricFilterResultOutput) ToLookupMetricFilterResultOutput() LookupMetricFilterResultOutput

func (LookupMetricFilterResultOutput) ToLookupMetricFilterResultOutputWithContext added in v0.12.0

func (o LookupMetricFilterResultOutput) ToLookupMetricFilterResultOutputWithContext(ctx context.Context) LookupMetricFilterResultOutput

type LookupQueryDefinitionArgs added in v0.12.0

type LookupQueryDefinitionArgs struct {
	// Unique identifier of a query definition
	QueryDefinitionId string `pulumi:"queryDefinitionId"`
}

type LookupQueryDefinitionOutputArgs added in v0.12.0

type LookupQueryDefinitionOutputArgs struct {
	// Unique identifier of a query definition
	QueryDefinitionId pulumi.StringInput `pulumi:"queryDefinitionId"`
}

func (LookupQueryDefinitionOutputArgs) ElementType added in v0.12.0

type LookupQueryDefinitionResult added in v0.12.0

type LookupQueryDefinitionResult struct {
	// Optionally define specific log groups as part of your query definition
	LogGroupNames []string `pulumi:"logGroupNames"`
	// A name for the saved query definition
	Name *string `pulumi:"name"`
	// Unique identifier of a query definition
	QueryDefinitionId *string `pulumi:"queryDefinitionId"`
	// The query string to use for this definition
	QueryString *string `pulumi:"queryString"`
}

func LookupQueryDefinition added in v0.12.0

func LookupQueryDefinition(ctx *pulumi.Context, args *LookupQueryDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupQueryDefinitionResult, error)

The resource schema for AWSLogs QueryDefinition

type LookupQueryDefinitionResultOutput added in v0.12.0

type LookupQueryDefinitionResultOutput struct{ *pulumi.OutputState }

func LookupQueryDefinitionOutput added in v0.12.0

func (LookupQueryDefinitionResultOutput) ElementType added in v0.12.0

func (LookupQueryDefinitionResultOutput) LogGroupNames added in v0.12.0

Optionally define specific log groups as part of your query definition

func (LookupQueryDefinitionResultOutput) Name added in v0.12.0

A name for the saved query definition

func (LookupQueryDefinitionResultOutput) QueryDefinitionId added in v0.12.0

Unique identifier of a query definition

func (LookupQueryDefinitionResultOutput) QueryString added in v0.12.0

The query string to use for this definition

func (LookupQueryDefinitionResultOutput) ToLookupQueryDefinitionResultOutput added in v0.12.0

func (o LookupQueryDefinitionResultOutput) ToLookupQueryDefinitionResultOutput() LookupQueryDefinitionResultOutput

func (LookupQueryDefinitionResultOutput) ToLookupQueryDefinitionResultOutputWithContext added in v0.12.0

func (o LookupQueryDefinitionResultOutput) ToLookupQueryDefinitionResultOutputWithContext(ctx context.Context) LookupQueryDefinitionResultOutput

type LookupResourcePolicyArgs added in v0.12.0

type LookupResourcePolicyArgs struct {
	// A name for resource policy
	PolicyName string `pulumi:"policyName"`
}

type LookupResourcePolicyOutputArgs added in v0.12.0

type LookupResourcePolicyOutputArgs struct {
	// A name for resource policy
	PolicyName pulumi.StringInput `pulumi:"policyName"`
}

func (LookupResourcePolicyOutputArgs) ElementType added in v0.12.0

type LookupResourcePolicyResult added in v0.12.0

type LookupResourcePolicyResult struct {
	// The policy document
	PolicyDocument *string `pulumi:"policyDocument"`
}

func LookupResourcePolicy added in v0.12.0

func LookupResourcePolicy(ctx *pulumi.Context, args *LookupResourcePolicyArgs, opts ...pulumi.InvokeOption) (*LookupResourcePolicyResult, error)

The resource schema for AWSLogs ResourcePolicy

type LookupResourcePolicyResultOutput added in v0.12.0

type LookupResourcePolicyResultOutput struct{ *pulumi.OutputState }

func LookupResourcePolicyOutput added in v0.12.0

func (LookupResourcePolicyResultOutput) ElementType added in v0.12.0

func (LookupResourcePolicyResultOutput) PolicyDocument added in v0.12.0

The policy document

func (LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutput added in v0.12.0

func (o LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutput() LookupResourcePolicyResultOutput

func (LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutputWithContext added in v0.12.0

func (o LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutputWithContext(ctx context.Context) LookupResourcePolicyResultOutput

type LookupSubscriptionFilterArgs added in v0.12.0

type LookupSubscriptionFilterArgs struct {
	// The name of the subscription filter.
	FilterName string `pulumi:"filterName"`
	// The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
	LogGroupName string `pulumi:"logGroupName"`
}

type LookupSubscriptionFilterOutputArgs added in v0.12.0

type LookupSubscriptionFilterOutputArgs struct {
	// The name of the subscription filter.
	FilterName pulumi.StringInput `pulumi:"filterName"`
	// The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
	LogGroupName pulumi.StringInput `pulumi:"logGroupName"`
}

func (LookupSubscriptionFilterOutputArgs) ElementType added in v0.12.0

type LookupSubscriptionFilterResult added in v0.12.0

type LookupSubscriptionFilterResult struct {
	// The Amazon Resource Name (ARN) of the destination.
	DestinationArn *string `pulumi:"destinationArn"`
	// The method used to distribute log data to the destination, which can be either random or grouped by log stream.
	Distribution *SubscriptionFilterDistribution `pulumi:"distribution"`
	// The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern *string `pulumi:"filterPattern"`
	// The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
	RoleArn *string `pulumi:"roleArn"`
}

func LookupSubscriptionFilter added in v0.12.0

func LookupSubscriptionFilter(ctx *pulumi.Context, args *LookupSubscriptionFilterArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionFilterResult, error)

The “AWS::Logs::SubscriptionFilter“ resource specifies a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events and have them delivered to a specific destination. Currently, the supported destinations are:

  • An Amazon Kinesis data stream belonging to the same account as the subscription filter, for same-account delivery.

  • A logical destination that belongs to a different account, for cross-account delivery.

  • An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for same-account delivery.

  • An LAMlong function that belongs to the same account as the subscription filter, for same-account delivery.

    There can be as many as two subscription filters associated with a log group.

type LookupSubscriptionFilterResultOutput added in v0.12.0

type LookupSubscriptionFilterResultOutput struct{ *pulumi.OutputState }

func (LookupSubscriptionFilterResultOutput) DestinationArn added in v0.56.0

The Amazon Resource Name (ARN) of the destination.

func (LookupSubscriptionFilterResultOutput) Distribution added in v0.56.0

The method used to distribute log data to the destination, which can be either random or grouped by log stream.

func (LookupSubscriptionFilterResultOutput) ElementType added in v0.12.0

func (LookupSubscriptionFilterResultOutput) FilterPattern added in v0.56.0

The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).

func (LookupSubscriptionFilterResultOutput) RoleArn added in v0.56.0

The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.

func (LookupSubscriptionFilterResultOutput) ToLookupSubscriptionFilterResultOutput added in v0.12.0

func (o LookupSubscriptionFilterResultOutput) ToLookupSubscriptionFilterResultOutput() LookupSubscriptionFilterResultOutput

func (LookupSubscriptionFilterResultOutput) ToLookupSubscriptionFilterResultOutputWithContext added in v0.12.0

func (o LookupSubscriptionFilterResultOutput) ToLookupSubscriptionFilterResultOutputWithContext(ctx context.Context) LookupSubscriptionFilterResultOutput

type MetricFilter

type MetricFilter struct {
	pulumi.CustomResourceState

	// The name of the metric filter.
	FilterName pulumi.StringPtrOutput `pulumi:"filterName"`
	// A filter pattern for extracting metric data out of ingested log events. For more information, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringOutput `pulumi:"filterPattern"`
	// The name of an existing log group that you want to associate with this metric filter.
	LogGroupName pulumi.StringOutput `pulumi:"logGroupName"`
	// The metric transformations.
	MetricTransformations MetricFilterMetricTransformationArrayOutput `pulumi:"metricTransformations"`
}

The “AWS::Logs::MetricFilter“ resource specifies a metric filter that describes how CWL extracts information from logs and transforms it into Amazon CloudWatch metrics. If you have multiple metric filters that are associated with a log group, all the filters are applied to the log streams in that group.

The maximum number of metric filters that can be associated with a log group is 100.

func GetMetricFilter

func GetMetricFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MetricFilterState, opts ...pulumi.ResourceOption) (*MetricFilter, error)

GetMetricFilter gets an existing MetricFilter 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 NewMetricFilter

func NewMetricFilter(ctx *pulumi.Context,
	name string, args *MetricFilterArgs, opts ...pulumi.ResourceOption) (*MetricFilter, error)

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

func (*MetricFilter) ElementType

func (*MetricFilter) ElementType() reflect.Type

func (*MetricFilter) ToMetricFilterOutput

func (i *MetricFilter) ToMetricFilterOutput() MetricFilterOutput

func (*MetricFilter) ToMetricFilterOutputWithContext

func (i *MetricFilter) ToMetricFilterOutputWithContext(ctx context.Context) MetricFilterOutput

type MetricFilterArgs

type MetricFilterArgs struct {
	// The name of the metric filter.
	FilterName pulumi.StringPtrInput
	// A filter pattern for extracting metric data out of ingested log events. For more information, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringInput
	// The name of an existing log group that you want to associate with this metric filter.
	LogGroupName pulumi.StringInput
	// The metric transformations.
	MetricTransformations MetricFilterMetricTransformationArrayInput
}

The set of arguments for constructing a MetricFilter resource.

func (MetricFilterArgs) ElementType

func (MetricFilterArgs) ElementType() reflect.Type

type MetricFilterDimension added in v0.21.0

type MetricFilterDimension struct {
	// The name for the CW metric dimension that the metric filter creates.
	//  Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
	Key string `pulumi:"key"`
	// The log event field that will contain the value for this dimension. This dimension will only be published for a metric if the value is found in the log event. For example, “$.eventType“ for JSON log events, or “$server“ for space-delimited log events.
	Value string `pulumi:"value"`
}

Specifies the CW metric dimensions to publish with this metric.

 Because dimensions are part of the unique identifier for a metric, whenever a unique dimension name/value pair is extracted from your logs, you are creating a new variation of that metric.
For more information about publishing dimensions with metrics created by metric filters, see [Publishing dimensions with metrics from values in JSON or space-delimited log events](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html#logs-metric-filters-dimensions).
 Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as ``IPAddress`` or ``requestID`` as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
To help prevent accidental high charges, Amazon disables a metric filter if it generates 1000 different name/value pairs for the dimensions that you have specified within a certain amount of time.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see [Creating a Billing Alarm to Monitor Your Estimated Charges](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html).

type MetricFilterDimensionArgs added in v0.21.0

type MetricFilterDimensionArgs struct {
	// The name for the CW metric dimension that the metric filter creates.
	//  Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
	Key pulumi.StringInput `pulumi:"key"`
	// The log event field that will contain the value for this dimension. This dimension will only be published for a metric if the value is found in the log event. For example, “$.eventType“ for JSON log events, or “$server“ for space-delimited log events.
	Value pulumi.StringInput `pulumi:"value"`
}

Specifies the CW metric dimensions to publish with this metric.

 Because dimensions are part of the unique identifier for a metric, whenever a unique dimension name/value pair is extracted from your logs, you are creating a new variation of that metric.
For more information about publishing dimensions with metrics created by metric filters, see [Publishing dimensions with metrics from values in JSON or space-delimited log events](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html#logs-metric-filters-dimensions).
 Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as ``IPAddress`` or ``requestID`` as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
To help prevent accidental high charges, Amazon disables a metric filter if it generates 1000 different name/value pairs for the dimensions that you have specified within a certain amount of time.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see [Creating a Billing Alarm to Monitor Your Estimated Charges](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html).

func (MetricFilterDimensionArgs) ElementType added in v0.21.0

func (MetricFilterDimensionArgs) ElementType() reflect.Type

func (MetricFilterDimensionArgs) ToMetricFilterDimensionOutput added in v0.21.0

func (i MetricFilterDimensionArgs) ToMetricFilterDimensionOutput() MetricFilterDimensionOutput

func (MetricFilterDimensionArgs) ToMetricFilterDimensionOutputWithContext added in v0.21.0

func (i MetricFilterDimensionArgs) ToMetricFilterDimensionOutputWithContext(ctx context.Context) MetricFilterDimensionOutput

type MetricFilterDimensionArray added in v0.21.0

type MetricFilterDimensionArray []MetricFilterDimensionInput

func (MetricFilterDimensionArray) ElementType added in v0.21.0

func (MetricFilterDimensionArray) ElementType() reflect.Type

func (MetricFilterDimensionArray) ToMetricFilterDimensionArrayOutput added in v0.21.0

func (i MetricFilterDimensionArray) ToMetricFilterDimensionArrayOutput() MetricFilterDimensionArrayOutput

func (MetricFilterDimensionArray) ToMetricFilterDimensionArrayOutputWithContext added in v0.21.0

func (i MetricFilterDimensionArray) ToMetricFilterDimensionArrayOutputWithContext(ctx context.Context) MetricFilterDimensionArrayOutput

type MetricFilterDimensionArrayInput added in v0.21.0

type MetricFilterDimensionArrayInput interface {
	pulumi.Input

	ToMetricFilterDimensionArrayOutput() MetricFilterDimensionArrayOutput
	ToMetricFilterDimensionArrayOutputWithContext(context.Context) MetricFilterDimensionArrayOutput
}

MetricFilterDimensionArrayInput is an input type that accepts MetricFilterDimensionArray and MetricFilterDimensionArrayOutput values. You can construct a concrete instance of `MetricFilterDimensionArrayInput` via:

MetricFilterDimensionArray{ MetricFilterDimensionArgs{...} }

type MetricFilterDimensionArrayOutput added in v0.21.0

type MetricFilterDimensionArrayOutput struct{ *pulumi.OutputState }

func (MetricFilterDimensionArrayOutput) ElementType added in v0.21.0

func (MetricFilterDimensionArrayOutput) Index added in v0.21.0

func (MetricFilterDimensionArrayOutput) ToMetricFilterDimensionArrayOutput added in v0.21.0

func (o MetricFilterDimensionArrayOutput) ToMetricFilterDimensionArrayOutput() MetricFilterDimensionArrayOutput

func (MetricFilterDimensionArrayOutput) ToMetricFilterDimensionArrayOutputWithContext added in v0.21.0

func (o MetricFilterDimensionArrayOutput) ToMetricFilterDimensionArrayOutputWithContext(ctx context.Context) MetricFilterDimensionArrayOutput

type MetricFilterDimensionInput added in v0.21.0

type MetricFilterDimensionInput interface {
	pulumi.Input

	ToMetricFilterDimensionOutput() MetricFilterDimensionOutput
	ToMetricFilterDimensionOutputWithContext(context.Context) MetricFilterDimensionOutput
}

MetricFilterDimensionInput is an input type that accepts MetricFilterDimensionArgs and MetricFilterDimensionOutput values. You can construct a concrete instance of `MetricFilterDimensionInput` via:

MetricFilterDimensionArgs{...}

type MetricFilterDimensionOutput added in v0.21.0

type MetricFilterDimensionOutput struct{ *pulumi.OutputState }

Specifies the CW metric dimensions to publish with this metric.

 Because dimensions are part of the unique identifier for a metric, whenever a unique dimension name/value pair is extracted from your logs, you are creating a new variation of that metric.
For more information about publishing dimensions with metrics created by metric filters, see [Publishing dimensions with metrics from values in JSON or space-delimited log events](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html#logs-metric-filters-dimensions).
 Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as ``IPAddress`` or ``requestID`` as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
To help prevent accidental high charges, Amazon disables a metric filter if it generates 1000 different name/value pairs for the dimensions that you have specified within a certain amount of time.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see [Creating a Billing Alarm to Monitor Your Estimated Charges](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html).

func (MetricFilterDimensionOutput) ElementType added in v0.21.0

func (MetricFilterDimensionOutput) Key added in v0.21.0

The name for the CW metric dimension that the metric filter creates.

Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).

func (MetricFilterDimensionOutput) ToMetricFilterDimensionOutput added in v0.21.0

func (o MetricFilterDimensionOutput) ToMetricFilterDimensionOutput() MetricFilterDimensionOutput

func (MetricFilterDimensionOutput) ToMetricFilterDimensionOutputWithContext added in v0.21.0

func (o MetricFilterDimensionOutput) ToMetricFilterDimensionOutputWithContext(ctx context.Context) MetricFilterDimensionOutput

func (MetricFilterDimensionOutput) Value added in v0.21.0

The log event field that will contain the value for this dimension. This dimension will only be published for a metric if the value is found in the log event. For example, “$.eventType“ for JSON log events, or “$server“ for space-delimited log events.

type MetricFilterInput

type MetricFilterInput interface {
	pulumi.Input

	ToMetricFilterOutput() MetricFilterOutput
	ToMetricFilterOutputWithContext(ctx context.Context) MetricFilterOutput
}

type MetricFilterMetricTransformation

type MetricFilterMetricTransformation struct {
	// (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
	DefaultValue *float64 `pulumi:"defaultValue"`
	// The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions.
	//   Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as “IPAddress“ or “requestID“ as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
	//  CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.
	//  You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see [Creating a Billing Alarm to Monitor Your Estimated Charges](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html).
	Dimensions []MetricFilterDimension `pulumi:"dimensions"`
	// The name of the CloudWatch metric.
	MetricName string `pulumi:"metricName"`
	// A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see [Namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace).
	MetricNamespace string `pulumi:"metricNamespace"`
	// The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like “Error“, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as “$.size“.
	MetricValue string `pulumi:"metricValue"`
	// The unit to assign to the metric. If you omit this, the unit is set as “None“.
	Unit *MetricFilterMetricTransformationUnit `pulumi:"unit"`
}

“MetricTransformation“ is a property of the “AWS::Logs::MetricFilter“ resource that describes how to transform log streams into a CloudWatch metric.

type MetricFilterMetricTransformationArgs

type MetricFilterMetricTransformationArgs struct {
	// (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
	DefaultValue pulumi.Float64PtrInput `pulumi:"defaultValue"`
	// The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions.
	//   Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as “IPAddress“ or “requestID“ as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
	//  CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.
	//  You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see [Creating a Billing Alarm to Monitor Your Estimated Charges](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html).
	Dimensions MetricFilterDimensionArrayInput `pulumi:"dimensions"`
	// The name of the CloudWatch metric.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see [Namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace).
	MetricNamespace pulumi.StringInput `pulumi:"metricNamespace"`
	// The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like “Error“, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as “$.size“.
	MetricValue pulumi.StringInput `pulumi:"metricValue"`
	// The unit to assign to the metric. If you omit this, the unit is set as “None“.
	Unit MetricFilterMetricTransformationUnitPtrInput `pulumi:"unit"`
}

“MetricTransformation“ is a property of the “AWS::Logs::MetricFilter“ resource that describes how to transform log streams into a CloudWatch metric.

func (MetricFilterMetricTransformationArgs) ElementType

func (MetricFilterMetricTransformationArgs) ToMetricFilterMetricTransformationOutput

func (i MetricFilterMetricTransformationArgs) ToMetricFilterMetricTransformationOutput() MetricFilterMetricTransformationOutput

func (MetricFilterMetricTransformationArgs) ToMetricFilterMetricTransformationOutputWithContext

func (i MetricFilterMetricTransformationArgs) ToMetricFilterMetricTransformationOutputWithContext(ctx context.Context) MetricFilterMetricTransformationOutput

type MetricFilterMetricTransformationArray

type MetricFilterMetricTransformationArray []MetricFilterMetricTransformationInput

func (MetricFilterMetricTransformationArray) ElementType

func (MetricFilterMetricTransformationArray) ToMetricFilterMetricTransformationArrayOutput

func (i MetricFilterMetricTransformationArray) ToMetricFilterMetricTransformationArrayOutput() MetricFilterMetricTransformationArrayOutput

func (MetricFilterMetricTransformationArray) ToMetricFilterMetricTransformationArrayOutputWithContext

func (i MetricFilterMetricTransformationArray) ToMetricFilterMetricTransformationArrayOutputWithContext(ctx context.Context) MetricFilterMetricTransformationArrayOutput

type MetricFilterMetricTransformationArrayInput

type MetricFilterMetricTransformationArrayInput interface {
	pulumi.Input

	ToMetricFilterMetricTransformationArrayOutput() MetricFilterMetricTransformationArrayOutput
	ToMetricFilterMetricTransformationArrayOutputWithContext(context.Context) MetricFilterMetricTransformationArrayOutput
}

MetricFilterMetricTransformationArrayInput is an input type that accepts MetricFilterMetricTransformationArray and MetricFilterMetricTransformationArrayOutput values. You can construct a concrete instance of `MetricFilterMetricTransformationArrayInput` via:

MetricFilterMetricTransformationArray{ MetricFilterMetricTransformationArgs{...} }

type MetricFilterMetricTransformationArrayOutput

type MetricFilterMetricTransformationArrayOutput struct{ *pulumi.OutputState }

func (MetricFilterMetricTransformationArrayOutput) ElementType

func (MetricFilterMetricTransformationArrayOutput) Index

func (MetricFilterMetricTransformationArrayOutput) ToMetricFilterMetricTransformationArrayOutput

func (o MetricFilterMetricTransformationArrayOutput) ToMetricFilterMetricTransformationArrayOutput() MetricFilterMetricTransformationArrayOutput

func (MetricFilterMetricTransformationArrayOutput) ToMetricFilterMetricTransformationArrayOutputWithContext

func (o MetricFilterMetricTransformationArrayOutput) ToMetricFilterMetricTransformationArrayOutputWithContext(ctx context.Context) MetricFilterMetricTransformationArrayOutput

type MetricFilterMetricTransformationInput

type MetricFilterMetricTransformationInput interface {
	pulumi.Input

	ToMetricFilterMetricTransformationOutput() MetricFilterMetricTransformationOutput
	ToMetricFilterMetricTransformationOutputWithContext(context.Context) MetricFilterMetricTransformationOutput
}

MetricFilterMetricTransformationInput is an input type that accepts MetricFilterMetricTransformationArgs and MetricFilterMetricTransformationOutput values. You can construct a concrete instance of `MetricFilterMetricTransformationInput` via:

MetricFilterMetricTransformationArgs{...}

type MetricFilterMetricTransformationOutput

type MetricFilterMetricTransformationOutput struct{ *pulumi.OutputState }

“MetricTransformation“ is a property of the “AWS::Logs::MetricFilter“ resource that describes how to transform log streams into a CloudWatch metric.

func (MetricFilterMetricTransformationOutput) DefaultValue

(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.

func (MetricFilterMetricTransformationOutput) Dimensions added in v0.21.0

The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions.

 Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as ``IPAddress`` or ``requestID`` as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see [Creating a Billing Alarm to Monitor Your Estimated Charges](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html).

func (MetricFilterMetricTransformationOutput) ElementType

func (MetricFilterMetricTransformationOutput) MetricName

The name of the CloudWatch metric.

func (MetricFilterMetricTransformationOutput) MetricNamespace

A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see [Namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace).

func (MetricFilterMetricTransformationOutput) MetricValue

The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like “Error“, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as “$.size“.

func (MetricFilterMetricTransformationOutput) ToMetricFilterMetricTransformationOutput

func (o MetricFilterMetricTransformationOutput) ToMetricFilterMetricTransformationOutput() MetricFilterMetricTransformationOutput

func (MetricFilterMetricTransformationOutput) ToMetricFilterMetricTransformationOutputWithContext

func (o MetricFilterMetricTransformationOutput) ToMetricFilterMetricTransformationOutputWithContext(ctx context.Context) MetricFilterMetricTransformationOutput

func (MetricFilterMetricTransformationOutput) Unit added in v0.21.0

The unit to assign to the metric. If you omit this, the unit is set as “None“.

type MetricFilterMetricTransformationUnit added in v0.21.0

type MetricFilterMetricTransformationUnit string

The unit to assign to the metric. If you omit this, the unit is set as “None“.

func (MetricFilterMetricTransformationUnit) ElementType added in v0.21.0

func (MetricFilterMetricTransformationUnit) ToMetricFilterMetricTransformationUnitOutput added in v0.21.0

func (e MetricFilterMetricTransformationUnit) ToMetricFilterMetricTransformationUnitOutput() MetricFilterMetricTransformationUnitOutput

func (MetricFilterMetricTransformationUnit) ToMetricFilterMetricTransformationUnitOutputWithContext added in v0.21.0

func (e MetricFilterMetricTransformationUnit) ToMetricFilterMetricTransformationUnitOutputWithContext(ctx context.Context) MetricFilterMetricTransformationUnitOutput

func (MetricFilterMetricTransformationUnit) ToMetricFilterMetricTransformationUnitPtrOutput added in v0.21.0

func (e MetricFilterMetricTransformationUnit) ToMetricFilterMetricTransformationUnitPtrOutput() MetricFilterMetricTransformationUnitPtrOutput

func (MetricFilterMetricTransformationUnit) ToMetricFilterMetricTransformationUnitPtrOutputWithContext added in v0.21.0

func (e MetricFilterMetricTransformationUnit) ToMetricFilterMetricTransformationUnitPtrOutputWithContext(ctx context.Context) MetricFilterMetricTransformationUnitPtrOutput

func (MetricFilterMetricTransformationUnit) ToStringOutput added in v0.21.0

func (MetricFilterMetricTransformationUnit) ToStringOutputWithContext added in v0.21.0

func (e MetricFilterMetricTransformationUnit) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MetricFilterMetricTransformationUnit) ToStringPtrOutput added in v0.21.0

func (MetricFilterMetricTransformationUnit) ToStringPtrOutputWithContext added in v0.21.0

func (e MetricFilterMetricTransformationUnit) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type MetricFilterMetricTransformationUnitInput added in v0.21.0

type MetricFilterMetricTransformationUnitInput interface {
	pulumi.Input

	ToMetricFilterMetricTransformationUnitOutput() MetricFilterMetricTransformationUnitOutput
	ToMetricFilterMetricTransformationUnitOutputWithContext(context.Context) MetricFilterMetricTransformationUnitOutput
}

MetricFilterMetricTransformationUnitInput is an input type that accepts values of the MetricFilterMetricTransformationUnit enum A concrete instance of `MetricFilterMetricTransformationUnitInput` can be one of the following:

MetricFilterMetricTransformationUnitSeconds
MetricFilterMetricTransformationUnitMicroseconds
MetricFilterMetricTransformationUnitMilliseconds
MetricFilterMetricTransformationUnitBytes
MetricFilterMetricTransformationUnitKilobytes
MetricFilterMetricTransformationUnitMegabytes
MetricFilterMetricTransformationUnitGigabytes
MetricFilterMetricTransformationUnitTerabytes
MetricFilterMetricTransformationUnitBits
MetricFilterMetricTransformationUnitKilobits
MetricFilterMetricTransformationUnitMegabits
MetricFilterMetricTransformationUnitGigabits
MetricFilterMetricTransformationUnitTerabits
MetricFilterMetricTransformationUnitPercent
MetricFilterMetricTransformationUnitCount
MetricFilterMetricTransformationUnitBytesSecond
MetricFilterMetricTransformationUnitKilobytesSecond
MetricFilterMetricTransformationUnitMegabytesSecond
MetricFilterMetricTransformationUnitGigabytesSecond
MetricFilterMetricTransformationUnitTerabytesSecond
MetricFilterMetricTransformationUnitBitsSecond
MetricFilterMetricTransformationUnitKilobitsSecond
MetricFilterMetricTransformationUnitMegabitsSecond
MetricFilterMetricTransformationUnitGigabitsSecond
MetricFilterMetricTransformationUnitTerabitsSecond
MetricFilterMetricTransformationUnitCountSecond
MetricFilterMetricTransformationUnitNone

type MetricFilterMetricTransformationUnitOutput added in v0.21.0

type MetricFilterMetricTransformationUnitOutput struct{ *pulumi.OutputState }

func (MetricFilterMetricTransformationUnitOutput) ElementType added in v0.21.0

func (MetricFilterMetricTransformationUnitOutput) ToMetricFilterMetricTransformationUnitOutput added in v0.21.0

func (o MetricFilterMetricTransformationUnitOutput) ToMetricFilterMetricTransformationUnitOutput() MetricFilterMetricTransformationUnitOutput

func (MetricFilterMetricTransformationUnitOutput) ToMetricFilterMetricTransformationUnitOutputWithContext added in v0.21.0

func (o MetricFilterMetricTransformationUnitOutput) ToMetricFilterMetricTransformationUnitOutputWithContext(ctx context.Context) MetricFilterMetricTransformationUnitOutput

func (MetricFilterMetricTransformationUnitOutput) ToMetricFilterMetricTransformationUnitPtrOutput added in v0.21.0

func (o MetricFilterMetricTransformationUnitOutput) ToMetricFilterMetricTransformationUnitPtrOutput() MetricFilterMetricTransformationUnitPtrOutput

func (MetricFilterMetricTransformationUnitOutput) ToMetricFilterMetricTransformationUnitPtrOutputWithContext added in v0.21.0

func (o MetricFilterMetricTransformationUnitOutput) ToMetricFilterMetricTransformationUnitPtrOutputWithContext(ctx context.Context) MetricFilterMetricTransformationUnitPtrOutput

func (MetricFilterMetricTransformationUnitOutput) ToStringOutput added in v0.21.0

func (MetricFilterMetricTransformationUnitOutput) ToStringOutputWithContext added in v0.21.0

func (MetricFilterMetricTransformationUnitOutput) ToStringPtrOutput added in v0.21.0

func (MetricFilterMetricTransformationUnitOutput) ToStringPtrOutputWithContext added in v0.21.0

type MetricFilterMetricTransformationUnitPtrInput added in v0.21.0

type MetricFilterMetricTransformationUnitPtrInput interface {
	pulumi.Input

	ToMetricFilterMetricTransformationUnitPtrOutput() MetricFilterMetricTransformationUnitPtrOutput
	ToMetricFilterMetricTransformationUnitPtrOutputWithContext(context.Context) MetricFilterMetricTransformationUnitPtrOutput
}

func MetricFilterMetricTransformationUnitPtr added in v0.21.0

func MetricFilterMetricTransformationUnitPtr(v string) MetricFilterMetricTransformationUnitPtrInput

type MetricFilterMetricTransformationUnitPtrOutput added in v0.21.0

type MetricFilterMetricTransformationUnitPtrOutput struct{ *pulumi.OutputState }

func (MetricFilterMetricTransformationUnitPtrOutput) Elem added in v0.21.0

func (MetricFilterMetricTransformationUnitPtrOutput) ElementType added in v0.21.0

func (MetricFilterMetricTransformationUnitPtrOutput) ToMetricFilterMetricTransformationUnitPtrOutput added in v0.21.0

func (o MetricFilterMetricTransformationUnitPtrOutput) ToMetricFilterMetricTransformationUnitPtrOutput() MetricFilterMetricTransformationUnitPtrOutput

func (MetricFilterMetricTransformationUnitPtrOutput) ToMetricFilterMetricTransformationUnitPtrOutputWithContext added in v0.21.0

func (o MetricFilterMetricTransformationUnitPtrOutput) ToMetricFilterMetricTransformationUnitPtrOutputWithContext(ctx context.Context) MetricFilterMetricTransformationUnitPtrOutput

func (MetricFilterMetricTransformationUnitPtrOutput) ToStringPtrOutput added in v0.21.0

func (MetricFilterMetricTransformationUnitPtrOutput) ToStringPtrOutputWithContext added in v0.21.0

type MetricFilterOutput

type MetricFilterOutput struct{ *pulumi.OutputState }

func (MetricFilterOutput) ElementType

func (MetricFilterOutput) ElementType() reflect.Type

func (MetricFilterOutput) FilterName added in v0.21.0

func (o MetricFilterOutput) FilterName() pulumi.StringPtrOutput

The name of the metric filter.

func (MetricFilterOutput) FilterPattern added in v0.17.0

func (o MetricFilterOutput) FilterPattern() pulumi.StringOutput

A filter pattern for extracting metric data out of ingested log events. For more information, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).

func (MetricFilterOutput) LogGroupName added in v0.17.0

func (o MetricFilterOutput) LogGroupName() pulumi.StringOutput

The name of an existing log group that you want to associate with this metric filter.

func (MetricFilterOutput) MetricTransformations added in v0.17.0

The metric transformations.

func (MetricFilterOutput) ToMetricFilterOutput

func (o MetricFilterOutput) ToMetricFilterOutput() MetricFilterOutput

func (MetricFilterOutput) ToMetricFilterOutputWithContext

func (o MetricFilterOutput) ToMetricFilterOutputWithContext(ctx context.Context) MetricFilterOutput

type MetricFilterState

type MetricFilterState struct {
}

func (MetricFilterState) ElementType

func (MetricFilterState) ElementType() reflect.Type

type QueryDefinition

type QueryDefinition struct {
	pulumi.CustomResourceState

	// Optionally define specific log groups as part of your query definition
	LogGroupNames pulumi.StringArrayOutput `pulumi:"logGroupNames"`
	// A name for the saved query definition
	Name pulumi.StringOutput `pulumi:"name"`
	// Unique identifier of a query definition
	QueryDefinitionId pulumi.StringOutput `pulumi:"queryDefinitionId"`
	// The query string to use for this definition
	QueryString pulumi.StringOutput `pulumi:"queryString"`
}

The resource schema for AWSLogs QueryDefinition

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 {
	// Optionally define specific log groups as part of your query definition
	LogGroupNames pulumi.StringArrayInput
	// A name for the saved query definition
	Name pulumi.StringPtrInput
	// The query string to use for this definition
	QueryString pulumi.StringInput
}

The set of arguments for constructing a QueryDefinition resource.

func (QueryDefinitionArgs) ElementType

func (QueryDefinitionArgs) ElementType() reflect.Type

type QueryDefinitionInput

type QueryDefinitionInput interface {
	pulumi.Input

	ToQueryDefinitionOutput() QueryDefinitionOutput
	ToQueryDefinitionOutputWithContext(ctx context.Context) QueryDefinitionOutput
}

type QueryDefinitionOutput

type QueryDefinitionOutput struct{ *pulumi.OutputState }

func (QueryDefinitionOutput) ElementType

func (QueryDefinitionOutput) ElementType() reflect.Type

func (QueryDefinitionOutput) LogGroupNames added in v0.17.0

Optionally define specific log groups as part of your query definition

func (QueryDefinitionOutput) Name added in v0.17.0

A name for the saved query definition

func (QueryDefinitionOutput) QueryDefinitionId added in v0.17.0

func (o QueryDefinitionOutput) QueryDefinitionId() pulumi.StringOutput

Unique identifier of a query definition

func (QueryDefinitionOutput) QueryString added in v0.17.0

func (o QueryDefinitionOutput) QueryString() pulumi.StringOutput

The query string to use for this definition

func (QueryDefinitionOutput) ToQueryDefinitionOutput

func (o QueryDefinitionOutput) ToQueryDefinitionOutput() QueryDefinitionOutput

func (QueryDefinitionOutput) ToQueryDefinitionOutputWithContext

func (o QueryDefinitionOutput) ToQueryDefinitionOutputWithContext(ctx context.Context) QueryDefinitionOutput

type QueryDefinitionState

type QueryDefinitionState struct {
}

func (QueryDefinitionState) ElementType

func (QueryDefinitionState) ElementType() reflect.Type

type ResourcePolicy

type ResourcePolicy struct {
	pulumi.CustomResourceState

	// The policy document
	PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"`
	// A name for resource policy
	PolicyName pulumi.StringOutput `pulumi:"policyName"`
}

The resource schema for AWSLogs ResourcePolicy

func GetResourcePolicy

func GetResourcePolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourcePolicyState, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

GetResourcePolicy gets an existing ResourcePolicy 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 NewResourcePolicy

func NewResourcePolicy(ctx *pulumi.Context,
	name string, args *ResourcePolicyArgs, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

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

func (*ResourcePolicy) ElementType

func (*ResourcePolicy) ElementType() reflect.Type

func (*ResourcePolicy) ToResourcePolicyOutput

func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput

func (*ResourcePolicy) ToResourcePolicyOutputWithContext

func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyArgs

type ResourcePolicyArgs struct {
	// The policy document
	PolicyDocument pulumi.StringInput
	// A name for resource policy
	PolicyName pulumi.StringPtrInput
}

The set of arguments for constructing a ResourcePolicy resource.

func (ResourcePolicyArgs) ElementType

func (ResourcePolicyArgs) ElementType() reflect.Type

type ResourcePolicyInput

type ResourcePolicyInput interface {
	pulumi.Input

	ToResourcePolicyOutput() ResourcePolicyOutput
	ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
}

type ResourcePolicyOutput

type ResourcePolicyOutput struct{ *pulumi.OutputState }

func (ResourcePolicyOutput) ElementType

func (ResourcePolicyOutput) ElementType() reflect.Type

func (ResourcePolicyOutput) PolicyDocument added in v0.17.0

func (o ResourcePolicyOutput) PolicyDocument() pulumi.StringOutput

The policy document

func (ResourcePolicyOutput) PolicyName added in v0.17.0

func (o ResourcePolicyOutput) PolicyName() pulumi.StringOutput

A name for resource policy

func (ResourcePolicyOutput) ToResourcePolicyOutput

func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput

func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext

func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyState

type ResourcePolicyState struct {
}

func (ResourcePolicyState) ElementType

func (ResourcePolicyState) ElementType() reflect.Type

type SubscriptionFilter

type SubscriptionFilter struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the destination.
	DestinationArn pulumi.StringOutput `pulumi:"destinationArn"`
	// The method used to distribute log data to the destination, which can be either random or grouped by log stream.
	Distribution SubscriptionFilterDistributionPtrOutput `pulumi:"distribution"`
	// The name of the subscription filter.
	FilterName pulumi.StringPtrOutput `pulumi:"filterName"`
	// The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringOutput `pulumi:"filterPattern"`
	// The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
	LogGroupName pulumi.StringOutput `pulumi:"logGroupName"`
	// The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
	RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"`
}

The “AWS::Logs::SubscriptionFilter“ resource specifies a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events and have them delivered to a specific destination. Currently, the supported destinations are:

  • An Amazon Kinesis data stream belonging to the same account as the subscription filter, for same-account delivery.

  • A logical destination that belongs to a different account, for cross-account delivery.

  • An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for same-account delivery.

  • An LAMlong function that belongs to the same account as the subscription filter, for same-account delivery.

    There can be as many as two subscription filters associated with a log group.

func GetSubscriptionFilter

func GetSubscriptionFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubscriptionFilterState, opts ...pulumi.ResourceOption) (*SubscriptionFilter, error)

GetSubscriptionFilter gets an existing SubscriptionFilter 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 NewSubscriptionFilter

func NewSubscriptionFilter(ctx *pulumi.Context,
	name string, args *SubscriptionFilterArgs, opts ...pulumi.ResourceOption) (*SubscriptionFilter, error)

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

func (*SubscriptionFilter) ElementType

func (*SubscriptionFilter) ElementType() reflect.Type

func (*SubscriptionFilter) ToSubscriptionFilterOutput

func (i *SubscriptionFilter) ToSubscriptionFilterOutput() SubscriptionFilterOutput

func (*SubscriptionFilter) ToSubscriptionFilterOutputWithContext

func (i *SubscriptionFilter) ToSubscriptionFilterOutputWithContext(ctx context.Context) SubscriptionFilterOutput

type SubscriptionFilterArgs

type SubscriptionFilterArgs struct {
	// The Amazon Resource Name (ARN) of the destination.
	DestinationArn pulumi.StringInput
	// The method used to distribute log data to the destination, which can be either random or grouped by log stream.
	Distribution SubscriptionFilterDistributionPtrInput
	// The name of the subscription filter.
	FilterName pulumi.StringPtrInput
	// The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
	FilterPattern pulumi.StringInput
	// The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
	LogGroupName pulumi.StringInput
	// The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
	RoleArn pulumi.StringPtrInput
}

The set of arguments for constructing a SubscriptionFilter resource.

func (SubscriptionFilterArgs) ElementType

func (SubscriptionFilterArgs) ElementType() reflect.Type

type SubscriptionFilterDistribution added in v0.46.0

type SubscriptionFilterDistribution string

The method used to distribute log data to the destination, which can be either random or grouped by log stream.

func (SubscriptionFilterDistribution) ElementType added in v0.46.0

func (SubscriptionFilterDistribution) ToStringOutput added in v0.46.0

func (SubscriptionFilterDistribution) ToStringOutputWithContext added in v0.46.0

func (e SubscriptionFilterDistribution) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SubscriptionFilterDistribution) ToStringPtrOutput added in v0.46.0

func (SubscriptionFilterDistribution) ToStringPtrOutputWithContext added in v0.46.0

func (e SubscriptionFilterDistribution) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (SubscriptionFilterDistribution) ToSubscriptionFilterDistributionOutput added in v0.46.0

func (e SubscriptionFilterDistribution) ToSubscriptionFilterDistributionOutput() SubscriptionFilterDistributionOutput

func (SubscriptionFilterDistribution) ToSubscriptionFilterDistributionOutputWithContext added in v0.46.0

func (e SubscriptionFilterDistribution) ToSubscriptionFilterDistributionOutputWithContext(ctx context.Context) SubscriptionFilterDistributionOutput

func (SubscriptionFilterDistribution) ToSubscriptionFilterDistributionPtrOutput added in v0.46.0

func (e SubscriptionFilterDistribution) ToSubscriptionFilterDistributionPtrOutput() SubscriptionFilterDistributionPtrOutput

func (SubscriptionFilterDistribution) ToSubscriptionFilterDistributionPtrOutputWithContext added in v0.46.0

func (e SubscriptionFilterDistribution) ToSubscriptionFilterDistributionPtrOutputWithContext(ctx context.Context) SubscriptionFilterDistributionPtrOutput

type SubscriptionFilterDistributionInput added in v0.46.0

type SubscriptionFilterDistributionInput interface {
	pulumi.Input

	ToSubscriptionFilterDistributionOutput() SubscriptionFilterDistributionOutput
	ToSubscriptionFilterDistributionOutputWithContext(context.Context) SubscriptionFilterDistributionOutput
}

SubscriptionFilterDistributionInput is an input type that accepts values of the SubscriptionFilterDistribution enum A concrete instance of `SubscriptionFilterDistributionInput` can be one of the following:

SubscriptionFilterDistributionRandom
SubscriptionFilterDistributionByLogStream

type SubscriptionFilterDistributionOutput added in v0.46.0

type SubscriptionFilterDistributionOutput struct{ *pulumi.OutputState }

func (SubscriptionFilterDistributionOutput) ElementType added in v0.46.0

func (SubscriptionFilterDistributionOutput) ToStringOutput added in v0.46.0

func (SubscriptionFilterDistributionOutput) ToStringOutputWithContext added in v0.46.0

func (o SubscriptionFilterDistributionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SubscriptionFilterDistributionOutput) ToStringPtrOutput added in v0.46.0

func (SubscriptionFilterDistributionOutput) ToStringPtrOutputWithContext added in v0.46.0

func (o SubscriptionFilterDistributionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (SubscriptionFilterDistributionOutput) ToSubscriptionFilterDistributionOutput added in v0.46.0

func (o SubscriptionFilterDistributionOutput) ToSubscriptionFilterDistributionOutput() SubscriptionFilterDistributionOutput

func (SubscriptionFilterDistributionOutput) ToSubscriptionFilterDistributionOutputWithContext added in v0.46.0

func (o SubscriptionFilterDistributionOutput) ToSubscriptionFilterDistributionOutputWithContext(ctx context.Context) SubscriptionFilterDistributionOutput

func (SubscriptionFilterDistributionOutput) ToSubscriptionFilterDistributionPtrOutput added in v0.46.0

func (o SubscriptionFilterDistributionOutput) ToSubscriptionFilterDistributionPtrOutput() SubscriptionFilterDistributionPtrOutput

func (SubscriptionFilterDistributionOutput) ToSubscriptionFilterDistributionPtrOutputWithContext added in v0.46.0

func (o SubscriptionFilterDistributionOutput) ToSubscriptionFilterDistributionPtrOutputWithContext(ctx context.Context) SubscriptionFilterDistributionPtrOutput

type SubscriptionFilterDistributionPtrInput added in v0.46.0

type SubscriptionFilterDistributionPtrInput interface {
	pulumi.Input

	ToSubscriptionFilterDistributionPtrOutput() SubscriptionFilterDistributionPtrOutput
	ToSubscriptionFilterDistributionPtrOutputWithContext(context.Context) SubscriptionFilterDistributionPtrOutput
}

func SubscriptionFilterDistributionPtr added in v0.46.0

func SubscriptionFilterDistributionPtr(v string) SubscriptionFilterDistributionPtrInput

type SubscriptionFilterDistributionPtrOutput added in v0.46.0

type SubscriptionFilterDistributionPtrOutput struct{ *pulumi.OutputState }

func (SubscriptionFilterDistributionPtrOutput) Elem added in v0.46.0

func (SubscriptionFilterDistributionPtrOutput) ElementType added in v0.46.0

func (SubscriptionFilterDistributionPtrOutput) ToStringPtrOutput added in v0.46.0

func (SubscriptionFilterDistributionPtrOutput) ToStringPtrOutputWithContext added in v0.46.0

func (SubscriptionFilterDistributionPtrOutput) ToSubscriptionFilterDistributionPtrOutput added in v0.46.0

func (o SubscriptionFilterDistributionPtrOutput) ToSubscriptionFilterDistributionPtrOutput() SubscriptionFilterDistributionPtrOutput

func (SubscriptionFilterDistributionPtrOutput) ToSubscriptionFilterDistributionPtrOutputWithContext added in v0.46.0

func (o SubscriptionFilterDistributionPtrOutput) ToSubscriptionFilterDistributionPtrOutputWithContext(ctx context.Context) SubscriptionFilterDistributionPtrOutput

type SubscriptionFilterInput

type SubscriptionFilterInput interface {
	pulumi.Input

	ToSubscriptionFilterOutput() SubscriptionFilterOutput
	ToSubscriptionFilterOutputWithContext(ctx context.Context) SubscriptionFilterOutput
}

type SubscriptionFilterOutput

type SubscriptionFilterOutput struct{ *pulumi.OutputState }

func (SubscriptionFilterOutput) DestinationArn added in v0.17.0

func (o SubscriptionFilterOutput) DestinationArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the destination.

func (SubscriptionFilterOutput) Distribution added in v0.46.0

The method used to distribute log data to the destination, which can be either random or grouped by log stream.

func (SubscriptionFilterOutput) ElementType

func (SubscriptionFilterOutput) ElementType() reflect.Type

func (SubscriptionFilterOutput) FilterName added in v0.21.0

The name of the subscription filter.

func (SubscriptionFilterOutput) FilterPattern added in v0.17.0

func (o SubscriptionFilterOutput) FilterPattern() pulumi.StringOutput

The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see [Filter and Pattern Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).

func (SubscriptionFilterOutput) LogGroupName added in v0.17.0

func (o SubscriptionFilterOutput) LogGroupName() pulumi.StringOutput

The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.

func (SubscriptionFilterOutput) RoleArn added in v0.17.0

The ARN of an IAM role that grants CWL permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.

func (SubscriptionFilterOutput) ToSubscriptionFilterOutput

func (o SubscriptionFilterOutput) ToSubscriptionFilterOutput() SubscriptionFilterOutput

func (SubscriptionFilterOutput) ToSubscriptionFilterOutputWithContext

func (o SubscriptionFilterOutput) ToSubscriptionFilterOutputWithContext(ctx context.Context) SubscriptionFilterOutput

type SubscriptionFilterState

type SubscriptionFilterState struct {
}

func (SubscriptionFilterState) ElementType

func (SubscriptionFilterState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL