PolicyAction
- class aws_cdk.aws_bedrockagentcore.PolicyAction(*args: Any, **kwargs)
Bases:
objectThe action a policy statement applies to.
Example:
from aws_cdk.aws_bedrockagentcore import PolicyAction PolicyAction.any() # action PolicyAction.one("AgentCore::Action::GetGateway") # action == AgentCore::Action::"GetGateway" PolicyAction.any_of(["AgentCore::Action::GetGateway", "AgentCore::Action::ListGateways"])
Static Methods
- classmethod any()
Any action.
- Return type:
- classmethod any_of(actions)
Any one of the given actions.
- Parameters:
actions (
Sequence[str]) –The action names, at least one.
- Return type:
- classmethod one(action)
One specific action.
- Parameters:
action (
str) –The action name, for example ‘AgentCore::Action::GetGateway’.
- Return type: