Get Involved
Edit on GitHub

Resource

Resource

Represents a Resource in Turbot.

For more information, please see Resources.

activeGrantsActiveGrantsReturns any activeGrants for this Resource that you have permission to get, subject to the optional filter and paging arguments.
actorActorThe actor information for this Resource.
akas[String!]The globally-unique akas for this Resource.
attachedResourcesResourcesReturns the attachedResources for this Resource. For more information, please see Policy Hierarchy.
attachedSmartFoldersResourcesReturns the attachedSmartFolders for this Resource. For more information, please see Policy Hierarchy.
availableSmartFoldersResourcesReturns the availableSmartFolders that can be attached to this Resource. For more information, please see Policy Hierarchy.
childrenResourcesThe immediate children for this Resource.
controlControlReturns the control for the given uri for this Resource, if it exists.
controlsControlsReturns any controls for this Resource that you have permission to get, subject to the optional filter and paging arguments.
dataScalarThe data for this Resource.
descendantsResourcesThe descendants of this Resource.
favoriteFavoriteReturns the user's favorite for this Resource, if it exists.
getScalarAllows 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.
getSecretScalarAllows 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.
historyResourcesReturns the history of this Resource, showing its lifecycle.
iconStringDEPRECATED: Use type.icon.
metadataScalarThe custom metadata for this Resource.
notificationsNotificationsReturns any notifications for this Resource that you have permission to get, subject to the optional filter and paging arguments.
objectScalarReturns 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.
parentResourceThe parent Resource of this Resource.
policySettingsPolicySettingsReturns any policySettings for this Resource that you have permission to get, subject to the optional filter and paging arguments.
policyTrunkPolicyHierarchiesThe policyTrunk of this Resource. This will include any attachedSmartFolders. For more information, please see Policy Hierarchy.
policyValuePolicyValueReturns the policyValue for the given uri for this Resource, if it exists.
tagsScalarThe turbot tags for this Resource.
tagsMapScalarDEPRECATED: Use tags.
titleStringDEPRECATED: Use turbot.title.
trunkTrunkItemsThe trunk for this Resource. This will show the resource hierarchy from the root down to this Resource.
turbotTurbotResourceMetadata!Turbot metadata for this Resource.
typeResourceTypeThe type information for this Resource.