Documentation ¶
Index ¶
- type Args
- type MountOptions
- type MountOptionsAttributes
- func (mo MountOptionsAttributes) InternalRef() (terra.Reference, error)
- func (mo MountOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mo MountOptionsAttributes) InternalWithRef(ref terra.Reference) MountOptionsAttributes
- func (mo MountOptionsAttributes) Version() terra.StringValue
- type MountOptionsState
- type OnPremConfig
- type OnPremConfigAttributes
- func (opc OnPremConfigAttributes) AgentArns() terra.SetValue[terra.StringValue]
- func (opc OnPremConfigAttributes) InternalRef() (terra.Reference, error)
- func (opc OnPremConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (opc OnPremConfigAttributes) InternalWithRef(ref terra.Reference) OnPremConfigAttributes
- type OnPremConfigState
- type Resource
- func (adln *Resource) Attributes() awsDatasyncLocationNfsAttributes
- func (adln *Resource) Configuration() interface{}
- func (adln *Resource) DependOn() terra.Reference
- func (adln *Resource) Dependencies() terra.Dependencies
- func (adln *Resource) ImportState(state io.Reader) error
- func (adln *Resource) LifecycleManagement() *terra.Lifecycle
- func (adln *Resource) LocalName() string
- func (adln *Resource) State() (*awsDatasyncLocationNfsState, bool)
- func (adln *Resource) StateMust() *awsDatasyncLocationNfsState
- func (adln *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"` // ServerHostname: string, required ServerHostname terra.StringValue `hcl:"server_hostname,attr" validate:"required"` // Subdirectory: string, required Subdirectory terra.StringValue `hcl:"subdirectory,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"` // MountOptions: optional MountOptions *MountOptions `hcl:"mount_options,block"` // OnPremConfig: required OnPremConfig *OnPremConfig `hcl:"on_prem_config,block" validate:"required"` }
Args contains the configurations for aws_datasync_location_nfs.
type MountOptions ¶
type MountOptions struct { // Version: string, optional Version terra.StringValue `hcl:"version,attr"` }
type MountOptionsAttributes ¶
type MountOptionsAttributes struct {
// contains filtered or unexported fields
}
func (MountOptionsAttributes) InternalRef ¶
func (mo MountOptionsAttributes) InternalRef() (terra.Reference, error)
func (MountOptionsAttributes) InternalTokens ¶
func (mo MountOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MountOptionsAttributes) InternalWithRef ¶
func (mo MountOptionsAttributes) InternalWithRef(ref terra.Reference) MountOptionsAttributes
func (MountOptionsAttributes) Version ¶
func (mo MountOptionsAttributes) Version() terra.StringValue
type MountOptionsState ¶
type MountOptionsState struct {
Version string `json:"version"`
}
type OnPremConfig ¶
type OnPremConfig struct { // AgentArns: set of string, required AgentArns terra.SetValue[terra.StringValue] `hcl:"agent_arns,attr" validate:"required"` }
type OnPremConfigAttributes ¶
type OnPremConfigAttributes struct {
// contains filtered or unexported fields
}
func (OnPremConfigAttributes) AgentArns ¶
func (opc OnPremConfigAttributes) AgentArns() terra.SetValue[terra.StringValue]
func (OnPremConfigAttributes) InternalRef ¶
func (opc OnPremConfigAttributes) InternalRef() (terra.Reference, error)
func (OnPremConfigAttributes) InternalTokens ¶
func (opc OnPremConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OnPremConfigAttributes) InternalWithRef ¶
func (opc OnPremConfigAttributes) InternalWithRef(ref terra.Reference) OnPremConfigAttributes
type OnPremConfigState ¶
type OnPremConfigState struct {
AgentArns []string `json:"agent_arns"`
}
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_datasync_location_nfs.
func (*Resource) Attributes ¶
func (adln *Resource) Attributes() awsDatasyncLocationNfsAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (adln *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (adln *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.