AWS Native is in preview. AWS Classic is fully supported.
aws-native.lookoutmetrics.getAlert
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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 is in preview. AWS Classic is fully supported.