cloudwatch

class pulumi_aws.cloudwatch.Dashboard(resource_name, opts=None, dashboard_body=None, dashboard_name=None, __name__=None, __opts__=None)

Provides a CloudWatch Dashboard resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • dashboard_body (pulumi.Input[str]) – 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.
  • dashboard_name (pulumi.Input[str]) – The name of the dashboard.
dashboard_arn = None

The Amazon Resource Name (ARN) of the dashboard.

dashboard_body = None

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.

dashboard_name = None

The name of the dashboard.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.EventPermission(resource_name, opts=None, action=None, condition=None, principal=None, statement_id=None, __name__=None, __opts__=None)

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

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • action (pulumi.Input[str]) – The action that you are enabling the other account to perform. Defaults to events:PutEvents.
  • condition (pulumi.Input[dict]) – Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below.
  • principal (pulumi.Input[str]) – 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.
  • statement_id (pulumi.Input[str]) – An identifier string for the external account that you are granting permissions to.
action = None

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

condition = None

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

principal = None

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.

statement_id = None

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

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.EventRule(resource_name, opts=None, description=None, event_pattern=None, is_enabled=None, name=None, name_prefix=None, role_arn=None, schedule_expression=None, __name__=None, __opts__=None)

Provides a CloudWatch Event Rule resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • description (pulumi.Input[str]) – The description of the rule.
  • event_pattern (pulumi.Input[str]) – Event pattern described a JSON object. See full documentation of CloudWatch Events and Event Patterns for details.
  • is_enabled (pulumi.Input[bool]) – Whether the rule should be enabled (defaults to true).
  • name (pulumi.Input[str]) – The rule’s name. By default generated by Terraform.
  • name_prefix (pulumi.Input[str]) – The rule’s name. Conflicts with name.
  • role_arn (pulumi.Input[str]) – The Amazon Resource Name (ARN) associated with the role that is used for target invocation.
  • schedule_expression (pulumi.Input[str]) – The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes).
arn = None

The Amazon Resource Name (ARN) of the rule.

description = None

The description of the rule.

event_pattern = None

Event pattern described a JSON object. See full documentation of CloudWatch Events and Event Patterns for details.

is_enabled = None

Whether the rule should be enabled (defaults to true).

name = None

The rule’s name. By default generated by Terraform.

name_prefix = None

The rule’s name. Conflicts with name.

role_arn = None

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

schedule_expression = None

The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes).

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.EventTarget(resource_name, opts=None, arn=None, batch_target=None, ecs_target=None, input=None, input_path=None, input_transformer=None, kinesis_target=None, role_arn=None, rule=None, run_command_targets=None, sqs_target=None, target_id=None, __name__=None, __opts__=None)

Provides a CloudWatch Event Target resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • arn (pulumi.Input[str]) – The Amazon Resource Name (ARN) associated of the target.
  • batch_target (pulumi.Input[dict]) – Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed.
  • ecs_target (pulumi.Input[dict]) – Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.
  • input (pulumi.Input[str]) – Valid JSON text passed to the target.
  • input_path (pulumi.Input[str]) – The value of the JSONPath that is used for extracting part of the matched event when passing it to the target.
  • input_transformer (pulumi.Input[dict]) – Parameters used when you are providing a custom input to a target based on certain event data.
  • kinesis_target (pulumi.Input[dict]) – Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed.
  • role_arn (pulumi.Input[str]) – 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.
  • rule (pulumi.Input[str]) – The name of the rule you want to add targets to.
  • run_command_targets (pulumi.Input[list]) – Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed.
  • sqs_target (pulumi.Input[dict]) – Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed.
  • target_id (pulumi.Input[str]) – The unique target assignment ID. If missing, will generate a random, unique id.
arn = None

The Amazon Resource Name (ARN) associated of the target.

batch_target = None

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

ecs_target = None

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

input = None

Valid JSON text passed to the target.

input_path = None

The value of the JSONPath that is used for extracting part of the matched event when passing it to the target.

input_transformer = None

Parameters used when you are providing a custom input to a target based on certain event data.

kinesis_target = None

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

role_arn = None

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.

rule = None

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

run_command_targets = None

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

sqs_target = None

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

target_id = None

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

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.GetLogGroupResult(arn=None, creation_time=None, id=None)

A collection of values returned by getLogGroup.

arn = None

The ARN of the Cloudwatch log group

creation_time = None

The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_aws.cloudwatch.LogDestination(resource_name, opts=None, name=None, role_arn=None, target_arn=None, __name__=None, __opts__=None)

Provides a CloudWatch Logs destination resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – A name for the log destination
  • role_arn (pulumi.Input[str]) – The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target
  • target_arn (pulumi.Input[str]) – The ARN of the target Amazon Kinesis stream or Amazon Lambda resource for the destination
arn = None

The Amazon Resource Name (ARN) specifying the log destination.

name = None

A name for the log destination

role_arn = None

The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target

target_arn = None

The ARN of the target Amazon Kinesis stream or Amazon Lambda resource for the destination

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.LogDestinationPolicy(resource_name, opts=None, access_policy=None, destination_name=None, __name__=None, __opts__=None)

Provides a CloudWatch Logs destination policy resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • access_policy (pulumi.Input[str]) – The policy document. This is a JSON formatted string.
  • destination_name (pulumi.Input[str]) – A name for the subscription filter
access_policy = None

The policy document. This is a JSON formatted string.

destination_name = None

A name for the subscription filter

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.LogGroup(resource_name, opts=None, kms_key_id=None, name=None, name_prefix=None, retention_in_days=None, tags=None, __name__=None, __opts__=None)

Provides a CloudWatch Log Group resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • kms_key_id (pulumi.Input[str]) – 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.
  • name (pulumi.Input[str]) – The name of the log group. If omitted, Terraform will assign a random, unique name.
  • name_prefix (pulumi.Input[str]) – Creates a unique name beginning with the specified prefix. Conflicts with name.
  • retention_in_days (pulumi.Input[float]) – Specifies the number of days you want to retain log events in the specified log group.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
arn = None

The Amazon Resource Name (ARN) specifying the log group.

kms_key_id = None

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.

name = None

The name of the log group. If omitted, Terraform will assign a random, unique name.

name_prefix = None

Creates a unique name beginning with the specified prefix. Conflicts with name.

retention_in_days = None

Specifies the number of days you want to retain log events in the specified log group.

tags = None

A mapping of tags to assign to the resource.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.LogMetricFilter(resource_name, opts=None, log_group_name=None, metric_transformation=None, name=None, pattern=None, __name__=None, __opts__=None)

Provides a CloudWatch Log Metric Filter resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • log_group_name (pulumi.Input[str]) – The name of the log group to associate the metric filter with.
  • metric_transformation (pulumi.Input[dict]) – A block defining collection of information needed to define how metric data gets emitted. See below.
  • name (pulumi.Input[str]) – A name for the metric filter.
  • pattern (pulumi.Input[str]) – A valid CloudWatch Logs filter pattern for extracting metric data out of ingested log events.
log_group_name = None

The name of the log group to associate the metric filter with.

metric_transformation = None

A block defining collection of information needed to define how metric data gets emitted. See below.

name = None

A name for the metric filter.

pattern = None

A valid CloudWatch Logs filter pattern for extracting metric data out of ingested log events.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.LogResourcePolicy(resource_name, opts=None, policy_document=None, policy_name=None, __name__=None, __opts__=None)

Provides a resource to manage a CloudWatch log resource policy.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • policy_document (pulumi.Input[str]) – 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.
  • policy_name (pulumi.Input[str]) – Name of the resource policy.
policy_document = None

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.

policy_name = None

Name of the resource policy.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.LogStream(resource_name, opts=None, log_group_name=None, name=None, __name__=None, __opts__=None)

Provides a CloudWatch Log Stream resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • log_group_name (pulumi.Input[str]) – The name of the log group under which the log stream is to be created.
  • name (pulumi.Input[str]) – The name of the log stream. Must not be longer than 512 characters and must not contain :
arn = None

The Amazon Resource Name (ARN) specifying the log stream.

log_group_name = None

The name of the log group under which the log stream is to be created.

name = None

The name of the log stream. Must not be longer than 512 characters and must not contain :

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.LogSubscriptionFilter(resource_name, opts=None, destination_arn=None, distribution=None, filter_pattern=None, log_group=None, name=None, role_arn=None, __name__=None, __opts__=None)

Provides a CloudWatch Logs subscription filter resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • destination_arn (pulumi.Input[str]) – The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
  • distribution (pulumi.Input[str]) – 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”.
  • filter_pattern (pulumi.Input[str]) – A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events.
  • log_group (pulumi.Input[str]) – The name of the log group to associate the subscription filter with
  • name (pulumi.Input[str]) – A name for the subscription filter
  • role_arn (pulumi.Input[str]) – 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.
destination_arn = None

The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.

distribution = None

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

filter_pattern = None

A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events.

log_group = None

The name of the log group to associate the subscription filter with

name = None

A name for the subscription filter

role_arn = None

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.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.cloudwatch.MetricAlarm(resource_name, opts=None, actions_enabled=None, alarm_actions=None, alarm_description=None, name=None, comparison_operator=None, datapoints_to_alarm=None, dimensions=None, evaluate_low_sample_count_percentiles=None, evaluation_periods=None, extended_statistic=None, insufficient_data_actions=None, metric_name=None, metric_queries=None, namespace=None, ok_actions=None, period=None, statistic=None, threshold=None, treat_missing_data=None, unit=None, __name__=None, __opts__=None)

Provides a CloudWatch Metric Alarm resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • actions_enabled (pulumi.Input[bool]) – Indicates whether or not actions should be executed during any changes to the alarm’s state. Defaults to true.
  • alarm_actions (pulumi.Input[list]) – The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).
  • alarm_description (pulumi.Input[str]) – The description for the alarm.
  • name (pulumi.Input[str]) – The descriptive name for the alarm. This name must be unique within the user’s AWS account
  • comparison_operator (pulumi.Input[str]) – 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.
  • datapoints_to_alarm (pulumi.Input[float]) – The number of datapoints that must be breaching to trigger the alarm.
  • dimensions (pulumi.Input[dict]) – The dimensions for this metric. For the list of available dimensions see the AWS documentation here.
  • evaluate_low_sample_count_percentiles (pulumi.Input[str]) – 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.
  • evaluation_periods (pulumi.Input[float]) – The number of periods over which data is compared to the specified threshold.
  • extended_statistic (pulumi.Input[str]) – The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
  • insufficient_data_actions (pulumi.Input[list]) – The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).
  • metric_name (pulumi.Input[str]) – The name for this metric. See docs for supported metrics.
  • metric_queries (pulumi.Input[list]) – Enables you to create an alarm based on a metric math expression. You may specify at most 20.
  • namespace (pulumi.Input[str]) –

    The namespace for this metric. See docs for the list of namespaces. See docs for supported metrics.

  • ok_actions (pulumi.Input[list]) – The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).
  • period (pulumi.Input[float]) – The period in seconds over which the specified stat is applied.
  • statistic (pulumi.Input[str]) – The statistic to apply to the alarm’s associated metric. Either of the following is supported: SampleCount, Average, Sum, Minimum, Maximum
  • threshold (pulumi.Input[float]) – The value against which the specified statistic is compared.
  • treat_missing_data (pulumi.Input[str]) – Sets how this alarm is to handle missing data points. The following values are supported: missing, ignore, breaching and notBreaching. Defaults to missing.
  • unit (pulumi.Input[str]) – The unit for this metric.
actions_enabled = None

Indicates whether or not actions should be executed during any changes to the alarm’s state. Defaults to true.

alarm_actions = None

The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

alarm_description = None

The description for the alarm.

name = None

The descriptive name for the alarm. This name must be unique within the user’s AWS account

arn = None

The ARN of the cloudwatch metric alarm.

comparison_operator = None

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.

datapoints_to_alarm = None

The number of datapoints that must be breaching to trigger the alarm.

dimensions = None

The dimensions for this metric. For the list of available dimensions see the AWS documentation here.

evaluate_low_sample_count_percentiles = None

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.

evaluation_periods = None

The number of periods over which data is compared to the specified threshold.

extended_statistic = None

The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.

insufficient_data_actions = None

The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

metric_name = None

The name for this metric. See docs for supported metrics.

metric_queries = None

Enables you to create an alarm based on a metric math expression. You may specify at most 20.

namespace = None

The namespace for this metric. See docs for the list of namespaces. See docs for supported metrics.

ok_actions = None

The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

period = None

The period in seconds over which the specified stat is applied.

statistic = None

The statistic to apply to the alarm’s associated metric. Either of the following is supported: SampleCount, Average, Sum, Minimum, Maximum

threshold = None

The value against which the specified statistic is compared.

treat_missing_data = None

Sets how this alarm is to handle missing data points. The following values are supported: missing, ignore, breaching and notBreaching. Defaults to missing.

unit = None

The unit for this metric.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_aws.cloudwatch.get_log_group(name=None, opts=None)

Use this data source to get information about an AWS Cloudwatch Log Group