# Packages
Package schema contains all available schema functionality for resources.
# Functions
ImportStatePassthroughID is a helper function to set the import identifier to a given state attribute path.
# Constants
DeferredReasonAbsentPrereq is used to indicate that a hard dependency has not been satisfied.
DeferredReasonProviderConfigUnknown is used to indicate that the provider configuration is partially unknown and the real values need to be known before the change can be planned.
DeferredReasonResourceConfigUnknown is used to indicate that the resource configuration is partially unknown and the real values need to be known before the change can be planned.
DeferredReasonUnknown is used to indicate an invalid `DeferredReason`.
# Structs
ConfigureRequest represents a request for the provider to configure a resource, i.e., set provider-level data or clients.
ConfigureResponse represents a response to a ConfigureRequest.
CreateRequest represents a request for the provider to create a resource.
CreateResponse represents a response to a CreateRequest.
Deferred is used to indicate to Terraform that a change needs to be deferred for a reason.
DeleteRequest represents a request for the provider to delete a resource.
DeleteResponse represents a response to a DeleteRequest.
ImportStateClientCapabilities allows Terraform to publish information regarding optionally supported protocol features for the ImportResourceState RPC, such as forward-compatible Terraform behavior changes.
ImportStateRequest represents a request for the provider to import a resource.
ImportStateResponse represents a response to a ImportStateRequest.
MetadataRequest represents a request for the Resource to return metadata, such as its type name.
MetadataResponse represents a response to a MetadataRequest.
ModifyPlanClientCapabilities allows Terraform to publish information regarding optionally supported protocol features for the PlanResourceChange RPC, such as forward-compatible Terraform behavior changes.
ModifyPlanRequest represents a request for the provider to modify the planned new state that Terraform has generated for the resource.
ModifyPlanResponse represents a response to a ModifyPlanRequest.
MoveStateRequest represents a request for the provider to move a source resource state into the target resource state with any necessary data transformation logic.
MoveStateResponse represents a response to a MoveStateRequest.
ProviderDeferredBehavior enables provider-defined logic to be executed in the case of a deferred response from provider configuration.
ReadClientCapabilities allows Terraform to publish information regarding optionally supported protocol features for the ReadResource RPC, such as forward-compatible Terraform behavior changes.
ReadRequest represents a request for the provider to read a resource, i.e., update values in state according to the real state of the resource.
ReadResponse represents a response to a ReadRequest.
ResourceBehavior controls framework-specific logic when interacting with a resource.
SchemaRequest represents a request for the Resource to return its schema.
SchemaResponse represents a response to a SchemaRequest.
Implementation handler for a state move operation.
Implementation handler for a UpgradeState operation.
UpdateRequest represents a request for the provider to update a resource.
UpdateResponse represents a response to an UpdateRequest.
Request information for the provider logic to update a resource state from a prior state version to the current schema version.
Response information for the provider logic to update a resource state from a prior state version to the current schema version.
ValidateConfigRequest represents a request to validate the configuration of a resource.
ValidateConfigResponse represents a response to a ValidateConfigRequest.
# Interfaces
ConfigValidator describes reusable Resource configuration validation functionality.
Resource represents an instance of a managed resource type.
ResourceWithConfigure is an interface type that extends Resource to include a method which the framework will automatically call so provider developers have the opportunity to setup any necessary provider-level data or clients in the Resource type.
ResourceWithConfigValidators is an interface type that extends Resource to include declarative validations.
Optional interface on top of Resource that enables provider control over the ImportResourceState RPC.
ResourceWithModifyPlan represents a resource instance with a ModifyPlan function.
Optional interface on top of [Resource] that enables provider control over the MoveResourceState RPC.
Optional interface on top of Resource that enables provider control over the UpgradeResourceState RPC.
ResourceWithValidateConfig is an interface type that extends Resource to include imperative validation.
# Type aliases
DeferredReason represents different reasons for deferring a change.