Actions, resources, and condition keys for Amazon Cloud Directory
Amazon Cloud Directory (service prefix: clouddirectory) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon Cloud Directory
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AddFacetToObject |
Write |
|||
|
ApplySchema |
Write |
|||
|
AttachObject |
Write |
|||
|
AttachPolicy |
Write |
|||
|
AttachToIndex |
Write |
|||
|
AttachTypedLink |
Write |
|||
|
BatchRead |
Read |
|||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
Read |
||||
|
BatchWrite |
Write |
|||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
|
CreateDirectory |
Write |
|||
|
CreateFacet |
Write |
|||
|
CreateIndex |
Write |
|||
Write |
||||
|
CreateObject |
Write |
|||
Write |
||||
|
CreateSchema |
Write |
|||
|
CreateTypedLinkFacet |
Write |
|||
|
DeleteDirectory |
Write |
|||
|
DeleteFacet |
Write |
|||
|
DeleteObject |
Write |
|||
|
DeleteSchema |
Write |
|||
|
DeleteTypedLinkFacet |
Write |
|||
|
DetachFromIndex |
Write |
|||
|
DetachObject |
Write |
|||
|
DetachPolicy |
Write |
|||
|
DetachTypedLink |
Write |
|||
|
DisableDirectory |
Write |
|||
|
EnableDirectory |
Write |
|||
|
GetAppliedSchemaVersion |
Read |
|||
|
GetDirectory |
Read |
|||
|
GetFacet |
Read |
|||
|
GetLinkAttributes |
Read |
|||
|
GetObjectAttributes |
Read |
|||
|
GetObjectInformation |
Read |
|||
|
GetSchemaAsJson |
Read |
|||
|
GetTypedLinkFacetInformation |
Read |
|||
|
ListAppliedSchemaArns |
List |
|||
|
ListAttachedIndices |
Read |
|||
|
ListDevelopmentSchemaArns |
List |
|||
|
ListDirectories |
List |
|||
|
ListFacetAttributes |
Read |
|||
|
ListFacetNames |
Read |
|||
|
ListIncomingTypedLinks |
Read |
|||
|
ListIndex |
Read |
|||
|
ListManagedSchemaArns |
List |
|||
|
ListObjectAttributes |
Read |
|||
|
ListObjectChildren |
Read |
|||
|
ListObjectParentPaths |
Read |
|||
|
ListObjectParents |
Read |
|||
|
ListObjectPolicies |
Read |
|||
|
ListOutgoingTypedLinks |
Read |
|||
|
ListPolicyAttachments |
Read |
|||
|
ListPublishedSchemaArns |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ListTypedLinkFacetAttributes |
Read |
|||
|
ListTypedLinkFacetNames |
Read |
|||
|
LookupPolicy |
Read |
|||
|
PublishSchema |
Write |
|||
|
PutSchemaFromJson |
Write |
|||
|
RemoveFacetFromObject |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateFacet |
Write |
|||
|
UpdateLinkAttributes |
Write |
|||
|
UpdateObjectAttributes |
Write |
|||
|
UpdateSchema |
Write |
|||
|
UpdateTypedLinkFacet |
Write |
|||
|
UpgradeAppliedSchema |
Write |
|||
|
UpgradePublishedSchema |
Write |
Actions defined by Amazon Cloud Directory
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to add a new Facet to an object |
Write |
|||
Grants permission to copy input published schema into Directory with same name and version as that of published schema |
Write |
|||
Grants permission to attach an existing object to another existing object |
Write |
|||
Grants permission to attach a policy object to any other object |
Write |
|||
Grants permission to attach the specified object to the specified index |
Write |
|||
Grants permission to attach a typed link b/w a source & target object reference |
Write |
|||
Grants permission to perform all the read operations in a batch. Each individual operation inside BatchRead needs to be granted permissions explicitly |
Read |
|||
Grants permission to perform all the write operations in a batch. Each individual operation inside BatchWrite needs to be granted permissions explicitly |
Write |
|||
Grants permission to create a Directory by copying the published schema into the directory |
Write |
|||
Grants permission to create a new Facet in a schema |
Write |
|||
Grants permission to create an index object |
Write |
|||
Grants permission to create an object in a Directory |
Write |
|||
Grants permission to create a new schema in a development state |
Write |
|||
Grants permission to create a new Typed Link facet in a schema |
Write |
|||
Grants permission to delete a directory. Only disabled directories can be deleted |
Write |
|||
Grants permission to delete a given Facet. All attributes and Rules associated with the facet will be deleted |
Write |
|||
Grants permission to delete an object and its associated attributes |
Write |
|||
Grants permission to delete a given schema |
Write |
|||
Grants permission to delete a given TypedLink Facet. All attributes and Rules associated with the facet will be deleted |
Write |
|||
Grants permission to detach the specified object from the specified index |
Write |
|||
Grants permission to detach a given object from the parent object |
Write |
|||
Grants permission to detach a policy from an object |
Write |
|||
Grants permission to detach a given typed link b/w given source and target object reference |
Write |
|||
Grants permission to disable the specified directory |
Write |
|||
Grants permission to enable the specified directory |
Write |
|||
Grants permission to return current applied schema version ARN, including the minor version in use |
Read |
|||
Grants permission to retrieve metadata about a directory |
Read |
|||
Grants permission to get details of the Facet, such as Facet Name, Attributes, Rules, or ObjectType |
Read |
|||
Grants permission to retrieve attributes that are associated with a typed link |
Read |
|||
Grants permission to retrieve attributes within a facet that are associated with an object |
Read |
|||
Grants permission to retrieve metadata about an object |
Read |
|||
Grants permission to retrieve a JSON representation of the schema |
Read |
|||
Grants permission to return identity attributes order information associated with a given typed link facet |
Read |
|||
Grants permission to list schemas applied to a directory |
List |
|||
Grants permission to list indices attached to an object |
Read |
|||
Grants permission to retrieve the ARNs of schemas in the development state |
List |
|||
Grants permission to list directories created within an account |
List |
|||
Grants permission to retrieve attributes attached to the facet |
Read |
|||
Grants permission to retrieve the names of facets that exist in a schema |
Read |
|||
Grants permission to return a paginated list of all incoming TypedLinks for a given object |
Read |
|||
Grants permission to list objects attached to the specified index |
Read |
|||
Grants permission to list the major version families of each managed schema. If a major version ARN is provided as SchemaArn, the minor version revisions in that family are listed instead |
List |
|||
Grants permission to list all attributes associated with an object |
Read |
|||
Grants permission to return a paginated list of child objects associated with a given object |
Read |
|||
Grants permission to retrieve all available parent paths for any object type such as node, leaf node, policy node, and index node objects |
Read |
|||
Grants permission to list parent objects associated with a given object in pagination fashion |
Read |
|||
Grants permission to return policies attached to an object in pagination fashion |
Read |
|||
Grants permission to return a paginated list of all outgoing TypedLinks for a given object |
Read |
|||
Grants permission to return all of the ObjectIdentifiers to which a given policy is attached |
Read |
|||
Grants permission to retrieve published schema ARNs |
List |
|||
Grants permission to return tags for a resource |
Read |
|||
Grants permission to return a paginated list of attributes associated with typed link facet |
Read |
|||
Grants permission to return a paginated list of typed link facet names that exist in a schema |
Read |
|||
Grants permission to list all policies from the root of the Directory to the object specified |
Read |
|||
Grants permission to publish a development schema with a version |
Write |
|||
Grants permission to update a schema using JSON upload. Only available for development schemas |
Write |
|||
Grants permission to remove the specified facet from the specified object |
Write |
|||
Grants permission to add tags to a resource |
Tagging, Write |
|||
Grants permission to remove tags from a resource |
Tagging, Write |
|||
Grants permission to add/update/delete existing Attributes, Rules, or ObjectType of a Facet |
Write |
|||
Grants permission to update a given typed link's attributes. Attributes to be updated must not contribute to the typed link's identity, as defined by its IdentityAttributeOrder |
Write |
|||
Grants permission to update a given object's attributes |
Write |
|||
Grants permission to update the schema name with a new name |
Write |
|||
Grants permission to add/update/delete existing Attributes, Rules, identity attribute order of a TypedLink Facet |
Write |
|||
Grants permission to upgrade a single directory in-place using the PublishedSchemaArn with schema updates found in MinorVersion. Backwards-compatible minor version upgrades are instantaneously available for readers on all objects in the directory |
Write |
|||
Grants permission to upgrade a published schema under a new minor version revision using the current contents of DevelopmentSchemaArn |
Write |
|||
Resource types defined by Amazon Cloud Directory
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:clouddirectory:${Region}:${Account}:directory/${DirectoryId}/schema/${SchemaName}/${Version} |
||
arn:${Partition}:clouddirectory:${Region}:${Account}:schema/development/${SchemaName} |
||
arn:${Partition}:clouddirectory:${Region}:${Account}:directory/${DirectoryId} |
||
arn:${Partition}:clouddirectory:${Region}:${Account}:schema/published/${SchemaName}/${Version} |
Condition keys for Amazon Cloud Directory
Amazon Cloud Directory has no service-specific condition keys that can be used in the
Condition element of policy statements.