Skip to content

ResourceTargetDefinition

Source code in docs_src/capo_service_catalog/types/resource_target_definition.py
class ResourceTargetDefinition(TypedDict, closed=True):
    attribute: NotRequired[
        "capo_service_catalog.types.resource_attribute.ResourceAttribute"
    ]
    """<p>The attribute to be changed.</p>"""
    name: NotRequired["capo_service_catalog.types.property_name.PropertyName"]
    """<p>If the attribute is <code>Properties</code>, the value is the name of the property. Otherwise, the value is null.</p>"""
    requires_recreation: NotRequired[
        "capo_service_catalog.types.requires_recreation.RequiresRecreation"
    ]
    """<p>If the attribute is <code>Properties</code>, indicates whether a change to this property causes the resource to be re-created.</p>"""

attribute instance-attribute

attribute: NotRequired[ResourceAttribute]

The attribute to be changed.

name instance-attribute

name: NotRequired[PropertyName]

If the attribute is Properties, the value is the name of the property. Otherwise, the value is null.

requires_recreation instance-attribute

requires_recreation: NotRequired[RequiresRecreation]

If the attribute is Properties, indicates whether a change to this property causes the resource to be re-created.