AWS Native is in preview. AWS Classic is fully supported.
aws-native.resiliencehub.App
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type Definition for AWS::ResilienceHub::App.
Create App Resource
new App(name: string, args: AppArgs, opts?: CustomResourceOptions);
@overload
def App(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_assessment_schedule: Optional[AppAssessmentSchedule] = None,
app_template_body: Optional[str] = None,
description: Optional[str] = None,
event_subscriptions: Optional[Sequence[AppEventSubscriptionArgs]] = None,
name: Optional[str] = None,
permission_model: Optional[AppPermissionModelArgs] = None,
resiliency_policy_arn: Optional[str] = None,
resource_mappings: Optional[Sequence[AppResourceMappingArgs]] = None,
tags: Optional[AppTagMapArgs] = None)
@overload
def App(resource_name: str,
args: AppArgs,
opts: Optional[ResourceOptions] = None)
func NewApp(ctx *Context, name string, args AppArgs, opts ...ResourceOption) (*App, error)
public App(string name, AppArgs args, CustomResourceOptions? opts = null)
type: aws-native:resiliencehub:App
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
App Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The App resource accepts the following input properties:
- App
Template stringBody A string containing full ResilienceHub app template body.
- Resource
Mappings List<Pulumi.Aws Native. Resilience Hub. Inputs. App Resource Mapping> An array of ResourceMapping objects.
- App
Assessment Pulumi.Schedule Aws Native. Resilience Hub. App Assessment Schedule Assessment execution schedule.
- Description string
App description.
- Event
Subscriptions List<Pulumi.Aws Native. Resilience Hub. Inputs. App Event Subscription> The list of events you would like to subscribe and get notification for.
- Name string
Name of the app.
- Permission
Model Pulumi.Aws Native. Resilience Hub. Inputs. App Permission Model - Resiliency
Policy stringArn Amazon Resource Name (ARN) of the Resiliency Policy.
- Pulumi.
Aws Native. Resilience Hub. Inputs. App Tag Map
- App
Template stringBody A string containing full ResilienceHub app template body.
- Resource
Mappings []AppResource Mapping Args An array of ResourceMapping objects.
- App
Assessment AppSchedule Assessment Schedule Assessment execution schedule.
- Description string
App description.
- Event
Subscriptions []AppEvent Subscription Args The list of events you would like to subscribe and get notification for.
- Name string
Name of the app.
- Permission
Model AppPermission Model Args - Resiliency
Policy stringArn Amazon Resource Name (ARN) of the Resiliency Policy.
- App
Tag Map Args
- app
Template StringBody A string containing full ResilienceHub app template body.
- resource
Mappings List<AppResource Mapping> An array of ResourceMapping objects.
- app
Assessment AppSchedule Assessment Schedule Assessment execution schedule.
- description String
App description.
- event
Subscriptions List<AppEvent Subscription> The list of events you would like to subscribe and get notification for.
- name String
Name of the app.
- permission
Model AppPermission Model - resiliency
Policy StringArn Amazon Resource Name (ARN) of the Resiliency Policy.
- App
Tag Map
- app
Template stringBody A string containing full ResilienceHub app template body.
- resource
Mappings AppResource Mapping[] An array of ResourceMapping objects.
- app
Assessment AppSchedule Assessment Schedule Assessment execution schedule.
- description string
App description.
- event
Subscriptions AppEvent Subscription[] The list of events you would like to subscribe and get notification for.
- name string
Name of the app.
- permission
Model AppPermission Model - resiliency
Policy stringArn Amazon Resource Name (ARN) of the Resiliency Policy.
- App
Tag Map
- app_
template_ strbody A string containing full ResilienceHub app template body.
- resource_
mappings Sequence[AppResource Mapping Args] An array of ResourceMapping objects.
- app_
assessment_ Appschedule Assessment Schedule Assessment execution schedule.
- description str
App description.
- event_
subscriptions Sequence[AppEvent Subscription Args] The list of events you would like to subscribe and get notification for.
- name str
Name of the app.
- permission_
model AppPermission Model Args - resiliency_
policy_ strarn Amazon Resource Name (ARN) of the Resiliency Policy.
- App
Tag Map Args
- app
Template StringBody A string containing full ResilienceHub app template body.
- resource
Mappings List<Property Map> An array of ResourceMapping objects.
- app
Assessment "Disabled" | "Daily"Schedule Assessment execution schedule.
- description String
App description.
- event
Subscriptions List<Property Map> The list of events you would like to subscribe and get notification for.
- name String
Name of the app.
- permission
Model Property Map - resiliency
Policy StringArn Amazon Resource Name (ARN) of the Resiliency Policy.
- Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:
- App
Arn string Amazon Resource Name (ARN) of the App.
- Drift
Status Pulumi.Aws Native. Resilience Hub. App Drift Status Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- Id string
The provider-assigned unique ID for this managed resource.
- App
Arn string Amazon Resource Name (ARN) of the App.
- Drift
Status AppDrift Status Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- Id string
The provider-assigned unique ID for this managed resource.
- app
Arn String Amazon Resource Name (ARN) of the App.
- drift
Status AppDrift Status Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- id String
The provider-assigned unique ID for this managed resource.
- app
Arn string Amazon Resource Name (ARN) of the App.
- drift
Status AppDrift Status Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- id string
The provider-assigned unique ID for this managed resource.
- app_
arn str Amazon Resource Name (ARN) of the App.
- drift_
status AppDrift Status Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- id str
The provider-assigned unique ID for this managed resource.
- app
Arn String Amazon Resource Name (ARN) of the App.
- drift
Status "NotChecked" | "Not Detected" | "Detected" Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
- id String
The provider-assigned unique ID for this managed resource.
Supporting Types
AppAssessmentSchedule, AppAssessmentScheduleArgs
- Disabled
- Disabled
- Daily
- Daily
- App
Assessment Schedule Disabled - Disabled
- App
Assessment Schedule Daily - Daily
- Disabled
- Disabled
- Daily
- Daily
- Disabled
- Disabled
- Daily
- Daily
- DISABLED
- Disabled
- DAILY
- Daily
- "Disabled"
- Disabled
- "Daily"
- Daily
AppDriftStatus, AppDriftStatusArgs
- Not
Checked - NotChecked
- Not
Detected - NotDetected
- Detected
- Detected
- App
Drift Status Not Checked - NotChecked
- App
Drift Status Not Detected - NotDetected
- App
Drift Status Detected - Detected
- Not
Checked - NotChecked
- Not
Detected - NotDetected
- Detected
- Detected
- Not
Checked - NotChecked
- Not
Detected - NotDetected
- Detected
- Detected
- NOT_CHECKED
- NotChecked
- NOT_DETECTED
- NotDetected
- DETECTED
- Detected
- "Not
Checked" - NotChecked
- "Not
Detected" - NotDetected
- "Detected"
- Detected
AppEventSubscription, AppEventSubscriptionArgs
- 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, AppEventSubscriptionEventTypeArgs
- Scheduled
Assessment Failure - ScheduledAssessmentFailure
- Drift
Detected - DriftDetected
- App
Event Subscription Event Type Scheduled Assessment Failure - ScheduledAssessmentFailure
- App
Event Subscription Event Type Drift Detected - DriftDetected
- Scheduled
Assessment Failure - ScheduledAssessmentFailure
- Drift
Detected - DriftDetected
- Scheduled
Assessment Failure - ScheduledAssessmentFailure
- Drift
Detected - DriftDetected
- SCHEDULED_ASSESSMENT_FAILURE
- ScheduledAssessmentFailure
- DRIFT_DETECTED
- DriftDetected
- "Scheduled
Assessment Failure" - ScheduledAssessmentFailure
- "Drift
Detected" - DriftDetected
AppPermissionModel, AppPermissionModelArgs
- 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, AppPermissionModelTypeArgs
- Legacy
Iam User - LegacyIAMUser
- Role
Based - RoleBased
- App
Permission Model Type Legacy Iam User - LegacyIAMUser
- App
Permission Model Type Role Based - RoleBased
- Legacy
Iam User - LegacyIAMUser
- Role
Based - RoleBased
- Legacy
Iam User - LegacyIAMUser
- Role
Based - RoleBased
- LEGACY_IAM_USER
- LegacyIAMUser
- ROLE_BASED
- RoleBased
- "Legacy
IAMUser" - LegacyIAMUser
- "Role
Based" - RoleBased
AppPhysicalResourceId, AppPhysicalResourceIdArgs
- 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, AppResourceMappingArgs
- 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.