class Aws::ResilienceHub::Types::ResourceMapping

Defines a resource mapping.

@note When making an API call, you may pass ResourceMapping

data as a hash:

    {
      app_registry_app_name: "EntityName",
      logical_stack_name: "String255",
      mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup
      physical_resource_id: { # required
        aws_account_id: "CustomerId",
        aws_region: "AwsRegion",
        identifier: "String255", # required
        type: "Arn", # required, accepts Arn, Native
      },
      resource_group_name: "EntityName",
      resource_name: "EntityName",
    }

@!attribute [rw] app_registry_app_name

The name of the application this resource is mapped to.
@return [String]

@!attribute [rw] logical_stack_name

The name of the CloudFormation stack this resource is mapped to.
@return [String]

@!attribute [rw] mapping_type

Specifies the type of resource mapping.

AppRegistryApp

: The resource is mapped to another application. The name of the
  application is contained in the `appRegistryAppName` property.

CfnStack

: The resource is mapped to a CloudFormation stack. The name of the
  CloudFormation stack is contained in the `logicalStackName`
  property.

Resource

: The resource is mapped to another resource. The name of the
  resource is contained in the `resourceName` property.

ResourceGroup

: The resource is mapped to a resource group. The name of the
  resource group is contained in the `resourceGroupName` property.
@return [String]

@!attribute [rw] physical_resource_id

The identifier of this resource.
@return [Types::PhysicalResourceId]

@!attribute [rw] resource_group_name

The name of the resource group this resource is mapped to.
@return [String]

@!attribute [rw] resource_name

The name of the resource this resource is mapped to.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResourceMapping AWS API Documentation

Constants

SENSITIVE