Resource

Resource

Resource

Represents a Resource in Turbot.

For more information, please see Resources.

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.
attachableGuardrails Guardrails The attachable guardrails to thisResource`. This attribute is only valid for Accounts.
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.
dailyStats DailyStats Returns any dailyStats 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.
events RolloutEvents Returns any Rollout Events for this Resource that you have permission to get, subject to the optional filter and paging arguments.
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.
guardrails AccountGuardrails The guardrails currently attached to this Resource. This attribute is only valid for Accounts.
history Resources Returns the history of this Resource, showing its lifecycle.
icon String DEPRECATED: Use type.icon.
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.
phase String The phase for this Resource. This attribute is only valid for Accounts.
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.
rollouts Rollouts The rollouts where this Resource is added.
status RolloutStatus The status for this Resource. This attribute is only valid for Accounts.
tags Scalar The turbot tags for this Resource.
tagsMap Scalar DEPRECATED: Use tags.
title String DEPRECATED: Use turbot.title.
trunk TrunkItems The trunk for this Resource. This will show the resource hierarchy from the root down to this Resource.
turbot TurbotResourceMetadata! Turbot metadata for this Resource.
type ResourceType The type information for this Resource.