We recommend new projects start with resources from the AWS provider.
aws-native.resiliencehub.getApp
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- App
Arn string - Amazon Resource Name (ARN) of the App.
- App
Arn string - Amazon Resource Name (ARN) of the App.
- app
Arn String - Amazon Resource Name (ARN) of the App.
- app
Arn string - Amazon Resource Name (ARN) of the App.
- app_
arn str - Amazon Resource Name (ARN) of the App.
- app
Arn String - Amazon Resource Name (ARN) of the App.
getApp Result
The following output properties are available:
- App
Arn string - Amazon Resource Name (ARN) of the App.
- App
Assessment Pulumi.Schedule Aws Native. Resilience Hub. App Assessment Schedule - Assessment execution schedule.
- App
Template stringBody - A string containing full ResilienceHub app template body.
- Description string
- App description.
- Drift
Status Pulumi.Aws Native. Resilience Hub. App Drift Status - Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- Event
Subscriptions List<Pulumi.Aws Native. Resilience Hub. Outputs. App Event Subscription> - The list of events you would like to subscribe and get notification for.
- Permission
Model Pulumi.Aws Native. Resilience Hub. Outputs. App Permission Model - Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
- Resiliency
Policy stringArn - Amazon Resource Name (ARN) of the Resiliency Policy.
- Resource
Mappings List<Pulumi.Aws Native. Resilience Hub. Outputs. App Resource Mapping> - An array of ResourceMapping objects.
- Dictionary<string, string>
- 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.
- App
Arn string - Amazon Resource Name (ARN) of the App.
- App
Assessment AppSchedule Assessment Schedule - Assessment execution schedule.
- App
Template stringBody - A string containing full ResilienceHub app template body.
- Description string
- App description.
- Drift
Status AppDrift Status - Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- Event
Subscriptions []AppEvent Subscription - The list of events you would like to subscribe and get notification for.
- Permission
Model AppPermission Model - Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
- Resiliency
Policy stringArn - Amazon Resource Name (ARN) of the Resiliency Policy.
- Resource
Mappings []AppResource Mapping - An array of ResourceMapping objects.
- map[string]string
- 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.
- app
Arn String - Amazon Resource Name (ARN) of the App.
- app
Assessment AppSchedule Assessment Schedule - Assessment execution schedule.
- app
Template StringBody - A string containing full ResilienceHub app template body.
- description String
- App description.
- drift
Status AppDrift Status - Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- event
Subscriptions List<AppEvent Subscription> - The list of events you would like to subscribe and get notification for.
- permission
Model AppPermission Model - Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
- resiliency
Policy StringArn - Amazon Resource Name (ARN) of the Resiliency Policy.
- resource
Mappings List<AppResource Mapping> - An array of ResourceMapping objects.
- Map<String,String>
- 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.
- app
Arn string - Amazon Resource Name (ARN) of the App.
- app
Assessment AppSchedule Assessment Schedule - Assessment execution schedule.
- app
Template stringBody - A string containing full ResilienceHub app template body.
- description string
- App description.
- drift
Status AppDrift Status - Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- event
Subscriptions AppEvent Subscription[] - The list of events you would like to subscribe and get notification for.
- permission
Model AppPermission Model - Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
- resiliency
Policy stringArn - Amazon Resource Name (ARN) of the Resiliency Policy.
- resource
Mappings AppResource Mapping[] - An array of ResourceMapping objects.
- {[key: string]: string}
- 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.
- app_
arn str - Amazon Resource Name (ARN) of the App.
- app_
assessment_ Appschedule Assessment Schedule - Assessment execution schedule.
- app_
template_ strbody - A string containing full ResilienceHub app template body.
- description str
- App description.
- drift_
status AppDrift Status - Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- event_
subscriptions Sequence[AppEvent Subscription] - The list of events you would like to subscribe and get notification for.
- permission_
model AppPermission Model - Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
- resiliency_
policy_ strarn - Amazon Resource Name (ARN) of the Resiliency Policy.
- resource_
mappings Sequence[AppResource Mapping] - An array of ResourceMapping objects.
- Mapping[str, str]
- 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.
- app
Arn String - Amazon Resource Name (ARN) of the App.
- app
Assessment "Disabled" | "Daily"Schedule - Assessment execution schedule.
- app
Template StringBody - A string containing full ResilienceHub app template body.
- description String
- App description.
- drift
Status "NotChecked" | "Not Detected" | "Detected" - Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- event
Subscriptions List<Property Map> - The list of events you would like to subscribe and get notification for.
- permission
Model Property Map - Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
- resiliency
Policy StringArn - Amazon Resource Name (ARN) of the Resiliency Policy.
- resource
Mappings List<Property Map> - An array of ResourceMapping objects.
- Map<String>
- 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.
Supporting Types
AppAssessmentSchedule
AppDriftStatus
AppEventSubscription
- Event
Type Pulumi.Aws Native. Resilience Hub. App Event Subscription Event Type - The type of event you would like to subscribe and get notification for.
- Name string
- Unique name to identify an event subscription.
- Sns
Topic stringArn - Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
- Event
Type AppEvent Subscription Event Type - The type of event you would like to subscribe and get notification for.
- Name string
- Unique name to identify an event subscription.
- Sns
Topic stringArn - Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
- event
Type AppEvent Subscription Event Type - The type of event you would like to subscribe and get notification for.
- name String
- Unique name to identify an event subscription.
- sns
Topic StringArn - Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
- event
Type AppEvent Subscription Event Type - The type of event you would like to subscribe and get notification for.
- name string
- Unique name to identify an event subscription.
- sns
Topic stringArn - Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
- event_
type AppEvent Subscription Event Type - The type of event you would like to subscribe and get notification for.
- name str
- Unique name to identify an event subscription.
- sns_
topic_ strarn - Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
- event
Type "ScheduledAssessment Failure" | "Drift Detected" - The type of event you would like to subscribe and get notification for.
- name String
- Unique name to identify an event subscription.
- sns
Topic StringArn - Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
AppEventSubscriptionEventType
AppPermissionModel
- Type
Pulumi.
Aws Native. Resilience Hub. App Permission Model Type - 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 List<string>Role Arns - 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 stringName - 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
App
Permission Model Type - 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 []stringRole Arns - 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 stringName - 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
App
Permission Model Type - 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 List<String>Role Arns - 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 StringName - 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
App
Permission Model Type - 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 string[]Role Arns - 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 stringName - 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
App
Permission Model Type - 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_ Sequence[str]role_ arns - 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_ strname - 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
"Legacy
IAMUser" | "Role Based" - 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 List<String>Role Arns - 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 StringName - 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
- Identifier of the physical resource.
- Type string
Specifies the type of physical resource identifier.
Arn - The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
Native - The resource identifier is an AWS Resilience Hub -native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
- Aws
Account stringId - The AWS account that owns the physical resource.
- Aws
Region string - The AWS Region that the physical resource is located in.
- Identifier string
- Identifier of the physical resource.
- Type string
Specifies the type of physical resource identifier.
Arn - The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
Native - The resource identifier is an AWS Resilience Hub -native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
- Aws
Account stringId - The AWS account that owns the physical resource.
- Aws
Region string - The AWS Region that the physical resource is located in.
- identifier String
- Identifier of the physical resource.
- type String
Specifies the type of physical resource identifier.
Arn - The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
Native - The resource identifier is an AWS Resilience Hub -native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
- aws
Account StringId - The AWS account that owns the physical resource.
- aws
Region String - The AWS Region that the physical resource is located in.
- identifier string
- Identifier of the physical resource.
- type string
Specifies the type of physical resource identifier.
Arn - The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
Native - The resource identifier is an AWS Resilience Hub -native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
- aws
Account stringId - The AWS account that owns the physical resource.
- aws
Region string - The AWS Region that the physical resource is located in.
- identifier str
- Identifier of the physical resource.
- type str
Specifies the type of physical resource identifier.
Arn - The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
Native - The resource identifier is an AWS Resilience Hub -native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
- aws_
account_ strid - The AWS account that owns the physical resource.
- aws_
region str - The AWS Region that the physical resource is located in.
- identifier String
- Identifier of the physical resource.
- type String
Specifies the type of physical resource identifier.
Arn - The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
Native - The resource identifier is an AWS Resilience Hub -native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
- aws
Account StringId - The AWS account that owns the physical resource.
- aws
Region String - The AWS Region that the physical resource is located in.
AppResourceMapping
- Mapping
Type string - Specifies the type of resource mapping.
- Physical
Resource Pulumi.Id Aws Native. Resilience Hub. Inputs. App Physical Resource Id - Identifier of the physical resource.
- Eks
Source stringName Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingType
isEKS
.This parameter accepts values in "eks-cluster/namespace" format.
- Logical
Stack stringName - Name of the AWS CloudFormation stack this resource is mapped to when the
mappingType
isCfnStack
. - Resource
Name string - Name of the resource that this resource is mapped to when the
mappingType
isResource
. - Terraform
Source stringName - Name of the Terraform source that this resource is mapped to when the
mappingType
isTerraform
.
- Mapping
Type string - Specifies the type of resource mapping.
- Physical
Resource AppId Physical Resource Id - Identifier of the physical resource.
- Eks
Source stringName Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingType
isEKS
.This parameter accepts values in "eks-cluster/namespace" format.
- Logical
Stack stringName - Name of the AWS CloudFormation stack this resource is mapped to when the
mappingType
isCfnStack
. - Resource
Name string - Name of the resource that this resource is mapped to when the
mappingType
isResource
. - Terraform
Source stringName - Name of the Terraform source that this resource is mapped to when the
mappingType
isTerraform
.
- mapping
Type String - Specifies the type of resource mapping.
- physical
Resource AppId Physical Resource Id - Identifier of the physical resource.
- eks
Source StringName Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingType
isEKS
.This parameter accepts values in "eks-cluster/namespace" format.
- logical
Stack StringName - Name of the AWS CloudFormation stack this resource is mapped to when the
mappingType
isCfnStack
. - resource
Name String - Name of the resource that this resource is mapped to when the
mappingType
isResource
. - terraform
Source StringName - Name of the Terraform source that this resource is mapped to when the
mappingType
isTerraform
.
- mapping
Type string - Specifies the type of resource mapping.
- physical
Resource AppId Physical Resource Id - Identifier of the physical resource.
- eks
Source stringName Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingType
isEKS
.This parameter accepts values in "eks-cluster/namespace" format.
- logical
Stack stringName - Name of the AWS CloudFormation stack this resource is mapped to when the
mappingType
isCfnStack
. - resource
Name string - Name of the resource that this resource is mapped to when the
mappingType
isResource
. - terraform
Source stringName - Name of the Terraform source that this resource is mapped to when the
mappingType
isTerraform
.
- mapping_
type str - Specifies the type of resource mapping.
- physical_
resource_ Appid Physical Resource Id - Identifier of the physical resource.
- eks_
source_ strname Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingType
isEKS
.This parameter accepts values in "eks-cluster/namespace" format.
- logical_
stack_ strname - Name of the AWS CloudFormation stack this resource is mapped to when the
mappingType
isCfnStack
. - resource_
name str - Name of the resource that this resource is mapped to when the
mappingType
isResource
. - terraform_
source_ strname - Name of the Terraform source that this resource is mapped to when the
mappingType
isTerraform
.
- mapping
Type String - Specifies the type of resource mapping.
- physical
Resource Property MapId - Identifier of the physical resource.
- eks
Source StringName Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingType
isEKS
.This parameter accepts values in "eks-cluster/namespace" format.
- logical
Stack StringName - Name of the AWS CloudFormation stack this resource is mapped to when the
mappingType
isCfnStack
. - resource
Name String - Name of the resource that this resource is mapped to when the
mappingType
isResource
. - terraform
Source StringName - Name of the Terraform source that this resource is mapped to when the
mappingType
isTerraform
.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.