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.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.lookoutmetrics.getAlert

Explore with Pulumi AI

aws-native logo

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

    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>
    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]
    func LookupAlert(ctx *Context, args *LookupAlertArgs, opts ...InvokeOption) (*LookupAlertResult, error)
    func LookupAlertOutput(ctx *Context, args *LookupAlertOutputArgs, opts ...InvokeOption) LookupAlertResultOutput

    > 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)
    }
    public static CompletableFuture<GetAlertResult> getAlert(GetAlertArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:lookoutmetrics:getAlert
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.

    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
    aws-native logo

    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