AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Tmpfs

import "github.com/aws/aws-sdk-go/service/ecs"

type Tmpfs struct { ContainerPath *string `locationName:"containerPath" type:"string" required:"true"` MountOptions []*string `locationName:"mountOptions" type:"list"` Size *int64 `locationName:"size" type:"integer" required:"true"` }

The container path, mount options, and size of the tmpfs mount.

ContainerPath

Type: *string

The absolute file path where the tmpfs volume is to be mounted.

ContainerPath is a required field

MountOptions

Type: []*string

The list of tmpfs volume mount options.

Valid values: "defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"

Size

Type: *int64

The size (in MiB) of the tmpfs volume.

Size is a required field

Method

GoString

func (s Tmpfs) GoString() string

GoString returns the string representation

SetContainerPath

func (s *Tmpfs) SetContainerPath(v string) *Tmpfs

SetContainerPath sets the ContainerPath field's value.

SetMountOptions

func (s *Tmpfs) SetMountOptions(v []*string) *Tmpfs

SetMountOptions sets the MountOptions field's value.

SetSize

func (s *Tmpfs) SetSize(v int64) *Tmpfs

SetSize sets the Size field's value.

String

func (s Tmpfs) String() string

String returns the string representation

Validate

func (s *Tmpfs) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: