Skip to content

ServiceNameAndResourceType

Source code in docs_src/capo_ram/types/service_name_and_resource_type.py
class ServiceNameAndResourceType(TypedDict, closed=True):
    resource_type: NotRequired["capo_ram.types.string.String"]
    """<p>The type of the resource. This takes the form of: <code>service-code</code>:<code>resource-code</code>, and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the string <code>ec2:subnet</code>.</p>"""
    service_name: NotRequired["capo_ram.types.string.String"]
    """<p>The name of the Amazon Web Services service to which resources of this type belong.</p>"""
    resource_region_scope: NotRequired[
        "capo_ram.types.resource_region_scope.ResourceRegionScope"
    ]
    """<p>Specifies the scope of visibility of resources of this type:</p> <ul> <li> <p> <b>REGIONAL</b> – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.</p> </li> <li> <p> <b>GLOBAL</b> – The resource can be accessed from any Amazon Web Services Region.</p> </li> </ul>"""

resource_region_scope instance-attribute

resource_region_scope: NotRequired[ResourceRegionScope]

Specifies the scope of visibility of resources of this type:

  • REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.

  • GLOBAL – The resource can be accessed from any Amazon Web Services Region.

resource_type instance-attribute

resource_type: NotRequired[String]

The type of the resource. This takes the form of: service-code:resource-code, and is case-insensitive. For example, an Amazon EC2 Subnet would be represented by the string ec2:subnet.

service_name instance-attribute

service_name: NotRequired[String]

The name of the Amazon Web Services service to which resources of this type belong.