Documentation
¶
Index ¶
- type Dashboard
- type DashboardArgs
- type DashboardState
- type EventPermission
- func (r *EventPermission) Action() *pulumi.StringOutput
- func (r *EventPermission) Condition() *pulumi.Output
- func (r *EventPermission) ID() *pulumi.IDOutput
- func (r *EventPermission) Principal() *pulumi.StringOutput
- func (r *EventPermission) StatementId() *pulumi.StringOutput
- func (r *EventPermission) URN() *pulumi.URNOutput
- type EventPermissionArgs
- type EventPermissionState
- type EventRule
- func (r *EventRule) Arn() *pulumi.StringOutput
- func (r *EventRule) Description() *pulumi.StringOutput
- func (r *EventRule) EventPattern() *pulumi.StringOutput
- func (r *EventRule) ID() *pulumi.IDOutput
- func (r *EventRule) IsEnabled() *pulumi.BoolOutput
- func (r *EventRule) Name() *pulumi.StringOutput
- func (r *EventRule) NamePrefix() *pulumi.StringOutput
- func (r *EventRule) RoleArn() *pulumi.StringOutput
- func (r *EventRule) ScheduleExpression() *pulumi.StringOutput
- func (r *EventRule) URN() *pulumi.URNOutput
- type EventRuleArgs
- type EventRuleState
- type EventTarget
- func (r *EventTarget) Arn() *pulumi.StringOutput
- func (r *EventTarget) BatchTarget() *pulumi.Output
- func (r *EventTarget) EcsTarget() *pulumi.Output
- func (r *EventTarget) ID() *pulumi.IDOutput
- func (r *EventTarget) Input() *pulumi.StringOutput
- func (r *EventTarget) InputPath() *pulumi.StringOutput
- func (r *EventTarget) InputTransformer() *pulumi.Output
- func (r *EventTarget) KinesisTarget() *pulumi.Output
- func (r *EventTarget) RoleArn() *pulumi.StringOutput
- func (r *EventTarget) Rule() *pulumi.StringOutput
- func (r *EventTarget) RunCommandTargets() *pulumi.ArrayOutput
- func (r *EventTarget) SqsTarget() *pulumi.Output
- func (r *EventTarget) TargetId() *pulumi.StringOutput
- func (r *EventTarget) URN() *pulumi.URNOutput
- type EventTargetArgs
- type EventTargetState
- type GetLogGroupArgs
- type GetLogGroupResult
- type LogDestination
- func (r *LogDestination) Arn() *pulumi.StringOutput
- func (r *LogDestination) ID() *pulumi.IDOutput
- func (r *LogDestination) Name() *pulumi.StringOutput
- func (r *LogDestination) RoleArn() *pulumi.StringOutput
- func (r *LogDestination) TargetArn() *pulumi.StringOutput
- func (r *LogDestination) URN() *pulumi.URNOutput
- type LogDestinationArgs
- type LogDestinationPolicy
- type LogDestinationPolicyArgs
- type LogDestinationPolicyState
- type LogDestinationState
- type LogGroup
- func (r *LogGroup) Arn() *pulumi.StringOutput
- func (r *LogGroup) ID() *pulumi.IDOutput
- func (r *LogGroup) KmsKeyId() *pulumi.StringOutput
- func (r *LogGroup) Name() *pulumi.StringOutput
- func (r *LogGroup) NamePrefix() *pulumi.StringOutput
- func (r *LogGroup) RetentionInDays() *pulumi.IntOutput
- func (r *LogGroup) Tags() *pulumi.MapOutput
- func (r *LogGroup) URN() *pulumi.URNOutput
- type LogGroupArgs
- type LogGroupState
- type LogMetricFilter
- func (r *LogMetricFilter) ID() *pulumi.IDOutput
- func (r *LogMetricFilter) LogGroupName() *pulumi.StringOutput
- func (r *LogMetricFilter) MetricTransformation() *pulumi.Output
- func (r *LogMetricFilter) Name() *pulumi.StringOutput
- func (r *LogMetricFilter) Pattern() *pulumi.StringOutput
- func (r *LogMetricFilter) URN() *pulumi.URNOutput
- type LogMetricFilterArgs
- type LogMetricFilterState
- type LogResourcePolicy
- type LogResourcePolicyArgs
- type LogResourcePolicyState
- type LogStream
- type LogStreamArgs
- type LogStreamState
- type LogSubscriptionFilter
- func (r *LogSubscriptionFilter) DestinationArn() *pulumi.StringOutput
- func (r *LogSubscriptionFilter) Distribution() *pulumi.StringOutput
- func (r *LogSubscriptionFilter) FilterPattern() *pulumi.StringOutput
- func (r *LogSubscriptionFilter) ID() *pulumi.IDOutput
- func (r *LogSubscriptionFilter) LogGroup() *pulumi.StringOutput
- func (r *LogSubscriptionFilter) Name() *pulumi.StringOutput
- func (r *LogSubscriptionFilter) RoleArn() *pulumi.StringOutput
- func (r *LogSubscriptionFilter) URN() *pulumi.URNOutput
- type LogSubscriptionFilterArgs
- type LogSubscriptionFilterState
- type MetricAlarm
- func (r *MetricAlarm) ActionsEnabled() *pulumi.BoolOutput
- func (r *MetricAlarm) AlarmActions() *pulumi.ArrayOutput
- func (r *MetricAlarm) AlarmDescription() *pulumi.StringOutput
- func (r *MetricAlarm) Arn() *pulumi.StringOutput
- func (r *MetricAlarm) ComparisonOperator() *pulumi.StringOutput
- func (r *MetricAlarm) DatapointsToAlarm() *pulumi.IntOutput
- func (r *MetricAlarm) Dimensions() *pulumi.MapOutput
- func (r *MetricAlarm) EvaluateLowSampleCountPercentiles() *pulumi.StringOutput
- func (r *MetricAlarm) EvaluationPeriods() *pulumi.IntOutput
- func (r *MetricAlarm) ExtendedStatistic() *pulumi.StringOutput
- func (r *MetricAlarm) ID() *pulumi.IDOutput
- func (r *MetricAlarm) InsufficientDataActions() *pulumi.ArrayOutput
- func (r *MetricAlarm) MetricName() *pulumi.StringOutput
- func (r *MetricAlarm) MetricQueries() *pulumi.ArrayOutput
- func (r *MetricAlarm) Name() *pulumi.StringOutput
- func (r *MetricAlarm) Namespace() *pulumi.StringOutput
- func (r *MetricAlarm) OkActions() *pulumi.ArrayOutput
- func (r *MetricAlarm) Period() *pulumi.IntOutput
- func (r *MetricAlarm) Statistic() *pulumi.StringOutput
- func (r *MetricAlarm) Threshold() *pulumi.Float64Output
- func (r *MetricAlarm) TreatMissingData() *pulumi.StringOutput
- func (r *MetricAlarm) URN() *pulumi.URNOutput
- func (r *MetricAlarm) Unit() *pulumi.StringOutput
- type MetricAlarmArgs
- type MetricAlarmState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dashboard ¶
type Dashboard struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Dashboard resource.
func GetDashboard ¶
func GetDashboard(ctx *pulumi.Context, name string, id pulumi.ID, state *DashboardState, opts ...pulumi.ResourceOpt) (*Dashboard, error)
GetDashboard gets an existing Dashboard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDashboard ¶
func NewDashboard(ctx *pulumi.Context, name string, args *DashboardArgs, opts ...pulumi.ResourceOpt) (*Dashboard, error)
NewDashboard registers a new resource with the given unique name, arguments, and options.
func (*Dashboard) DashboardArn ¶
func (r *Dashboard) DashboardArn() *pulumi.StringOutput
The Amazon Resource Name (ARN) of the dashboard.
func (*Dashboard) DashboardBody ¶
func (r *Dashboard) DashboardBody() *pulumi.StringOutput
The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html).
func (*Dashboard) DashboardName ¶
func (r *Dashboard) DashboardName() *pulumi.StringOutput
The name of the dashboard.
type DashboardArgs ¶
type DashboardArgs struct { // The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html). DashboardBody interface{} // The name of the dashboard. DashboardName interface{} }
The set of arguments for constructing a Dashboard resource.
type DashboardState ¶
type DashboardState struct { // The Amazon Resource Name (ARN) of the dashboard. DashboardArn interface{} // The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html). DashboardBody interface{} // The name of the dashboard. DashboardName interface{} }
Input properties used for looking up and filtering Dashboard resources.
type EventPermission ¶
type EventPermission struct {
// contains filtered or unexported fields
}
Provides a resource to create a CloudWatch Events permission to support cross-account events in the current account default event bus.
func GetEventPermission ¶
func GetEventPermission(ctx *pulumi.Context, name string, id pulumi.ID, state *EventPermissionState, opts ...pulumi.ResourceOpt) (*EventPermission, error)
GetEventPermission gets an existing EventPermission resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEventPermission ¶
func NewEventPermission(ctx *pulumi.Context, name string, args *EventPermissionArgs, opts ...pulumi.ResourceOpt) (*EventPermission, error)
NewEventPermission registers a new resource with the given unique name, arguments, and options.
func (*EventPermission) Action ¶
func (r *EventPermission) Action() *pulumi.StringOutput
The action that you are enabling the other account to perform. Defaults to `events:PutEvents`.
func (*EventPermission) Condition ¶ added in v0.16.2
func (r *EventPermission) Condition() *pulumi.Output
Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.
func (*EventPermission) ID ¶
func (r *EventPermission) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*EventPermission) Principal ¶
func (r *EventPermission) Principal() *pulumi.StringOutput
The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`.
func (*EventPermission) StatementId ¶
func (r *EventPermission) StatementId() *pulumi.StringOutput
An identifier string for the external account that you are granting permissions to.
func (*EventPermission) URN ¶
func (r *EventPermission) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type EventPermissionArgs ¶
type EventPermissionArgs struct { // The action that you are enabling the other account to perform. Defaults to `events:PutEvents`. Action interface{} // Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below. Condition interface{} // The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`. Principal interface{} // An identifier string for the external account that you are granting permissions to. StatementId interface{} }
The set of arguments for constructing a EventPermission resource.
type EventPermissionState ¶
type EventPermissionState struct { // The action that you are enabling the other account to perform. Defaults to `events:PutEvents`. Action interface{} // Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below. Condition interface{} // The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`. Principal interface{} // An identifier string for the external account that you are granting permissions to. StatementId interface{} }
Input properties used for looking up and filtering EventPermission resources.
type EventRule ¶
type EventRule struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Event Rule resource.
func GetEventRule ¶
func GetEventRule(ctx *pulumi.Context, name string, id pulumi.ID, state *EventRuleState, opts ...pulumi.ResourceOpt) (*EventRule, error)
GetEventRule gets an existing EventRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEventRule ¶
func NewEventRule(ctx *pulumi.Context, name string, args *EventRuleArgs, opts ...pulumi.ResourceOpt) (*EventRule, error)
NewEventRule registers a new resource with the given unique name, arguments, and options.
func (*EventRule) Arn ¶
func (r *EventRule) Arn() *pulumi.StringOutput
The Amazon Resource Name (ARN) of the rule.
func (*EventRule) Description ¶
func (r *EventRule) Description() *pulumi.StringOutput
The description of the rule.
func (*EventRule) EventPattern ¶
func (r *EventRule) EventPattern() *pulumi.StringOutput
Event pattern described a JSON object. See full documentation of [CloudWatch Events and Event Patterns](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CloudWatchEventsandEventPatterns.html) for details.
func (*EventRule) IsEnabled ¶
func (r *EventRule) IsEnabled() *pulumi.BoolOutput
Whether the rule should be enabled (defaults to `true`).
func (*EventRule) Name ¶
func (r *EventRule) Name() *pulumi.StringOutput
The rule's name. By default generated by Terraform.
func (*EventRule) NamePrefix ¶
func (r *EventRule) NamePrefix() *pulumi.StringOutput
The rule's name. Conflicts with `name`.
func (*EventRule) RoleArn ¶
func (r *EventRule) RoleArn() *pulumi.StringOutput
The Amazon Resource Name (ARN) associated with the role that is used for target invocation.
func (*EventRule) ScheduleExpression ¶
func (r *EventRule) ScheduleExpression() *pulumi.StringOutput
The scheduling expression. For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`.
type EventRuleArgs ¶
type EventRuleArgs struct { // The description of the rule. Description interface{} // Event pattern // described a JSON object. // See full documentation of [CloudWatch Events and Event Patterns](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CloudWatchEventsandEventPatterns.html) for details. EventPattern interface{} // Whether the rule should be enabled (defaults to `true`). IsEnabled interface{} // The rule's name. By default generated by Terraform. Name interface{} // The rule's name. Conflicts with `name`. NamePrefix interface{} // The Amazon Resource Name (ARN) associated with the role that is used for target invocation. RoleArn interface{} // The scheduling expression. // For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`. ScheduleExpression interface{} }
The set of arguments for constructing a EventRule resource.
type EventRuleState ¶
type EventRuleState struct { // The Amazon Resource Name (ARN) of the rule. Arn interface{} // The description of the rule. Description interface{} // Event pattern // described a JSON object. // See full documentation of [CloudWatch Events and Event Patterns](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CloudWatchEventsandEventPatterns.html) for details. EventPattern interface{} // Whether the rule should be enabled (defaults to `true`). IsEnabled interface{} // The rule's name. By default generated by Terraform. Name interface{} // The rule's name. Conflicts with `name`. NamePrefix interface{} // The Amazon Resource Name (ARN) associated with the role that is used for target invocation. RoleArn interface{} // The scheduling expression. // For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`. ScheduleExpression interface{} }
Input properties used for looking up and filtering EventRule resources.
type EventTarget ¶
type EventTarget struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Event Target resource.
func GetEventTarget ¶
func GetEventTarget(ctx *pulumi.Context, name string, id pulumi.ID, state *EventTargetState, opts ...pulumi.ResourceOpt) (*EventTarget, error)
GetEventTarget gets an existing EventTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEventTarget ¶
func NewEventTarget(ctx *pulumi.Context, name string, args *EventTargetArgs, opts ...pulumi.ResourceOpt) (*EventTarget, error)
NewEventTarget registers a new resource with the given unique name, arguments, and options.
func (*EventTarget) Arn ¶
func (r *EventTarget) Arn() *pulumi.StringOutput
The Amazon Resource Name (ARN) associated of the target.
func (*EventTarget) BatchTarget ¶
func (r *EventTarget) BatchTarget() *pulumi.Output
Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed.
func (*EventTarget) EcsTarget ¶
func (r *EventTarget) EcsTarget() *pulumi.Output
Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.
func (*EventTarget) ID ¶
func (r *EventTarget) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*EventTarget) Input ¶
func (r *EventTarget) Input() *pulumi.StringOutput
Valid JSON text passed to the target.
func (*EventTarget) InputPath ¶
func (r *EventTarget) InputPath() *pulumi.StringOutput
The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extracting part of the matched event when passing it to the target.
func (*EventTarget) InputTransformer ¶
func (r *EventTarget) InputTransformer() *pulumi.Output
Parameters used when you are providing a custom input to a target based on certain event data.
func (*EventTarget) KinesisTarget ¶
func (r *EventTarget) KinesisTarget() *pulumi.Output
Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed.
func (*EventTarget) RoleArn ¶
func (r *EventTarget) RoleArn() *pulumi.StringOutput
The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecs_target` is used.
func (*EventTarget) Rule ¶
func (r *EventTarget) Rule() *pulumi.StringOutput
The name of the rule you want to add targets to.
func (*EventTarget) RunCommandTargets ¶
func (r *EventTarget) RunCommandTargets() *pulumi.ArrayOutput
Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed.
func (*EventTarget) SqsTarget ¶
func (r *EventTarget) SqsTarget() *pulumi.Output
Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed.
func (*EventTarget) TargetId ¶
func (r *EventTarget) TargetId() *pulumi.StringOutput
The unique target assignment ID. If missing, will generate a random, unique id.
func (*EventTarget) URN ¶
func (r *EventTarget) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type EventTargetArgs ¶
type EventTargetArgs struct { // The Amazon Resource Name (ARN) associated of the target. Arn interface{} // Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed. BatchTarget interface{} // Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed. EcsTarget interface{} // Valid JSON text passed to the target. Input interface{} // The value of the [JSONPath](http://goessner.net/articles/JsonPath/) // that is used for extracting part of the matched event when passing it to the target. InputPath interface{} // Parameters used when you are providing a custom input to a target based on certain event data. InputTransformer interface{} // Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed. KinesisTarget interface{} // The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecs_target` is used. RoleArn interface{} // The name of the rule you want to add targets to. Rule interface{} // Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed. RunCommandTargets interface{} // Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed. SqsTarget interface{} // The unique target assignment ID. If missing, will generate a random, unique id. TargetId interface{} }
The set of arguments for constructing a EventTarget resource.
type EventTargetState ¶
type EventTargetState struct { // The Amazon Resource Name (ARN) associated of the target. Arn interface{} // Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed. BatchTarget interface{} // Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed. EcsTarget interface{} // Valid JSON text passed to the target. Input interface{} // The value of the [JSONPath](http://goessner.net/articles/JsonPath/) // that is used for extracting part of the matched event when passing it to the target. InputPath interface{} // Parameters used when you are providing a custom input to a target based on certain event data. InputTransformer interface{} // Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed. KinesisTarget interface{} // The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecs_target` is used. RoleArn interface{} // The name of the rule you want to add targets to. Rule interface{} // Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed. RunCommandTargets interface{} // Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed. SqsTarget interface{} // The unique target assignment ID. If missing, will generate a random, unique id. TargetId interface{} }
Input properties used for looking up and filtering EventTarget resources.
type GetLogGroupArgs ¶
type GetLogGroupArgs struct {
// The name of the Cloudwatch log group
Name interface{}
}
A collection of arguments for invoking getLogGroup.
type GetLogGroupResult ¶
type GetLogGroupResult struct { // The ARN of the Cloudwatch log group Arn interface{} // The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. CreationTime interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getLogGroup.
func LookupLogGroup ¶
func LookupLogGroup(ctx *pulumi.Context, args *GetLogGroupArgs) (*GetLogGroupResult, error)
Use this data source to get information about an AWS Cloudwatch Log Group
type LogDestination ¶
type LogDestination struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Logs destination resource.
func GetLogDestination ¶
func GetLogDestination(ctx *pulumi.Context, name string, id pulumi.ID, state *LogDestinationState, opts ...pulumi.ResourceOpt) (*LogDestination, error)
GetLogDestination gets an existing LogDestination resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLogDestination ¶
func NewLogDestination(ctx *pulumi.Context, name string, args *LogDestinationArgs, opts ...pulumi.ResourceOpt) (*LogDestination, error)
NewLogDestination registers a new resource with the given unique name, arguments, and options.
func (*LogDestination) Arn ¶
func (r *LogDestination) Arn() *pulumi.StringOutput
The Amazon Resource Name (ARN) specifying the log destination.
func (*LogDestination) ID ¶
func (r *LogDestination) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LogDestination) Name ¶
func (r *LogDestination) Name() *pulumi.StringOutput
A name for the log destination
func (*LogDestination) RoleArn ¶
func (r *LogDestination) RoleArn() *pulumi.StringOutput
The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target
func (*LogDestination) TargetArn ¶
func (r *LogDestination) TargetArn() *pulumi.StringOutput
The ARN of the target Amazon Kinesis stream or Amazon Lambda resource for the destination
func (*LogDestination) URN ¶
func (r *LogDestination) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LogDestinationArgs ¶
type LogDestinationArgs struct { // A name for the log destination Name interface{} // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target RoleArn interface{} // The ARN of the target Amazon Kinesis stream or Amazon Lambda resource for the destination TargetArn interface{} }
The set of arguments for constructing a LogDestination resource.
type LogDestinationPolicy ¶
type LogDestinationPolicy struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Logs destination policy resource.
func GetLogDestinationPolicy ¶
func GetLogDestinationPolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *LogDestinationPolicyState, opts ...pulumi.ResourceOpt) (*LogDestinationPolicy, error)
GetLogDestinationPolicy gets an existing LogDestinationPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLogDestinationPolicy ¶
func NewLogDestinationPolicy(ctx *pulumi.Context, name string, args *LogDestinationPolicyArgs, opts ...pulumi.ResourceOpt) (*LogDestinationPolicy, error)
NewLogDestinationPolicy registers a new resource with the given unique name, arguments, and options.
func (*LogDestinationPolicy) AccessPolicy ¶
func (r *LogDestinationPolicy) AccessPolicy() *pulumi.StringOutput
The policy document. This is a JSON formatted string.
func (*LogDestinationPolicy) DestinationName ¶
func (r *LogDestinationPolicy) DestinationName() *pulumi.StringOutput
A name for the subscription filter
func (*LogDestinationPolicy) ID ¶
func (r *LogDestinationPolicy) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LogDestinationPolicy) URN ¶
func (r *LogDestinationPolicy) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LogDestinationPolicyArgs ¶
type LogDestinationPolicyArgs struct { // The policy document. This is a JSON formatted string. AccessPolicy interface{} // A name for the subscription filter DestinationName interface{} }
The set of arguments for constructing a LogDestinationPolicy resource.
type LogDestinationPolicyState ¶
type LogDestinationPolicyState struct { // The policy document. This is a JSON formatted string. AccessPolicy interface{} // A name for the subscription filter DestinationName interface{} }
Input properties used for looking up and filtering LogDestinationPolicy resources.
type LogDestinationState ¶
type LogDestinationState struct { // The Amazon Resource Name (ARN) specifying the log destination. Arn interface{} // A name for the log destination Name interface{} // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target RoleArn interface{} // The ARN of the target Amazon Kinesis stream or Amazon Lambda resource for the destination TargetArn interface{} }
Input properties used for looking up and filtering LogDestination resources.
type LogGroup ¶
type LogGroup struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Log Group resource.
func GetLogGroup ¶
func GetLogGroup(ctx *pulumi.Context, name string, id pulumi.ID, state *LogGroupState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*LogGroup, error)
NewLogGroup registers a new resource with the given unique name, arguments, and options.
func (*LogGroup) Arn ¶
func (r *LogGroup) Arn() *pulumi.StringOutput
The Amazon Resource Name (ARN) specifying the log group.
func (*LogGroup) KmsKeyId ¶
func (r *LogGroup) KmsKeyId() *pulumi.StringOutput
The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.
func (*LogGroup) Name ¶
func (r *LogGroup) Name() *pulumi.StringOutput
The name of the log group. If omitted, Terraform will assign a random, unique name.
func (*LogGroup) NamePrefix ¶
func (r *LogGroup) NamePrefix() *pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (*LogGroup) RetentionInDays ¶
Specifies the number of days you want to retain log events in the specified log group.
type LogGroupArgs ¶
type LogGroupArgs struct { // The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, // AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires // permissions for the CMK whenever the encrypted data is requested. KmsKeyId interface{} // The name of the log group. If omitted, Terraform will assign a random, unique name. Name interface{} // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix interface{} // Specifies the number of days // you want to retain log events in the specified log group. RetentionInDays interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a LogGroup resource.
type LogGroupState ¶
type LogGroupState struct { // The Amazon Resource Name (ARN) specifying the log group. Arn interface{} // The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, // AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires // permissions for the CMK whenever the encrypted data is requested. KmsKeyId interface{} // The name of the log group. If omitted, Terraform will assign a random, unique name. Name interface{} // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix interface{} // Specifies the number of days // you want to retain log events in the specified log group. RetentionInDays interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering LogGroup resources.
type LogMetricFilter ¶
type LogMetricFilter struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Log Metric Filter resource.
func GetLogMetricFilter ¶
func GetLogMetricFilter(ctx *pulumi.Context, name string, id pulumi.ID, state *LogMetricFilterState, opts ...pulumi.ResourceOpt) (*LogMetricFilter, error)
GetLogMetricFilter gets an existing LogMetricFilter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLogMetricFilter ¶
func NewLogMetricFilter(ctx *pulumi.Context, name string, args *LogMetricFilterArgs, opts ...pulumi.ResourceOpt) (*LogMetricFilter, error)
NewLogMetricFilter registers a new resource with the given unique name, arguments, and options.
func (*LogMetricFilter) ID ¶
func (r *LogMetricFilter) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LogMetricFilter) LogGroupName ¶
func (r *LogMetricFilter) LogGroupName() *pulumi.StringOutput
The name of the log group to associate the metric filter with.
func (*LogMetricFilter) MetricTransformation ¶
func (r *LogMetricFilter) MetricTransformation() *pulumi.Output
A block defining collection of information needed to define how metric data gets emitted. See below.
func (*LogMetricFilter) Name ¶
func (r *LogMetricFilter) Name() *pulumi.StringOutput
A name for the metric filter.
func (*LogMetricFilter) Pattern ¶
func (r *LogMetricFilter) Pattern() *pulumi.StringOutput
A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html) for extracting metric data out of ingested log events.
func (*LogMetricFilter) URN ¶
func (r *LogMetricFilter) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LogMetricFilterArgs ¶
type LogMetricFilterArgs struct { // The name of the log group to associate the metric filter with. LogGroupName interface{} // A block defining collection of information // needed to define how metric data gets emitted. See below. MetricTransformation interface{} // A name for the metric filter. Name interface{} // A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html) // for extracting metric data out of ingested log events. Pattern interface{} }
The set of arguments for constructing a LogMetricFilter resource.
type LogMetricFilterState ¶
type LogMetricFilterState struct { // The name of the log group to associate the metric filter with. LogGroupName interface{} // A block defining collection of information // needed to define how metric data gets emitted. See below. MetricTransformation interface{} // A name for the metric filter. Name interface{} // A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html) // for extracting metric data out of ingested log events. Pattern interface{} }
Input properties used for looking up and filtering LogMetricFilter resources.
type LogResourcePolicy ¶
type LogResourcePolicy struct {
// contains filtered or unexported fields
}
Provides a resource to manage a CloudWatch log resource policy.
func GetLogResourcePolicy ¶
func GetLogResourcePolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *LogResourcePolicyState, opts ...pulumi.ResourceOpt) (*LogResourcePolicy, error)
GetLogResourcePolicy gets an existing LogResourcePolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLogResourcePolicy ¶
func NewLogResourcePolicy(ctx *pulumi.Context, name string, args *LogResourcePolicyArgs, opts ...pulumi.ResourceOpt) (*LogResourcePolicy, error)
NewLogResourcePolicy registers a new resource with the given unique name, arguments, and options.
func (*LogResourcePolicy) ID ¶
func (r *LogResourcePolicy) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LogResourcePolicy) PolicyDocument ¶
func (r *LogResourcePolicy) PolicyDocument() *pulumi.StringOutput
Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.
func (*LogResourcePolicy) PolicyName ¶
func (r *LogResourcePolicy) PolicyName() *pulumi.StringOutput
Name of the resource policy.
func (*LogResourcePolicy) URN ¶
func (r *LogResourcePolicy) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LogResourcePolicyArgs ¶
type LogResourcePolicyArgs struct { // Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters. PolicyDocument interface{} // Name of the resource policy. PolicyName interface{} }
The set of arguments for constructing a LogResourcePolicy resource.
type LogResourcePolicyState ¶
type LogResourcePolicyState struct { // Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters. PolicyDocument interface{} // Name of the resource policy. PolicyName interface{} }
Input properties used for looking up and filtering LogResourcePolicy resources.
type LogStream ¶
type LogStream struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Log Stream resource.
func GetLogStream ¶
func GetLogStream(ctx *pulumi.Context, name string, id pulumi.ID, state *LogStreamState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*LogStream, error)
NewLogStream registers a new resource with the given unique name, arguments, and options.
func (*LogStream) Arn ¶
func (r *LogStream) Arn() *pulumi.StringOutput
The Amazon Resource Name (ARN) specifying the log stream.
func (*LogStream) LogGroupName ¶
func (r *LogStream) LogGroupName() *pulumi.StringOutput
The name of the log group under which the log stream is to be created.
func (*LogStream) Name ¶
func (r *LogStream) Name() *pulumi.StringOutput
The name of the log stream. Must not be longer than 512 characters and must not contain `:`
type LogStreamArgs ¶
type LogStreamArgs struct { // The name of the log group under which the log stream is to be created. LogGroupName interface{} // The name of the log stream. Must not be longer than 512 characters and must not contain `:` Name interface{} }
The set of arguments for constructing a LogStream resource.
type LogStreamState ¶
type LogStreamState struct { // The Amazon Resource Name (ARN) specifying the log stream. Arn interface{} // The name of the log group under which the log stream is to be created. LogGroupName interface{} // The name of the log stream. Must not be longer than 512 characters and must not contain `:` Name interface{} }
Input properties used for looking up and filtering LogStream resources.
type LogSubscriptionFilter ¶
type LogSubscriptionFilter struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Logs subscription filter resource.
func GetLogSubscriptionFilter ¶
func GetLogSubscriptionFilter(ctx *pulumi.Context, name string, id pulumi.ID, state *LogSubscriptionFilterState, opts ...pulumi.ResourceOpt) (*LogSubscriptionFilter, error)
GetLogSubscriptionFilter gets an existing LogSubscriptionFilter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLogSubscriptionFilter ¶
func NewLogSubscriptionFilter(ctx *pulumi.Context, name string, args *LogSubscriptionFilterArgs, opts ...pulumi.ResourceOpt) (*LogSubscriptionFilter, error)
NewLogSubscriptionFilter registers a new resource with the given unique name, arguments, and options.
func (*LogSubscriptionFilter) DestinationArn ¶
func (r *LogSubscriptionFilter) DestinationArn() *pulumi.StringOutput
The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
func (*LogSubscriptionFilter) Distribution ¶
func (r *LogSubscriptionFilter) Distribution() *pulumi.StringOutput
The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
func (*LogSubscriptionFilter) FilterPattern ¶
func (r *LogSubscriptionFilter) FilterPattern() *pulumi.StringOutput
A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events.
func (*LogSubscriptionFilter) ID ¶
func (r *LogSubscriptionFilter) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*LogSubscriptionFilter) LogGroup ¶
func (r *LogSubscriptionFilter) LogGroup() *pulumi.StringOutput
The name of the log group to associate the subscription filter with
func (*LogSubscriptionFilter) Name ¶
func (r *LogSubscriptionFilter) Name() *pulumi.StringOutput
A name for the subscription filter
func (*LogSubscriptionFilter) RoleArn ¶
func (r *LogSubscriptionFilter) RoleArn() *pulumi.StringOutput
The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `aws_lambda_permission` resource for granting access from CloudWatch logs to the destination Lambda function.
func (*LogSubscriptionFilter) URN ¶
func (r *LogSubscriptionFilter) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type LogSubscriptionFilterArgs ¶
type LogSubscriptionFilterArgs struct { // The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN. DestinationArn interface{} // The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream". Distribution interface{} // A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. FilterPattern interface{} // The name of the log group to associate the subscription filter with LogGroup interface{} // A name for the subscription filter Name interface{} // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `aws_lambda_permission` resource for granting access from CloudWatch logs to the destination Lambda function. RoleArn interface{} }
The set of arguments for constructing a LogSubscriptionFilter resource.
type LogSubscriptionFilterState ¶
type LogSubscriptionFilterState struct { // The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN. DestinationArn interface{} // The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream". Distribution interface{} // A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. FilterPattern interface{} // The name of the log group to associate the subscription filter with LogGroup interface{} // A name for the subscription filter Name interface{} // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `aws_lambda_permission` resource for granting access from CloudWatch logs to the destination Lambda function. RoleArn interface{} }
Input properties used for looking up and filtering LogSubscriptionFilter resources.
type MetricAlarm ¶
type MetricAlarm struct {
// contains filtered or unexported fields
}
Provides a CloudWatch Metric Alarm resource.
func GetMetricAlarm ¶
func GetMetricAlarm(ctx *pulumi.Context, name string, id pulumi.ID, state *MetricAlarmState, opts ...pulumi.ResourceOpt) (*MetricAlarm, error)
GetMetricAlarm gets an existing MetricAlarm resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMetricAlarm ¶
func NewMetricAlarm(ctx *pulumi.Context, name string, args *MetricAlarmArgs, opts ...pulumi.ResourceOpt) (*MetricAlarm, error)
NewMetricAlarm registers a new resource with the given unique name, arguments, and options.
func (*MetricAlarm) ActionsEnabled ¶
func (r *MetricAlarm) ActionsEnabled() *pulumi.BoolOutput
Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`.
func (*MetricAlarm) AlarmActions ¶
func (r *MetricAlarm) AlarmActions() *pulumi.ArrayOutput
The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Number (ARN).
func (*MetricAlarm) AlarmDescription ¶
func (r *MetricAlarm) AlarmDescription() *pulumi.StringOutput
The description for the alarm.
func (*MetricAlarm) Arn ¶ added in v0.15.1
func (r *MetricAlarm) Arn() *pulumi.StringOutput
The ARN of the cloudwatch metric alarm.
func (*MetricAlarm) ComparisonOperator ¶
func (r *MetricAlarm) ComparisonOperator() *pulumi.StringOutput
The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`.
func (*MetricAlarm) DatapointsToAlarm ¶
func (r *MetricAlarm) DatapointsToAlarm() *pulumi.IntOutput
The number of datapoints that must be breaching to trigger the alarm.
func (*MetricAlarm) Dimensions ¶
func (r *MetricAlarm) Dimensions() *pulumi.MapOutput
The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
func (*MetricAlarm) EvaluateLowSampleCountPercentiles ¶
func (r *MetricAlarm) EvaluateLowSampleCountPercentiles() *pulumi.StringOutput
Used only for alarms based on percentiles. If you specify `ignore`, the alarm state will not change during periods with too few data points to be statistically significant. If you specify `evaluate` or omit this parameter, the alarm will always be evaluated and possibly change state no matter how many data points are available. The following values are supported: `ignore`, and `evaluate`.
func (*MetricAlarm) EvaluationPeriods ¶
func (r *MetricAlarm) EvaluationPeriods() *pulumi.IntOutput
The number of periods over which data is compared to the specified threshold.
func (*MetricAlarm) ExtendedStatistic ¶
func (r *MetricAlarm) ExtendedStatistic() *pulumi.StringOutput
The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
func (*MetricAlarm) ID ¶
func (r *MetricAlarm) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*MetricAlarm) InsufficientDataActions ¶
func (r *MetricAlarm) InsufficientDataActions() *pulumi.ArrayOutput
The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Number (ARN).
func (*MetricAlarm) MetricName ¶
func (r *MetricAlarm) MetricName() *pulumi.StringOutput
The name for this metric. See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
func (*MetricAlarm) MetricQueries ¶ added in v0.16.9
func (r *MetricAlarm) MetricQueries() *pulumi.ArrayOutput
Enables you to create an alarm based on a metric math expression. You may specify at most 20.
func (*MetricAlarm) Name ¶
func (r *MetricAlarm) Name() *pulumi.StringOutput
The descriptive name for the alarm. This name must be unique within the user's AWS account
func (*MetricAlarm) Namespace ¶
func (r *MetricAlarm) Namespace() *pulumi.StringOutput
The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
func (*MetricAlarm) OkActions ¶
func (r *MetricAlarm) OkActions() *pulumi.ArrayOutput
The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Number (ARN).
func (*MetricAlarm) Period ¶
func (r *MetricAlarm) Period() *pulumi.IntOutput
The period in seconds over which the specified `stat` is applied.
func (*MetricAlarm) Statistic ¶
func (r *MetricAlarm) Statistic() *pulumi.StringOutput
The statistic to apply to the alarm's associated metric. Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum`
func (*MetricAlarm) Threshold ¶
func (r *MetricAlarm) Threshold() *pulumi.Float64Output
The value against which the specified statistic is compared.
func (*MetricAlarm) TreatMissingData ¶
func (r *MetricAlarm) TreatMissingData() *pulumi.StringOutput
Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`.
func (*MetricAlarm) URN ¶
func (r *MetricAlarm) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*MetricAlarm) Unit ¶
func (r *MetricAlarm) Unit() *pulumi.StringOutput
The unit for this metric.
type MetricAlarmArgs ¶
type MetricAlarmArgs struct { // Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`. ActionsEnabled interface{} // The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Number (ARN). AlarmActions interface{} // The description for the alarm. AlarmDescription interface{} // The descriptive name for the alarm. This name must be unique within the user's AWS account Name interface{} // The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`. ComparisonOperator interface{} // The number of datapoints that must be breaching to trigger the alarm. DatapointsToAlarm interface{} // The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Dimensions interface{} // Used only for alarms // based on percentiles. If you specify `ignore`, the alarm state will not // change during periods with too few data points to be statistically significant. // If you specify `evaluate` or omit this parameter, the alarm will always be // evaluated and possibly change state no matter how many data points are available. // The following values are supported: `ignore`, and `evaluate`. EvaluateLowSampleCountPercentiles interface{} // The number of periods over which data is compared to the specified threshold. EvaluationPeriods interface{} // The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. ExtendedStatistic interface{} // The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Number (ARN). InsufficientDataActions interface{} // The name for this metric. // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). MetricName interface{} // Enables you to create an alarm based on a metric math expression. You may specify at most 20. MetricQueries interface{} // The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Namespace interface{} // The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Number (ARN). OkActions interface{} // The period in seconds over which the specified `stat` is applied. Period interface{} // The statistic to apply to the alarm's associated metric. // Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum` Statistic interface{} // The value against which the specified statistic is compared. Threshold interface{} // Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`. TreatMissingData interface{} // The unit for this metric. Unit interface{} }
The set of arguments for constructing a MetricAlarm resource.
type MetricAlarmState ¶
type MetricAlarmState struct { // Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`. ActionsEnabled interface{} // The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Number (ARN). AlarmActions interface{} // The description for the alarm. AlarmDescription interface{} // The descriptive name for the alarm. This name must be unique within the user's AWS account Name interface{} // The ARN of the cloudwatch metric alarm. Arn interface{} // The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`. ComparisonOperator interface{} // The number of datapoints that must be breaching to trigger the alarm. DatapointsToAlarm interface{} // The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Dimensions interface{} // Used only for alarms // based on percentiles. If you specify `ignore`, the alarm state will not // change during periods with too few data points to be statistically significant. // If you specify `evaluate` or omit this parameter, the alarm will always be // evaluated and possibly change state no matter how many data points are available. // The following values are supported: `ignore`, and `evaluate`. EvaluateLowSampleCountPercentiles interface{} // The number of periods over which data is compared to the specified threshold. EvaluationPeriods interface{} // The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. ExtendedStatistic interface{} // The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Number (ARN). InsufficientDataActions interface{} // The name for this metric. // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). MetricName interface{} // Enables you to create an alarm based on a metric math expression. You may specify at most 20. MetricQueries interface{} // The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Namespace interface{} // The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Number (ARN). OkActions interface{} // The period in seconds over which the specified `stat` is applied. Period interface{} // The statistic to apply to the alarm's associated metric. // Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum` Statistic interface{} // The value against which the specified statistic is compared. Threshold interface{} // Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`. TreatMissingData interface{} // The unit for this metric. Unit interface{} }
Input properties used for looking up and filtering MetricAlarm resources.