Skip to content

ResourceMapping

Source code in docs_src/capo_resiliencehub/types/resource_mapping.py
class ResourceMapping(TypedDict, closed=True):
    resource_name: NotRequired["capo_resiliencehub.types.entity_name.EntityName"]
    """<p>Name of the resource that this resource is mapped to when the <code>mappingType</code> is <code>Resource</code>.</p>"""
    logical_stack_name: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>Name of the CloudFormation stack this resource is mapped to when the <code>mappingType</code> is <code>CfnStack</code>.</p>"""
    app_registry_app_name: NotRequired[
        "capo_resiliencehub.types.entity_name.EntityName"
    ]
    """<p>Name of the application this resource is mapped to when the <code>mappingType</code> is <code>AppRegistryApp</code>.</p>"""
    resource_group_name: NotRequired["capo_resiliencehub.types.entity_name.EntityName"]
    """<p>Name of the Resource Groups that this resource is mapped to when the <code>mappingType</code> is <code>ResourceGroup</code>.</p>"""
    mapping_type: "capo_resiliencehub.types.resource_mapping_type.ResourceMappingType"
    """<p>Specifies the type of resource mapping.</p>"""
    physical_resource_id: (
        "capo_resiliencehub.types.physical_resource_id.PhysicalResourceId"
    )
    """<p>Identifier of the physical resource.</p>"""
    terraform_source_name: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>Name of the Terraform source that this resource is mapped to when the <code>mappingType</code> is <code>Terraform</code>.</p>"""
    eks_source_name: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the <code>mappingType</code> is <code>EKS</code>.</p> <note> <p>This parameter accepts values in "eks-cluster/namespace" format.</p> </note>"""

app_registry_app_name instance-attribute

app_registry_app_name: NotRequired[EntityName]

Name of the application this resource is mapped to when the mappingType is AppRegistryApp.

eks_source_name instance-attribute

eks_source_name: NotRequired[String255]

Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType is EKS.

This parameter accepts values in "eks-cluster/namespace" format.

logical_stack_name instance-attribute

logical_stack_name: NotRequired[String255]

Name of the CloudFormation stack this resource is mapped to when the mappingType is CfnStack.

mapping_type instance-attribute

mapping_type: ResourceMappingType

Specifies the type of resource mapping.

physical_resource_id instance-attribute

physical_resource_id: PhysicalResourceId

Identifier of the physical resource.

resource_group_name instance-attribute

resource_group_name: NotRequired[EntityName]

Name of the Resource Groups that this resource is mapped to when the mappingType is ResourceGroup.

resource_name instance-attribute

resource_name: NotRequired[EntityName]

Name of the resource that this resource is mapped to when the mappingType is Resource.

terraform_source_name instance-attribute

terraform_source_name: NotRequired[String255]

Name of the Terraform source that this resource is mapped to when the mappingType is Terraform.