We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.medialive.getCloudWatchAlarmTemplate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
Definition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type
Using getCloudWatchAlarmTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudWatchAlarmTemplate(args: GetCloudWatchAlarmTemplateArgs, opts?: InvokeOptions): Promise<GetCloudWatchAlarmTemplateResult>
function getCloudWatchAlarmTemplateOutput(args: GetCloudWatchAlarmTemplateOutputArgs, opts?: InvokeOptions): Output<GetCloudWatchAlarmTemplateResult>
def get_cloud_watch_alarm_template(identifier: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudWatchAlarmTemplateResult
def get_cloud_watch_alarm_template_output(identifier: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudWatchAlarmTemplateResult]
func LookupCloudWatchAlarmTemplate(ctx *Context, args *LookupCloudWatchAlarmTemplateArgs, opts ...InvokeOption) (*LookupCloudWatchAlarmTemplateResult, error)
func LookupCloudWatchAlarmTemplateOutput(ctx *Context, args *LookupCloudWatchAlarmTemplateOutputArgs, opts ...InvokeOption) LookupCloudWatchAlarmTemplateResultOutput
> Note: This function is named LookupCloudWatchAlarmTemplate
in the Go SDK.
public static class GetCloudWatchAlarmTemplate
{
public static Task<GetCloudWatchAlarmTemplateResult> InvokeAsync(GetCloudWatchAlarmTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetCloudWatchAlarmTemplateResult> Invoke(GetCloudWatchAlarmTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudWatchAlarmTemplateResult> getCloudWatchAlarmTemplate(GetCloudWatchAlarmTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:medialive:getCloudWatchAlarmTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Identifier string
- Identifier string
- identifier String
- identifier string
- identifier str
- identifier String
getCloudWatchAlarmTemplate Result
The following output properties are available:
- Arn string
- A cloudwatch alarm template's ARN (Amazon Resource Name)
- Comparison
Operator Pulumi.Aws Native. Media Live. Cloud Watch Alarm Template Comparison Operator - The comparison operator used to compare the specified statistic and the threshold.
- Created
At string - The date and time of resource creation.
- Datapoints
To doubleAlarm - The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
- Description string
- A resource's optional description.
- Evaluation
Periods double - The number of periods over which data is compared to the specified threshold.
- Group
Id string - A cloudwatch alarm template group's id. AWS provided template groups have ids that start with
aws-
- Id string
- A cloudwatch alarm template's id. AWS provided templates have ids that start with
aws-
- Identifier string
- Metric
Name string - The name of the metric associated with the alarm. Must be compatible with targetResourceType.
- Modified
At string - The date and time of latest resource modification.
- Name string
- A resource's name. Names must be unique within the scope of a resource type in a specific region.
- Period double
- The period, in seconds, over which the specified statistic is applied.
- Statistic
Pulumi.
Aws Native. Media Live. Cloud Watch Alarm Template Statistic - The statistic to apply to the alarm's metric data.
- Target
Resource Pulumi.Type Aws Native. Media Live. Cloud Watch Alarm Template Target Resource Type - The resource type this template should dynamically generate CloudWatch metric alarms for.
- Threshold double
- The threshold value to compare with the specified statistic.
- Treat
Missing Pulumi.Data Aws Native. Media Live. Cloud Watch Alarm Template Treat Missing Data - Specifies how missing data points are treated when evaluating the alarm's condition.
- Arn string
- A cloudwatch alarm template's ARN (Amazon Resource Name)
- Comparison
Operator CloudWatch Alarm Template Comparison Operator - The comparison operator used to compare the specified statistic and the threshold.
- Created
At string - The date and time of resource creation.
- Datapoints
To float64Alarm - The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
- Description string
- A resource's optional description.
- Evaluation
Periods float64 - The number of periods over which data is compared to the specified threshold.
- Group
Id string - A cloudwatch alarm template group's id. AWS provided template groups have ids that start with
aws-
- Id string
- A cloudwatch alarm template's id. AWS provided templates have ids that start with
aws-
- Identifier string
- Metric
Name string - The name of the metric associated with the alarm. Must be compatible with targetResourceType.
- Modified
At string - The date and time of latest resource modification.
- Name string
- A resource's name. Names must be unique within the scope of a resource type in a specific region.
- Period float64
- The period, in seconds, over which the specified statistic is applied.
- Statistic
Cloud
Watch Alarm Template Statistic - The statistic to apply to the alarm's metric data.
- Target
Resource CloudType Watch Alarm Template Target Resource Type - The resource type this template should dynamically generate CloudWatch metric alarms for.
- Threshold float64
- The threshold value to compare with the specified statistic.
- Treat
Missing CloudData Watch Alarm Template Treat Missing Data - Specifies how missing data points are treated when evaluating the alarm's condition.
- arn String
- A cloudwatch alarm template's ARN (Amazon Resource Name)
- comparison
Operator CloudWatch Alarm Template Comparison Operator - The comparison operator used to compare the specified statistic and the threshold.
- created
At String - The date and time of resource creation.
- datapoints
To DoubleAlarm - The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
- description String
- A resource's optional description.
- evaluation
Periods Double - The number of periods over which data is compared to the specified threshold.
- group
Id String - A cloudwatch alarm template group's id. AWS provided template groups have ids that start with
aws-
- id String
- A cloudwatch alarm template's id. AWS provided templates have ids that start with
aws-
- identifier String
- metric
Name String - The name of the metric associated with the alarm. Must be compatible with targetResourceType.
- modified
At String - The date and time of latest resource modification.
- name String
- A resource's name. Names must be unique within the scope of a resource type in a specific region.
- period Double
- The period, in seconds, over which the specified statistic is applied.
- statistic
Cloud
Watch Alarm Template Statistic - The statistic to apply to the alarm's metric data.
- target
Resource CloudType Watch Alarm Template Target Resource Type - The resource type this template should dynamically generate CloudWatch metric alarms for.
- threshold Double
- The threshold value to compare with the specified statistic.
- treat
Missing CloudData Watch Alarm Template Treat Missing Data - Specifies how missing data points are treated when evaluating the alarm's condition.
- arn string
- A cloudwatch alarm template's ARN (Amazon Resource Name)
- comparison
Operator CloudWatch Alarm Template Comparison Operator - The comparison operator used to compare the specified statistic and the threshold.
- created
At string - The date and time of resource creation.
- datapoints
To numberAlarm - The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
- description string
- A resource's optional description.
- evaluation
Periods number - The number of periods over which data is compared to the specified threshold.
- group
Id string - A cloudwatch alarm template group's id. AWS provided template groups have ids that start with
aws-
- id string
- A cloudwatch alarm template's id. AWS provided templates have ids that start with
aws-
- identifier string
- metric
Name string - The name of the metric associated with the alarm. Must be compatible with targetResourceType.
- modified
At string - The date and time of latest resource modification.
- name string
- A resource's name. Names must be unique within the scope of a resource type in a specific region.
- period number
- The period, in seconds, over which the specified statistic is applied.
- statistic
Cloud
Watch Alarm Template Statistic - The statistic to apply to the alarm's metric data.
- target
Resource CloudType Watch Alarm Template Target Resource Type - The resource type this template should dynamically generate CloudWatch metric alarms for.
- threshold number
- The threshold value to compare with the specified statistic.
- treat
Missing CloudData Watch Alarm Template Treat Missing Data - Specifies how missing data points are treated when evaluating the alarm's condition.
- arn str
- A cloudwatch alarm template's ARN (Amazon Resource Name)
- comparison_
operator CloudWatch Alarm Template Comparison Operator - The comparison operator used to compare the specified statistic and the threshold.
- created_
at str - The date and time of resource creation.
- datapoints_
to_ floatalarm - The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
- description str
- A resource's optional description.
- evaluation_
periods float - The number of periods over which data is compared to the specified threshold.
- group_
id str - A cloudwatch alarm template group's id. AWS provided template groups have ids that start with
aws-
- id str
- A cloudwatch alarm template's id. AWS provided templates have ids that start with
aws-
- identifier str
- metric_
name str - The name of the metric associated with the alarm. Must be compatible with targetResourceType.
- modified_
at str - The date and time of latest resource modification.
- name str
- A resource's name. Names must be unique within the scope of a resource type in a specific region.
- period float
- The period, in seconds, over which the specified statistic is applied.
- statistic
Cloud
Watch Alarm Template Statistic - The statistic to apply to the alarm's metric data.
- target_
resource_ Cloudtype Watch Alarm Template Target Resource Type - The resource type this template should dynamically generate CloudWatch metric alarms for.
- threshold float
- The threshold value to compare with the specified statistic.
- treat_
missing_ Clouddata Watch Alarm Template Treat Missing Data - Specifies how missing data points are treated when evaluating the alarm's condition.
- arn String
- A cloudwatch alarm template's ARN (Amazon Resource Name)
- comparison
Operator "GreaterThan Or Equal To Threshold" | "Greater Than Threshold" | "Less Than Threshold" | "Less Than Or Equal To Threshold" - The comparison operator used to compare the specified statistic and the threshold.
- created
At String - The date and time of resource creation.
- datapoints
To NumberAlarm - The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
- description String
- A resource's optional description.
- evaluation
Periods Number - The number of periods over which data is compared to the specified threshold.
- group
Id String - A cloudwatch alarm template group's id. AWS provided template groups have ids that start with
aws-
- id String
- A cloudwatch alarm template's id. AWS provided templates have ids that start with
aws-
- identifier String
- metric
Name String - The name of the metric associated with the alarm. Must be compatible with targetResourceType.
- modified
At String - The date and time of latest resource modification.
- name String
- A resource's name. Names must be unique within the scope of a resource type in a specific region.
- period Number
- The period, in seconds, over which the specified statistic is applied.
- statistic
"Sample
Count" | "Average" | "Sum" | "Minimum" | "Maximum" - The statistic to apply to the alarm's metric data.
- target
Resource "CLOUDFRONT_DISTRIBUTION" | "MEDIALIVE_MULTIPLEX" | "MEDIALIVE_CHANNEL" | "MEDIALIVE_INPUT_DEVICE" | "MEDIAPACKAGE_CHANNEL" | "MEDIAPACKAGE_ORIGIN_ENDPOINT" | "MEDIACONNECT_FLOW" | "S3_BUCKET"Type - The resource type this template should dynamically generate CloudWatch metric alarms for.
- threshold Number
- The threshold value to compare with the specified statistic.
- treat
Missing "notData Breaching" | "breaching" | "ignore" | "missing" - Specifies how missing data points are treated when evaluating the alarm's condition.
Supporting Types
CloudWatchAlarmTemplateComparisonOperator
CloudWatchAlarmTemplateStatistic
CloudWatchAlarmTemplateTargetResourceType
CloudWatchAlarmTemplateTreatMissingData
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi