UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

68 lines (67 loc) 2.27 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type Definition for AWS::ResilienceHub::App. */ export declare function getApp(args: GetAppArgs, opts?: pulumi.InvokeOptions): Promise<GetAppResult>; export interface GetAppArgs { /** * Amazon Resource Name (ARN) of the App. */ appArn: string; } export interface GetAppResult { /** * Amazon Resource Name (ARN) of the App. */ readonly appArn?: string; /** * Assessment execution schedule. */ readonly appAssessmentSchedule?: enums.resiliencehub.AppAssessmentSchedule; /** * A string containing full ResilienceHub app template body. */ readonly appTemplateBody?: string; /** * App description. */ readonly description?: string; /** * Indicates if compliance drifts (deviations) were detected while running an assessment for your application. */ readonly driftStatus?: enums.resiliencehub.AppDriftStatus; /** * The list of events you would like to subscribe and get notification for. */ readonly eventSubscriptions?: outputs.resiliencehub.AppEventSubscription[]; /** * Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment. */ readonly permissionModel?: outputs.resiliencehub.AppPermissionModel; /** * Amazon Resource Name (ARN) of the Resiliency Policy. */ readonly resiliencyPolicyArn?: string; /** * An array of ResourceMapping objects. */ readonly resourceMappings?: outputs.resiliencehub.AppResourceMapping[]; /** * Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair. */ readonly tags?: { [key: string]: string; }; } /** * Resource Type Definition for AWS::ResilienceHub::App. */ export declare function getAppOutput(args: GetAppOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppResult>; export interface GetAppOutputArgs { /** * Amazon Resource Name (ARN) of the App. */ appArn: pulumi.Input<string>; }