1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lookoutmetrics
  5. getAlert

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.lookoutmetrics.getAlert

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Type definition for AWS::LookoutMetrics::Alert

Using getAlert

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 getAlert(args: GetAlertArgs, opts?: InvokeOptions): Promise<GetAlertResult>
function getAlertOutput(args: GetAlertOutputArgs, opts?: InvokeOptions): Output<GetAlertResult>
Copy
def get_alert(arn: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetAlertResult
def get_alert_output(arn: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetAlertResult]
Copy
func LookupAlert(ctx *Context, args *LookupAlertArgs, opts ...InvokeOption) (*LookupAlertResult, error)
func LookupAlertOutput(ctx *Context, args *LookupAlertOutputArgs, opts ...InvokeOption) LookupAlertResultOutput
Copy

> Note: This function is named LookupAlert in the Go SDK.

public static class GetAlert 
{
    public static Task<GetAlertResult> InvokeAsync(GetAlertArgs args, InvokeOptions? opts = null)
    public static Output<GetAlertResult> Invoke(GetAlertInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAlertResult> getAlert(GetAlertArgs args, InvokeOptions options)
public static Output<GetAlertResult> getAlert(GetAlertArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:lookoutmetrics:getAlert
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
ARN assigned to the alert.
Arn This property is required. string
ARN assigned to the alert.
arn This property is required. String
ARN assigned to the alert.
arn This property is required. string
ARN assigned to the alert.
arn This property is required. str
ARN assigned to the alert.
arn This property is required. String
ARN assigned to the alert.

getAlert Result

The following output properties are available:

Arn string
ARN assigned to the alert.
Arn string
ARN assigned to the alert.
arn String
ARN assigned to the alert.
arn string
ARN assigned to the alert.
arn str
ARN assigned to the alert.
arn String
ARN assigned to the alert.

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.27.0 published on Monday, Apr 14, 2025 by Pulumi