Skip to content

Resource

Source code in docs_src/capo_greengrass/types/resource.py
class Resource(TypedDict, closed=True):
    id: NotRequired["capo_greengrass.types.__string.__string"]
    """The resource ID, used to refer to a resource in the Lambda function configuration. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group."""
    name: NotRequired["capo_greengrass.types.__string.__string"]
    """The descriptive resource name, which is displayed on the AWS IoT Greengrass console. Max length 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group."""
    resource_data_container: NotRequired[
        "capo_greengrass.types.resource_data_container.ResourceDataContainer"
    ]
    """A container of data for all resource types."""

id instance-attribute

id: NotRequired[__string]

The resource ID, used to refer to a resource in the Lambda function configuration. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.

name instance-attribute

name: NotRequired[__string]

The descriptive resource name, which is displayed on the AWS IoT Greengrass console. Max length 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.

resource_data_container instance-attribute

resource_data_container: NotRequired[ResourceDataContainer]

A container of data for all resource types.