Skip to content

Bedrock Agentcore Control  >  Unions  >  Resource

Resource

Union Type

Resource module-attribute

Resource = Union[ResourceArn | ResourceUnknown]

Represents a resource within the AgentCore Policy system. Resources are the targets of policy evaluation. Currently, only AgentCore Gateways are supported as resources for policy enforcement.

Union Member Types

ResourceArn dataclass

The Amazon Resource Name (ARN) of the resource. This globally unique identifier specifies the exact resource that policies will be evaluated against for access control decisions.

Attributes

value instance-attribute
value: str

ResourceUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str