Skip to content

ResourceTypeRequest

Source code in docs_src/capo_ec2/types/resource_type_request.py
class ResourceTypeRequest(TypedDict, closed=True):
    resource_type: NotRequired[
        "capo_ec2.types.image_reference_resource_type.ImageReferenceResourceType"
    ]
    """<p>The resource type.</p>"""
    resource_type_options: NotRequired[
        "capo_ec2.types.resource_type_option_list.ResourceTypeOptionList"
    ]
    """<p>The options that affect the scope of the response. Valid only when <code>ResourceType</code> is <code>ec2:Instance</code> or <code>ec2:LaunchTemplate</code>.</p>"""

resource_type instance-attribute

resource_type: NotRequired[ImageReferenceResourceType]

The resource type.

resource_type_options instance-attribute

resource_type_options: NotRequired[ResourceTypeOptionList]

The options that affect the scope of the response. Valid only when ResourceType is ec2:Instance or ec2:LaunchTemplate.