Last update:2026-07-08 18:14:28
Policy elements form the foundation of permission policies in IAM. Atomile uses these elements to define the specific scope of authorization.
Understanding these core elements will help you create and manage permission policies more effectively.
| Element | Description |
|---|---|
| Effect | Defines whether the specified actions are Allowed or Denied |
| Action | Specifies the operations permitted on particular resources |
| Resource | Identifies the specific objects being authorized |
Choose one of the following valid values:
Actions support multiple values defined by Atomile.
Syntax: <service-name>:<action-name>
Example: "Action": ["wos:ListBuckets"]
Resources identify the specific objects for which you are authorizing access.
Syntax: wsc:<service-name>:<region>:<account>:<relative-id>
Where:
*) if the service does not support regions.Example: "Resource": ["wsc:wos:*:*:mybucket", "wsc:wos:*:*:mybucket/*"]
The following permission policy allows read-only operations on the WOS bucket samplebucket while prohibiting write operations:
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": ["wos:List*", "wos:Get*"],
"Resource": ["wsc:wos:::samplebucket", "wsc:wos:::samplebucket/*"]
},
{
"Effect": "Deny",
"Action": ["wos:Delete*", "wos:Put*"],
"Resource": ["wsc:wos:::samplebucket", "wsc:wos:::samplebucket/*"]
}
]
}