PolicyPack

PolicyPack

PolicyPack

Represents a Policy Pack in Turbot.

For more information, please see Policy Packs.

activeGrants ActiveGrants Returns any activeGrants for this Resource that you have permission to get, subject to the optional filter and paging arguments.
actor Actor The actor information for this Resource.
akas [String!] The globally-unique akas for this Resource.
attachedResources Resources Returns the attachedResources for this Resource. For more information, please see Policy Hierarchy.
attachedSmartFolders Resources Returns the attachedSmartFolders for this Resource. For more information, please see Policy Hierarchy.
availableSmartFolders Resources Returns the availableSmartFolders that can be attached to this Resource. For more information, please see Policy Hierarchy.
children Resources The immediate children for this Resource.
control Control Returns the control for the given uri for this Resource, if it exists.
controls Controls Returns any controls for this Resource that you have permission to get, subject to the optional filter and paging arguments.
data Scalar The data for this Resource.
descendants Resources The descendants of this Resource.
favorite Favorite Returns the user's favorite for this Resource, if it exists.
get Scalar Allows you to safely get data from the Resource object by path. For example, get(path: "Region.Name" would return the value of the nested property Region.Name if it exists.
getSecret Scalar Allows you to safely get the decrypted value of a secret field on the Resource object by path. For example, get(path: "Account.SecretId" would return the decrypted value of the nested property Account.SecretId if it exists. You must have Turbot/Admin permissions granted on this resource or above to call this field.
history Resources Returns the history of this Resource, showing its lifecycle.
icon String
metadata Scalar The custom metadata for this Resource.
notifications Notifications Returns any notifications for this Resource that you have permission to get, subject to the optional filter and paging arguments.
object Scalar Returns the full object for this Resource. You must have Turbot/Metadata permissions granted on this Resource or above to retrieve the full object, else only turbot metadata will be returned.
parent Resource The parent Resource of this Resource.
policySettings PolicySettings Returns any policySettings for this Resource that you have permission to get, subject to the optional filter and paging arguments.
policyTrunk PolicyHierarchies The policyTrunk of this Resource. This will include any attachedSmartFolders. For more information, please see Policy Hierarchy.
policyValue PolicyValue Returns the policyValue for the given uri for this Resource, if it exists.
status String The status of this PolicyPack.
tags Scalar The turbot tags for this Resource.
targets [String]
title String
trunk TrunkItems The trunk for this Resource. This will show the resource hierarchy from the root down to this Resource.
turbot TurbotResourceMetadata!
type ResourceType The type information for this Resource.