Documentation ¶
Index ¶
- type Args
- type Resource
- func (asdi *Resource) Attributes() awsServiceDiscoveryInstanceAttributes
- func (asdi *Resource) Configuration() interface{}
- func (asdi *Resource) DependOn() terra.Reference
- func (asdi *Resource) Dependencies() terra.Dependencies
- func (asdi *Resource) ImportState(state io.Reader) error
- func (asdi *Resource) LifecycleManagement() *terra.Lifecycle
- func (asdi *Resource) LocalName() string
- func (asdi *Resource) State() (*awsServiceDiscoveryInstanceState, bool)
- func (asdi *Resource) StateMust() *awsServiceDiscoveryInstanceState
- func (asdi *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Attributes: map of string, required Attributes terra.MapValue[terra.StringValue] `hcl:"attributes,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceId: string, required InstanceId terra.StringValue `hcl:"instance_id,attr" validate:"required"` // ServiceId: string, required ServiceId terra.StringValue `hcl:"service_id,attr" validate:"required"` }
Args contains the configurations for aws_service_discovery_instance.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_service_discovery_instance.
func (*Resource) Attributes ¶
func (asdi *Resource) Attributes() awsServiceDiscoveryInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asdi *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asdi *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
Click to show internal directories.
Click to hide internal directories.