Skip to content

ResourceChange

Source code in docs_src/capo_service_catalog/types/resource_change.py
class ResourceChange(TypedDict, closed=True):
    action: NotRequired["capo_service_catalog.types.change_action.ChangeAction"]
    """<p>The change action.</p>"""
    logical_resource_id: NotRequired[
        "capo_service_catalog.types.logical_resource_id.LogicalResourceId"
    ]
    """<p>The ID of the resource, as defined in the CloudFormation template.</p>"""
    physical_resource_id: NotRequired[
        "capo_service_catalog.types.physical_resource_id.PhysicalResourceId"
    ]
    """<p>The ID of the resource, if it was already created.</p>"""
    resource_type: NotRequired[
        "capo_service_catalog.types.plan_resource_type.PlanResourceType"
    ]
    """<p>The type of resource.</p>"""
    replacement: NotRequired["capo_service_catalog.types.replacement.Replacement"]
    """<p>If the change type is <code>Modify</code>, indicates whether the existing resource is deleted and replaced with a new one.</p>"""
    scope: NotRequired["capo_service_catalog.types.scope.Scope"]
    """<p>The change scope.</p>"""
    details: NotRequired[
        "capo_service_catalog.types.resource_change_details.ResourceChangeDetails"
    ]
    """<p>Information about the resource changes.</p>"""

action instance-attribute

action: NotRequired[ChangeAction]

The change action.

details instance-attribute

details: NotRequired[ResourceChangeDetails]

Information about the resource changes.

logical_resource_id instance-attribute

logical_resource_id: NotRequired[LogicalResourceId]

The ID of the resource, as defined in the CloudFormation template.

physical_resource_id instance-attribute

physical_resource_id: NotRequired[PhysicalResourceId]

The ID of the resource, if it was already created.

replacement instance-attribute

replacement: NotRequired[Replacement]

If the change type is Modify, indicates whether the existing resource is deleted and replaced with a new one.

resource_type instance-attribute

resource_type: NotRequired[PlanResourceType]

The type of resource.

scope instance-attribute

scope: NotRequired[Scope]

The change scope.