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

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

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.resiliencehub.App

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

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

    Create App Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new App(name: string, args: AppArgs, opts?: CustomResourceOptions);
    @overload
    def App(resource_name: str,
            args: AppArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def App(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            app_template_body: Optional[str] = None,
            resource_mappings: Optional[Sequence[AppResourceMappingArgs]] = None,
            app_assessment_schedule: Optional[AppAssessmentSchedule] = 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,
            tags: Optional[Mapping[str, str]] = None)
    func NewApp(ctx *Context, name string, args AppArgs, opts ...ResourceOption) (*App, error)
    public App(string name, AppArgs args, CustomResourceOptions? opts = null)
    public App(String name, AppArgs args)
    public App(String name, AppArgs args, CustomResourceOptions options)
    
    type: aws-native:resiliencehub:App
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const aws_nativeAppResource = new aws_native.resiliencehub.App("aws-nativeAppResource", {
        appTemplateBody: "string",
        resourceMappings: [{
            mappingType: "string",
            physicalResourceId: {
                identifier: "string",
                type: "string",
                awsAccountId: "string",
                awsRegion: "string",
            },
            eksSourceName: "string",
            logicalStackName: "string",
            resourceName: "string",
            terraformSourceName: "string",
        }],
        appAssessmentSchedule: aws_native.resiliencehub.AppAssessmentSchedule.Disabled,
        description: "string",
        eventSubscriptions: [{
            eventType: aws_native.resiliencehub.AppEventSubscriptionEventType.ScheduledAssessmentFailure,
            name: "string",
            snsTopicArn: "string",
        }],
        name: "string",
        permissionModel: {
            type: aws_native.resiliencehub.AppPermissionModelType.LegacyIamUser,
            crossAccountRoleArns: ["string"],
            invokerRoleName: "string",
        },
        resiliencyPolicyArn: "string",
        tags: {
            string: "string",
        },
    });
    
    Coming soon!
    

    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:

    AppTemplateBody string
    A string containing full ResilienceHub app template body.
    ResourceMappings List<Pulumi.AwsNative.ResilienceHub.Inputs.AppResourceMapping>
    An array of ResourceMapping objects.
    AppAssessmentSchedule Pulumi.AwsNative.ResilienceHub.AppAssessmentSchedule
    Assessment execution schedule.
    Description string
    App description.
    EventSubscriptions List<Pulumi.AwsNative.ResilienceHub.Inputs.AppEventSubscription>
    The list of events you would like to subscribe and get notification for.
    Name string
    Name of the app.
    PermissionModel Pulumi.AwsNative.ResilienceHub.Inputs.AppPermissionModel
    ResiliencyPolicyArn string
    Amazon Resource Name (ARN) of the Resiliency Policy.
    Tags Dictionary<string, string>
    AppTemplateBody string
    A string containing full ResilienceHub app template body.
    ResourceMappings []AppResourceMappingArgs
    An array of ResourceMapping objects.
    AppAssessmentSchedule AppAssessmentSchedule
    Assessment execution schedule.
    Description string
    App description.
    EventSubscriptions []AppEventSubscriptionArgs
    The list of events you would like to subscribe and get notification for.
    Name string
    Name of the app.
    PermissionModel AppPermissionModelArgs
    ResiliencyPolicyArn string
    Amazon Resource Name (ARN) of the Resiliency Policy.
    Tags map[string]string
    appTemplateBody String
    A string containing full ResilienceHub app template body.
    resourceMappings List<AppResourceMapping>
    An array of ResourceMapping objects.
    appAssessmentSchedule AppAssessmentSchedule
    Assessment execution schedule.
    description String
    App description.
    eventSubscriptions List<AppEventSubscription>
    The list of events you would like to subscribe and get notification for.
    name String
    Name of the app.
    permissionModel AppPermissionModel
    resiliencyPolicyArn String
    Amazon Resource Name (ARN) of the Resiliency Policy.
    tags Map<String,String>
    appTemplateBody string
    A string containing full ResilienceHub app template body.
    resourceMappings AppResourceMapping[]
    An array of ResourceMapping objects.
    appAssessmentSchedule AppAssessmentSchedule
    Assessment execution schedule.
    description string
    App description.
    eventSubscriptions AppEventSubscription[]
    The list of events you would like to subscribe and get notification for.
    name string
    Name of the app.
    permissionModel AppPermissionModel
    resiliencyPolicyArn string
    Amazon Resource Name (ARN) of the Resiliency Policy.
    tags {[key: string]: string}
    app_template_body str
    A string containing full ResilienceHub app template body.
    resource_mappings Sequence[AppResourceMappingArgs]
    An array of ResourceMapping objects.
    app_assessment_schedule AppAssessmentSchedule
    Assessment execution schedule.
    description str
    App description.
    event_subscriptions Sequence[AppEventSubscriptionArgs]
    The list of events you would like to subscribe and get notification for.
    name str
    Name of the app.
    permission_model AppPermissionModelArgs
    resiliency_policy_arn str
    Amazon Resource Name (ARN) of the Resiliency Policy.
    tags Mapping[str, str]
    appTemplateBody String
    A string containing full ResilienceHub app template body.
    resourceMappings List<Property Map>
    An array of ResourceMapping objects.
    appAssessmentSchedule "Disabled" | "Daily"
    Assessment execution schedule.
    description String
    App description.
    eventSubscriptions List<Property Map>
    The list of events you would like to subscribe and get notification for.
    name String
    Name of the app.
    permissionModel Property Map
    resiliencyPolicyArn String
    Amazon Resource Name (ARN) of the Resiliency Policy.
    tags Map<String>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:

    AppArn string
    Amazon Resource Name (ARN) of the App.
    DriftStatus Pulumi.AwsNative.ResilienceHub.AppDriftStatus
    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.
    AppArn string
    Amazon Resource Name (ARN) of the App.
    DriftStatus AppDriftStatus
    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.
    appArn String
    Amazon Resource Name (ARN) of the App.
    driftStatus AppDriftStatus
    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.
    appArn string
    Amazon Resource Name (ARN) of the App.
    driftStatus AppDriftStatus
    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 AppDriftStatus
    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.
    appArn String
    Amazon Resource Name (ARN) of the App.
    driftStatus "NotChecked" | "NotDetected" | "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
    AppAssessmentScheduleDisabled
    Disabled
    AppAssessmentScheduleDaily
    Daily
    Disabled
    Disabled
    Daily
    Daily
    Disabled
    Disabled
    Daily
    Daily
    DISABLED
    Disabled
    DAILY
    Daily
    "Disabled"
    Disabled
    "Daily"
    Daily

    AppDriftStatus, AppDriftStatusArgs

    NotChecked
    NotChecked
    NotDetected
    NotDetected
    Detected
    Detected
    AppDriftStatusNotChecked
    NotChecked
    AppDriftStatusNotDetected
    NotDetected
    AppDriftStatusDetected
    Detected
    NotChecked
    NotChecked
    NotDetected
    NotDetected
    Detected
    Detected
    NotChecked
    NotChecked
    NotDetected
    NotDetected
    Detected
    Detected
    NOT_CHECKED
    NotChecked
    NOT_DETECTED
    NotDetected
    DETECTED
    Detected
    "NotChecked"
    NotChecked
    "NotDetected"
    NotDetected
    "Detected"
    Detected

    AppEventSubscription, AppEventSubscriptionArgs

    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, AppEventSubscriptionEventTypeArgs

    ScheduledAssessmentFailure
    ScheduledAssessmentFailure
    DriftDetected
    DriftDetected
    AppEventSubscriptionEventTypeScheduledAssessmentFailure
    ScheduledAssessmentFailure
    AppEventSubscriptionEventTypeDriftDetected
    DriftDetected
    ScheduledAssessmentFailure
    ScheduledAssessmentFailure
    DriftDetected
    DriftDetected
    ScheduledAssessmentFailure
    ScheduledAssessmentFailure
    DriftDetected
    DriftDetected
    SCHEDULED_ASSESSMENT_FAILURE
    ScheduledAssessmentFailure
    DRIFT_DETECTED
    DriftDetected
    "ScheduledAssessmentFailure"
    ScheduledAssessmentFailure
    "DriftDetected"
    DriftDetected

    AppPermissionModel, AppPermissionModelArgs

    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, AppPermissionModelTypeArgs

    LegacyIamUser
    LegacyIAMUser
    RoleBased
    RoleBased
    AppPermissionModelTypeLegacyIamUser
    LegacyIAMUser
    AppPermissionModelTypeRoleBased
    RoleBased
    LegacyIamUser
    LegacyIAMUser
    RoleBased
    RoleBased
    LegacyIamUser
    LegacyIAMUser
    RoleBased
    RoleBased
    LEGACY_IAM_USER
    LegacyIAMUser
    ROLE_BASED
    RoleBased
    "LegacyIAMUser"
    LegacyIAMUser
    "RoleBased"
    RoleBased

    AppPhysicalResourceId, AppPhysicalResourceIdArgs

    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, AppResourceMappingArgs

    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.102.0 published on Tuesday, Apr 16, 2024 by Pulumi