Documentation ¶
Index ¶
- type AddOn
- type AddOnAttributes
- func (ao AddOnAttributes) InternalRef() (terra.Reference, error)
- func (ao AddOnAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ao AddOnAttributes) InternalWithRef(ref terra.Reference) AddOnAttributes
- func (ao AddOnAttributes) SnapshotTime() terra.StringValue
- func (ao AddOnAttributes) Status() terra.StringValue
- func (ao AddOnAttributes) Type() terra.StringValue
- type AddOnState
- type Args
- type Resource
- func (ali *Resource) Attributes() awsLightsailInstanceAttributes
- func (ali *Resource) Configuration() interface{}
- func (ali *Resource) DependOn() terra.Reference
- func (ali *Resource) Dependencies() terra.Dependencies
- func (ali *Resource) ImportState(state io.Reader) error
- func (ali *Resource) LifecycleManagement() *terra.Lifecycle
- func (ali *Resource) LocalName() string
- func (ali *Resource) State() (*awsLightsailInstanceState, bool)
- func (ali *Resource) StateMust() *awsLightsailInstanceState
- func (ali *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOn ¶
type AddOn struct { // SnapshotTime: string, required SnapshotTime terra.StringValue `hcl:"snapshot_time,attr" validate:"required"` // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type AddOnAttributes ¶
type AddOnAttributes struct {
// contains filtered or unexported fields
}
func (AddOnAttributes) InternalRef ¶
func (ao AddOnAttributes) InternalRef() (terra.Reference, error)
func (AddOnAttributes) InternalTokens ¶
func (ao AddOnAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AddOnAttributes) InternalWithRef ¶
func (ao AddOnAttributes) InternalWithRef(ref terra.Reference) AddOnAttributes
func (AddOnAttributes) SnapshotTime ¶
func (ao AddOnAttributes) SnapshotTime() terra.StringValue
func (AddOnAttributes) Status ¶
func (ao AddOnAttributes) Status() terra.StringValue
func (AddOnAttributes) Type ¶
func (ao AddOnAttributes) Type() terra.StringValue
type AddOnState ¶
type Args ¶
type Args struct { // AvailabilityZone: string, required AvailabilityZone terra.StringValue `hcl:"availability_zone,attr" validate:"required"` // BlueprintId: string, required BlueprintId terra.StringValue `hcl:"blueprint_id,attr" validate:"required"` // BundleId: string, required BundleId terra.StringValue `hcl:"bundle_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IpAddressType: string, optional IpAddressType terra.StringValue `hcl:"ip_address_type,attr"` // KeyPairName: string, optional KeyPairName terra.StringValue `hcl:"key_pair_name,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // UserData: string, optional UserData terra.StringValue `hcl:"user_data,attr"` // AddOn: optional AddOn *AddOn `hcl:"add_on,block"` }
Args contains the configurations for aws_lightsail_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_lightsail_instance.
func (*Resource) Attributes ¶
func (ali *Resource) Attributes() awsLightsailInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ali *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ali *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.