Documentation ¶
Index ¶
- type Args
- type Resource
- func (alkp *Resource) Attributes() awsLightsailKeyPairAttributes
- func (alkp *Resource) Configuration() interface{}
- func (alkp *Resource) DependOn() terra.Reference
- func (alkp *Resource) Dependencies() terra.Dependencies
- func (alkp *Resource) ImportState(state io.Reader) error
- func (alkp *Resource) LifecycleManagement() *terra.Lifecycle
- func (alkp *Resource) LocalName() string
- func (alkp *Resource) State() (*awsLightsailKeyPairState, bool)
- func (alkp *Resource) StateMust() *awsLightsailKeyPairState
- func (alkp *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,attr"` // PgpKey: string, optional PgpKey terra.StringValue `hcl:"pgp_key,attr"` // PublicKey: string, optional PublicKey terra.StringValue `hcl:"public_key,attr"` // 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"` }
Args contains the configurations for aws_lightsail_key_pair.
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_key_pair.
func (*Resource) Attributes ¶
func (alkp *Resource) Attributes() awsLightsailKeyPairAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (alkp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (alkp *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.