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 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:
- 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 - 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>
- 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 - Resiliency
Policy stringArn - Amazon Resource Name (ARN) of the Resiliency Policy.
- Resource
Mappings []AppResource Mapping - An array of ResourceMapping objects.
- map[string]string
- 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 - resiliency
Policy StringArn - Amazon Resource Name (ARN) of the Resiliency Policy.
- resource
Mappings List<AppResource Mapping> - An array of ResourceMapping objects.
- Map<String,String>
- 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 - resiliency
Policy stringArn - Amazon Resource Name (ARN) of the Resiliency Policy.
- resource
Mappings AppResource Mapping[] - An array of ResourceMapping objects.
- {[key: string]: string}
- 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 - resiliency_
policy_ strarn - Amazon Resource Name (ARN) of the Resiliency Policy.
- resource_
mappings Sequence[AppResource Mapping] - An array of ResourceMapping objects.
- Mapping[str, str]
- 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 - resiliency
Policy StringArn - Amazon Resource Name (ARN) of the Resiliency Policy.
- resource
Mappings List<Property Map> - An array of ResourceMapping objects.
- Map<String>
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
- Type string
- Aws
Account stringId - Aws
Region string
- Identifier string
- Type string
- Aws
Account stringId - Aws
Region string
- identifier String
- type String
- aws
Account StringId - aws
Region String
- identifier string
- type string
- aws
Account stringId - aws
Region string
- identifier str
- type str
- aws_
account_ strid - aws_
region str
- identifier String
- type String
- aws
Account StringId - aws
Region String
AppResourceMapping
- Mapping
Type string - Physical
Resource AppId Physical Resource Id - Eks
Source stringName - Logical
Stack stringName - Resource
Name string - Terraform
Source stringName
- mapping
Type String - physical
Resource AppId Physical Resource Id - eks
Source StringName - logical
Stack StringName - resource
Name String - terraform
Source StringName
- mapping
Type string - physical
Resource AppId Physical Resource Id - eks
Source stringName - logical
Stack stringName - resource
Name string - terraform
Source stringName
- mapping
Type String - physical
Resource Property MapId - eks
Source StringName - logical
Stack StringName - resource
Name String - terraform
Source StringName
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi