aws_efs_access_point

package
v5.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// FileSystemId: string, required
	FileSystemId terra.StringValue `hcl:"file_system_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,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"`
	// PosixUser: optional
	PosixUser *PosixUser `hcl:"posix_user,block"`
	// RootDirectory: optional
	RootDirectory *RootDirectory `hcl:"root_directory,block"`
}

Args contains the configurations for aws_efs_access_point.

type DataArgs

type DataArgs struct {
	// AccessPointId: string, required
	AccessPointId terra.StringValue `hcl:"access_point_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_efs_access_point.

type DataPosixUserAttributes

type DataPosixUserAttributes struct {
	// contains filtered or unexported fields
}

func (DataPosixUserAttributes) Gid

func (DataPosixUserAttributes) InternalRef

func (pu DataPosixUserAttributes) InternalRef() (terra.Reference, error)

func (DataPosixUserAttributes) InternalTokens

func (pu DataPosixUserAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPosixUserAttributes) InternalWithRef

func (DataPosixUserAttributes) SecondaryGids

func (DataPosixUserAttributes) Uid

type DataPosixUserState

type DataPosixUserState struct {
	Gid           float64   `json:"gid"`
	SecondaryGids []float64 `json:"secondary_gids"`
	Uid           float64   `json:"uid"`
}

type DataRootDirectoryAttributes

type DataRootDirectoryAttributes struct {
	// contains filtered or unexported fields
}

func (DataRootDirectoryAttributes) CreationInfo

func (DataRootDirectoryAttributes) InternalRef

func (rd DataRootDirectoryAttributes) InternalRef() (terra.Reference, error)

func (DataRootDirectoryAttributes) InternalTokens

func (rd DataRootDirectoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRootDirectoryAttributes) InternalWithRef

func (DataRootDirectoryAttributes) Path

type DataRootDirectoryCreationInfoAttributes

type DataRootDirectoryCreationInfoAttributes struct {
	// contains filtered or unexported fields
}

func (DataRootDirectoryCreationInfoAttributes) InternalRef

func (DataRootDirectoryCreationInfoAttributes) InternalTokens

func (DataRootDirectoryCreationInfoAttributes) InternalWithRef

func (DataRootDirectoryCreationInfoAttributes) OwnerGid

func (DataRootDirectoryCreationInfoAttributes) OwnerUid

func (DataRootDirectoryCreationInfoAttributes) Permissions

type DataRootDirectoryCreationInfoState

type DataRootDirectoryCreationInfoState struct {
	OwnerGid    float64 `json:"owner_gid"`
	OwnerUid    float64 `json:"owner_uid"`
	Permissions string  `json:"permissions"`
}

type DataRootDirectoryState

type DataRootDirectoryState struct {
	Path         string                               `json:"path"`
	CreationInfo []DataRootDirectoryCreationInfoState `json:"creation_info"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_efs_access_point.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aeap *DataSource) Attributes() dataAwsEfsAccessPointAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aeap *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aeap *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aeap *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type PosixUser

type PosixUser 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 PosixUserAttributes

type PosixUserAttributes struct {
	// contains filtered or unexported fields
}

func (PosixUserAttributes) Gid

func (PosixUserAttributes) InternalRef

func (pu PosixUserAttributes) InternalRef() (terra.Reference, error)

func (PosixUserAttributes) InternalTokens

func (pu PosixUserAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PosixUserAttributes) InternalWithRef

func (pu PosixUserAttributes) InternalWithRef(ref terra.Reference) PosixUserAttributes

func (PosixUserAttributes) SecondaryGids

func (pu PosixUserAttributes) SecondaryGids() terra.SetValue[terra.NumberValue]

func (PosixUserAttributes) Uid

type PosixUserState

type PosixUserState struct {
	Gid           float64   `json:"gid"`
	SecondaryGids []float64 `json:"secondary_gids"`
	Uid           float64   `json:"uid"`
}

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_efs_access_point.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aeap *Resource) Attributes() awsEfsAccessPointAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aeap *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aeap *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aeap *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aeap *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aeap *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aeap *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aeap *Resource) State() (*awsEfsAccessPointState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aeap *Resource) StateMust() *awsEfsAccessPointState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aeap *Resource) Type() string

Type returns the Terraform object type for Resource.

type RootDirectory

type RootDirectory struct {
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// RootDirectoryCreationInfo: optional
	CreationInfo *RootDirectoryCreationInfo `hcl:"creation_info,block"`
}

type RootDirectoryAttributes

type RootDirectoryAttributes struct {
	// contains filtered or unexported fields
}

func (RootDirectoryAttributes) CreationInfo

func (RootDirectoryAttributes) InternalRef

func (rd RootDirectoryAttributes) InternalRef() (terra.Reference, error)

func (RootDirectoryAttributes) InternalTokens

func (rd RootDirectoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RootDirectoryAttributes) InternalWithRef

func (RootDirectoryAttributes) Path

type RootDirectoryCreationInfo

type RootDirectoryCreationInfo struct {
	// OwnerGid: number, required
	OwnerGid terra.NumberValue `hcl:"owner_gid,attr" validate:"required"`
	// OwnerUid: number, required
	OwnerUid terra.NumberValue `hcl:"owner_uid,attr" validate:"required"`
	// Permissions: string, required
	Permissions terra.StringValue `hcl:"permissions,attr" validate:"required"`
}

type RootDirectoryCreationInfoAttributes

type RootDirectoryCreationInfoAttributes struct {
	// contains filtered or unexported fields
}

func (RootDirectoryCreationInfoAttributes) InternalRef

func (RootDirectoryCreationInfoAttributes) InternalTokens

func (RootDirectoryCreationInfoAttributes) InternalWithRef

func (RootDirectoryCreationInfoAttributes) OwnerGid

func (RootDirectoryCreationInfoAttributes) OwnerUid

func (RootDirectoryCreationInfoAttributes) Permissions

type RootDirectoryCreationInfoState

type RootDirectoryCreationInfoState struct {
	OwnerGid    float64 `json:"owner_gid"`
	OwnerUid    float64 `json:"owner_uid"`
	Permissions string  `json:"permissions"`
}

type RootDirectoryState

type RootDirectoryState struct {
	Path         string                           `json:"path"`
	CreationInfo []RootDirectoryCreationInfoState `json:"creation_info"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL