1. Packages
  2. AWS Native
  3. API Docs
  4. resiliencehub
  5. getApp

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

aws-native.resiliencehub.getApp

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Resource Type Definition for AWS::ResilienceHub::App.

    Using getApp

    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 getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>
    function getAppOutput(args: GetAppOutputArgs, opts?: InvokeOptions): Output<GetAppResult>
    def get_app(app_arn: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetAppResult
    def get_app_output(app_arn: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetAppResult]
    func LookupApp(ctx *Context, args *LookupAppArgs, opts ...InvokeOption) (*LookupAppResult, error)
    func LookupAppOutput(ctx *Context, args *LookupAppOutputArgs, opts ...InvokeOption) LookupAppResultOutput

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

    public static class GetApp 
    {
        public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
        public static Output<GetAppResult> Invoke(GetAppInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:resiliencehub:getApp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AppArn string
    Amazon Resource Name (ARN) of the App.
    AppArn string
    Amazon Resource Name (ARN) of the App.
    appArn String
    Amazon Resource Name (ARN) of the App.
    appArn string
    Amazon Resource Name (ARN) of the App.
    app_arn str
    Amazon Resource Name (ARN) of the App.
    appArn String
    Amazon Resource Name (ARN) of the App.

    getApp Result

    The following output properties are available:

    AppArn string
    Amazon Resource Name (ARN) of the App.
    AppAssessmentSchedule Pulumi.AwsNative.ResilienceHub.AppAssessmentSchedule
    Assessment execution schedule.
    AppTemplateBody string
    A string containing full ResilienceHub app template body.
    Description string
    App description.
    DriftStatus Pulumi.AwsNative.ResilienceHub.AppDriftStatus
    Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
    EventSubscriptions List<Pulumi.AwsNative.ResilienceHub.Outputs.AppEventSubscription>
    The list of events you would like to subscribe and get notification for.
    PermissionModel Pulumi.AwsNative.ResilienceHub.Outputs.AppPermissionModel
    ResiliencyPolicyArn string
    Amazon Resource Name (ARN) of the Resiliency Policy.
    ResourceMappings List<Pulumi.AwsNative.ResilienceHub.Outputs.AppResourceMapping>
    An array of ResourceMapping objects.
    Tags Dictionary<string, string>
    AppArn string
    Amazon Resource Name (ARN) of the App.
    AppAssessmentSchedule AppAssessmentSchedule
    Assessment execution schedule.
    AppTemplateBody string
    A string containing full ResilienceHub app template body.
    Description string
    App description.
    DriftStatus AppDriftStatus
    Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
    EventSubscriptions []AppEventSubscription
    The list of events you would like to subscribe and get notification for.
    PermissionModel AppPermissionModel
    ResiliencyPolicyArn string
    Amazon Resource Name (ARN) of the Resiliency Policy.
    ResourceMappings []AppResourceMapping
    An array of ResourceMapping objects.
    Tags map[string]string
    appArn String
    Amazon Resource Name (ARN) of the App.
    appAssessmentSchedule AppAssessmentSchedule
    Assessment execution schedule.
    appTemplateBody String
    A string containing full ResilienceHub app template body.
    description String
    App description.
    driftStatus AppDriftStatus
    Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
    eventSubscriptions List<AppEventSubscription>
    The list of events you would like to subscribe and get notification for.
    permissionModel AppPermissionModel
    resiliencyPolicyArn String
    Amazon Resource Name (ARN) of the Resiliency Policy.
    resourceMappings List<AppResourceMapping>
    An array of ResourceMapping objects.
    tags Map<String,String>
    appArn string
    Amazon Resource Name (ARN) of the App.
    appAssessmentSchedule AppAssessmentSchedule
    Assessment execution schedule.
    appTemplateBody string
    A string containing full ResilienceHub app template body.
    description string
    App description.
    driftStatus AppDriftStatus
    Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
    eventSubscriptions AppEventSubscription[]
    The list of events you would like to subscribe and get notification for.
    permissionModel AppPermissionModel
    resiliencyPolicyArn string
    Amazon Resource Name (ARN) of the Resiliency Policy.
    resourceMappings AppResourceMapping[]
    An array of ResourceMapping objects.
    tags {[key: string]: string}
    app_arn str
    Amazon Resource Name (ARN) of the App.
    app_assessment_schedule AppAssessmentSchedule
    Assessment execution schedule.
    app_template_body str
    A string containing full ResilienceHub app template body.
    description str
    App description.
    drift_status AppDriftStatus
    Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
    event_subscriptions Sequence[AppEventSubscription]
    The list of events you would like to subscribe and get notification for.
    permission_model AppPermissionModel
    resiliency_policy_arn str
    Amazon Resource Name (ARN) of the Resiliency Policy.
    resource_mappings Sequence[AppResourceMapping]
    An array of ResourceMapping objects.
    tags Mapping[str, str]
    appArn String
    Amazon Resource Name (ARN) of the App.
    appAssessmentSchedule "Disabled" | "Daily"
    Assessment execution schedule.
    appTemplateBody String
    A string containing full ResilienceHub app template body.
    description String
    App description.
    driftStatus "NotChecked" | "NotDetected" | "Detected"
    Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
    eventSubscriptions List<Property Map>
    The list of events you would like to subscribe and get notification for.
    permissionModel Property Map
    resiliencyPolicyArn String
    Amazon Resource Name (ARN) of the Resiliency Policy.
    resourceMappings List<Property Map>
    An array of ResourceMapping objects.
    tags Map<String>

    Supporting Types

    AppAssessmentSchedule

    AppDriftStatus

    AppEventSubscription

    EventType Pulumi.AwsNative.ResilienceHub.AppEventSubscriptionEventType
    The type of event you would like to subscribe and get notification for.
    Name string
    Unique name to identify an event subscription.
    SnsTopicArn string
    Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
    EventType AppEventSubscriptionEventType
    The type of event you would like to subscribe and get notification for.
    Name string
    Unique name to identify an event subscription.
    SnsTopicArn string
    Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
    eventType AppEventSubscriptionEventType
    The type of event you would like to subscribe and get notification for.
    name String
    Unique name to identify an event subscription.
    snsTopicArn String
    Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
    eventType AppEventSubscriptionEventType
    The type of event you would like to subscribe and get notification for.
    name string
    Unique name to identify an event subscription.
    snsTopicArn string
    Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
    event_type AppEventSubscriptionEventType
    The type of event you would like to subscribe and get notification for.
    name str
    Unique name to identify an event subscription.
    sns_topic_arn str
    Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
    eventType "ScheduledAssessmentFailure" | "DriftDetected"
    The type of event you would like to subscribe and get notification for.
    name String
    Unique name to identify an event subscription.
    snsTopicArn String
    Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.

    AppEventSubscriptionEventType

    AppPermissionModel

    Type Pulumi.AwsNative.ResilienceHub.AppPermissionModelType
    Defines how AWS Resilience Hub scans your resources. It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user.
    CrossAccountRoleArns List<string>
    Defines a list of role Amazon Resource Names (ARNs) to be used in other accounts. These ARNs are used for querying purposes while importing resources and assessing your application.
    InvokerRoleName string
    Existing AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.
    Type AppPermissionModelType
    Defines how AWS Resilience Hub scans your resources. It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user.
    CrossAccountRoleArns []string
    Defines a list of role Amazon Resource Names (ARNs) to be used in other accounts. These ARNs are used for querying purposes while importing resources and assessing your application.
    InvokerRoleName string
    Existing AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.
    type AppPermissionModelType
    Defines how AWS Resilience Hub scans your resources. It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user.
    crossAccountRoleArns List<String>
    Defines a list of role Amazon Resource Names (ARNs) to be used in other accounts. These ARNs are used for querying purposes while importing resources and assessing your application.
    invokerRoleName String
    Existing AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.
    type AppPermissionModelType
    Defines how AWS Resilience Hub scans your resources. It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user.
    crossAccountRoleArns string[]
    Defines a list of role Amazon Resource Names (ARNs) to be used in other accounts. These ARNs are used for querying purposes while importing resources and assessing your application.
    invokerRoleName string
    Existing AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.
    type AppPermissionModelType
    Defines how AWS Resilience Hub scans your resources. It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user.
    cross_account_role_arns Sequence[str]
    Defines a list of role Amazon Resource Names (ARNs) to be used in other accounts. These ARNs are used for querying purposes while importing resources and assessing your application.
    invoker_role_name str
    Existing AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.
    type "LegacyIAMUser" | "RoleBased"
    Defines how AWS Resilience Hub scans your resources. It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user.
    crossAccountRoleArns List<String>
    Defines a list of role Amazon Resource Names (ARNs) to be used in other accounts. These ARNs are used for querying purposes while importing resources and assessing your application.
    invokerRoleName String
    Existing AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.

    AppPermissionModelType

    AppPhysicalResourceId

    Identifier string
    Type string
    AwsAccountId string
    AwsRegion string
    Identifier string
    Type string
    AwsAccountId string
    AwsRegion string
    identifier String
    type String
    awsAccountId String
    awsRegion String
    identifier string
    type string
    awsAccountId string
    awsRegion string
    identifier String
    type String
    awsAccountId String
    awsRegion String

    AppResourceMapping

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi