ResourceInfo
ResourceInfo wraps a basic resource and provides contextual information.
Properties
- The underlying resource with its properties, URN, type, and provider state.
- ↳
idstring optionalID is the provider-assigned resource ID, if any, for custom resources. - ↳
typestring requiredType is the resource’s full type token. - ↳
urnstring requiredURN uniquely identifying this resource within a stack. (But not globally across all stacks.) - ↳
customboolean requiredCustom is true when the resource is managed by a plugin. - ↳
deleteboolean requiredDelete is true when the resource should be deleted during the next update. - ↳
dependenciesarray[string] requiredDependencies contains the URN dependency edges to other resources that this depends on. - ↳
parentstring optionalParent is an optional parent URN if this resource is a child of it. - ↳
protectboolean optionalProtect is set to true when this resource is “protected” and may not be deleted. - ↳
externalboolean optionalExternal is set to true when the lifecycle of this resource is not managed by Pulumi. - ↳
retainOnDeleteboolean optionalIf set to True, the providers Delete method will not be called for this resource. Pulumi simply stops tracking the deleted resource. - ↳
additionalSecretOutputsarray[string] optionalAdditionalSecretOutputs is a list of outputs that were explicitly marked as secret when the resource was created. - ↳
aliasesarray[string] optionalAliases is a list of previous URNs that this resource may have had in previous deployments. - ↳
deletedWithstring optionalIf set, the providers Delete method will not be called for this resource if specified resource is being deleted as well. - ↳
initErrorsarray[string] optionalInitErrors is the set of errors encountered in the process of initializing resource (i.e., during create or update). - ↳
inputsmap[string]object optionalInputs are the input properties supplied to the provider. - ↳
outputsmap[string]object optionalOutputs are the output properties returned by the provider after provisioning. - ↳
providerInputsmap[string]object optionalThe inputs to the provider which created this resource. This can be used when generating console links (e.g. the value of aws:region will be in this property bag with the key “region” and the value of whatever region was set on the provider that created this resource).
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.