Documentation ¶
Index ¶
- type Args
- type HomeDirectoryMappings
- type HomeDirectoryMappingsAttributes
- func (hdm HomeDirectoryMappingsAttributes) Entry() terra.StringValue
- func (hdm HomeDirectoryMappingsAttributes) InternalRef() (terra.Reference, error)
- func (hdm HomeDirectoryMappingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hdm HomeDirectoryMappingsAttributes) InternalWithRef(ref terra.Reference) HomeDirectoryMappingsAttributes
- func (hdm HomeDirectoryMappingsAttributes) Target() terra.StringValue
- type HomeDirectoryMappingsState
- type PosixProfile
- type PosixProfileAttributes
- func (pp PosixProfileAttributes) Gid() terra.NumberValue
- func (pp PosixProfileAttributes) InternalRef() (terra.Reference, error)
- func (pp PosixProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pp PosixProfileAttributes) InternalWithRef(ref terra.Reference) PosixProfileAttributes
- func (pp PosixProfileAttributes) SecondaryGids() terra.SetValue[terra.NumberValue]
- func (pp PosixProfileAttributes) Uid() terra.NumberValue
- type PosixProfileState
- type Resource
- func (atu *Resource) Attributes() awsTransferUserAttributes
- func (atu *Resource) Configuration() interface{}
- func (atu *Resource) DependOn() terra.Reference
- func (atu *Resource) Dependencies() terra.Dependencies
- func (atu *Resource) ImportState(state io.Reader) error
- func (atu *Resource) LifecycleManagement() *terra.Lifecycle
- func (atu *Resource) LocalName() string
- func (atu *Resource) State() (*awsTransferUserState, bool)
- func (atu *Resource) StateMust() *awsTransferUserState
- func (atu *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // HomeDirectory: string, optional HomeDirectory terra.StringValue `hcl:"home_directory,attr"` // HomeDirectoryType: string, optional HomeDirectoryType terra.StringValue `hcl:"home_directory_type,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Policy: string, optional Policy terra.StringValue `hcl:"policy,attr"` // Role: string, required Role terra.StringValue `hcl:"role,attr" validate:"required"` // ServerId: string, required ServerId terra.StringValue `hcl:"server_id,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"` // UserName: string, required UserName terra.StringValue `hcl:"user_name,attr" validate:"required"` // HomeDirectoryMappings: min=0 HomeDirectoryMappings []HomeDirectoryMappings `hcl:"home_directory_mappings,block" validate:"min=0"` // PosixProfile: optional PosixProfile *PosixProfile `hcl:"posix_profile,block"` }
Args contains the configurations for aws_transfer_user.
type HomeDirectoryMappings ¶
type HomeDirectoryMappings struct { // Entry: string, required Entry terra.StringValue `hcl:"entry,attr" validate:"required"` // Target: string, required Target terra.StringValue `hcl:"target,attr" validate:"required"` }
type HomeDirectoryMappingsAttributes ¶
type HomeDirectoryMappingsAttributes struct {
// contains filtered or unexported fields
}
func (HomeDirectoryMappingsAttributes) Entry ¶
func (hdm HomeDirectoryMappingsAttributes) Entry() terra.StringValue
func (HomeDirectoryMappingsAttributes) InternalRef ¶
func (hdm HomeDirectoryMappingsAttributes) InternalRef() (terra.Reference, error)
func (HomeDirectoryMappingsAttributes) InternalTokens ¶
func (hdm HomeDirectoryMappingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HomeDirectoryMappingsAttributes) InternalWithRef ¶
func (hdm HomeDirectoryMappingsAttributes) InternalWithRef(ref terra.Reference) HomeDirectoryMappingsAttributes
func (HomeDirectoryMappingsAttributes) Target ¶
func (hdm HomeDirectoryMappingsAttributes) Target() terra.StringValue
type PosixProfile ¶
type PosixProfile struct { // Gid: number, required Gid terra.NumberValue `hcl:"gid,attr" validate:"required"` // SecondaryGids: set of number, optional SecondaryGids terra.SetValue[terra.NumberValue] `hcl:"secondary_gids,attr"` // Uid: number, required Uid terra.NumberValue `hcl:"uid,attr" validate:"required"` }
type PosixProfileAttributes ¶
type PosixProfileAttributes struct {
// contains filtered or unexported fields
}
func (PosixProfileAttributes) Gid ¶
func (pp PosixProfileAttributes) Gid() terra.NumberValue
func (PosixProfileAttributes) InternalRef ¶
func (pp PosixProfileAttributes) InternalRef() (terra.Reference, error)
func (PosixProfileAttributes) InternalTokens ¶
func (pp PosixProfileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PosixProfileAttributes) InternalWithRef ¶
func (pp PosixProfileAttributes) InternalWithRef(ref terra.Reference) PosixProfileAttributes
func (PosixProfileAttributes) SecondaryGids ¶
func (pp PosixProfileAttributes) SecondaryGids() terra.SetValue[terra.NumberValue]
func (PosixProfileAttributes) Uid ¶
func (pp PosixProfileAttributes) Uid() terra.NumberValue
type PosixProfileState ¶
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_transfer_user.
func (*Resource) Attributes ¶
func (atu *Resource) Attributes() awsTransferUserAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (atu *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (atu *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.