AllowedWorkloadConfiguration¶
Structure Class¶
AllowedWorkloadConfiguration
dataclass
¶
The configuration that restricts which workloads in the request's identity chain are allowed to invoke the target, identified by their hosting environments and workload identities. At launch, this is supported only for AgentCore Runtime targets, and the allowed workloads are AgentCore Gateways.
Attributes¶
hosting_environments
class-attribute
instance-attribute
¶
hosting_environments: list[HostingEnvironment] | None = None
The list of hosting environments whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway.
workload_identities
class-attribute
instance-attribute
¶
workload_identities: list[str] | None = None
The list of workload identities that are allowed to invoke the target.