policy group policy get
Show a policy.
Description
Fetch a single policy by id within a group and print its detail (id, group, name, description, active, effect, principal, actions, resources, created/updated timestamps).
Synopsis
Positional arguments:
<group-id>— the policy group id (exactly 1 required).<policy-id>— the policy id (exactly 1 required).
Options
This command takes no command-specific options.
Global options
All grn agentbase commands accept:
-o, --output json|table|id— output format (defaulttable)-i, --interactive— prompt for missing required parameters- The shared
grnglobal options:--profile,--region,--query,--endpoint-url,--debug
Examples
Show a policy: