AllowedWorkloadConfiguration
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.
Contents
- hostingEnvironments
-
The list of hosting environments whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway.
Type: Array of HostingEnvironment objects
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Required: No
- workloadIdentities
-
The list of workload identities that are allowed to invoke the target.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Length Constraints: Minimum length of 3. Maximum length of 255.
Pattern:
[A-Za-z0-9_.-]+Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: