awscc.resiliencehub_app

Filters

  • event

  • reduce

  • value

Actions

delete

Parent base class for filters and actions.

properties:
  type:
    enum:
    - delete
required:
- type

Permissions - resiliencehub:DeleteApp, resiliencehub:UntagResource, resiliencehub:ListApps

update

Parent base class for filters and actions.

definitions:
  PhysicalResourceId:
    additionalProperties: false
    properties:
      AwsAccountId:
        pattern: ^[0-9]{12}$
        type: string
      AwsRegion:
        pattern: ^[a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]$
        type: string
      Identifier:
        maxLength: 255
        minLength: 1
        type: string
      Type:
        pattern: Arn|Native
        type: string
    required:
    - Identifier
    - Type
    type: object
  ResourceMapping:
    additionalProperties: false
    description: Resource mapping is used to map logical resources from template to
      physical resource
    properties:
      LogicalStackName:
        type: string
      MappingType:
        pattern: CfnStack|Resource
        type: string
      PhysicalResourceId:
        additionalProperties: false
        properties:
          AwsAccountId:
            pattern: ^[0-9]{12}$
            type: string
          AwsRegion:
            pattern: ^[a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]$
            type: string
          Identifier:
            maxLength: 255
            minLength: 1
            type: string
          Type:
            pattern: Arn|Native
            type: string
        required:
        - Identifier
        - Type
        type: object
      ResourceName:
        pattern: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$
        type: string
    required:
    - MappingType
    - PhysicalResourceId
    type: object
  TagMap:
    additionalProperties: false
    patternProperties:
      .{1,128}:
        maxLength: 256
        type: string
    type: object
  TagValue:
    maxLength: 256
    type: string
properties:
  AppTemplateBody:
    description: A string containing full ResilienceHub app template body.
    maxLength: 5000
    minLength: 0
    pattern: ^[\w\s:,-\.'{}\[\]:"]+$
    type: string
  Description:
    description: App description.
    maxLength: 500
    minLength: 0
    type: string
  ResiliencyPolicyArn:
    description: Amazon Resource Name (ARN) of the Resiliency Policy.
    pattern: ^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$
    type: string
  ResourceMappings:
    description: An array of ResourceMapping objects.
    insertionOrder: false
    items:
      additionalProperties: false
      description: Resource mapping is used to map logical resources from template
        to physical resource
      properties:
        LogicalStackName:
          type: string
        MappingType:
          pattern: CfnStack|Resource
          type: string
        PhysicalResourceId:
          additionalProperties: false
          properties:
            AwsAccountId:
              pattern: ^[0-9]{12}$
              type: string
            AwsRegion:
              pattern: ^[a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]$
              type: string
            Identifier:
              maxLength: 255
              minLength: 1
              type: string
            Type:
              pattern: Arn|Native
              type: string
          required:
          - Identifier
          - Type
          type: object
        ResourceName:
          pattern: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$
          type: string
      required:
      - MappingType
      - PhysicalResourceId
      type: object
    type: array
    uniqueItems: false
  Tags:
    additionalProperties: false
    patternProperties:
      .{1,128}:
        maxLength: 256
        type: string
    type: object
  type:
    enum:
    - update

Permissions - cloudformation:DescribeStacks, cloudformation:ListStackResources, resiliencehub:UpdateApp, resiliencehub:PutDraftAppVersionTemplate, resiliencehub:AddDraftAppVersionResourceMappings, resiliencehub:RemoveDraftAppVersionResourceMappings, resiliencehub:PublishAppVersion, resiliencehub:TagResource, resiliencehub:UntagResource, resiliencehub:ListTagsForResource