ResourceState interface
Internal representation used to construct resource handle objects. The proxy converts these into the public Resource shape.
Properties
| api |
|
| condition | |
| existing | |
| name | |
| scope | Explicit scope expression. Authoring populates this for existing-resource lookups; restoration can retain uninterpreted scope expressions on any declaration. Expressions are normalized to raw nodes. New-resource authoring still derives placement from the Stack and parent context rather than accepting an explicit scope override. |
| type |
Property Details
apiVersion
apiVersion: string
Property Value
string
condition
existing
existing?: boolean
Property Value
boolean
name
scope
Explicit scope expression. Authoring populates this for existing-resource lookups; restoration can retain uninterpreted scope expressions on any declaration. Expressions are normalized to raw nodes.
New-resource authoring still derives placement from the Stack and parent context rather than accepting an explicit scope override.
scope?: ExpressionNode
Property Value
type
type: TType
Property Value
TType