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.

MountPoint

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

type MountPoint struct { ContainerPath *string `locationName:"containerPath" type:"string"` ReadOnly *bool `locationName:"readOnly" type:"boolean"` SourceVolume *string `locationName:"sourceVolume" type:"string"` }

Details on a volume mount point that is used in a container definition.

ContainerPath

Type: *string

The path on the container to mount the host volume at.

ReadOnly

Type: *bool

If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume. The default value is false.

SourceVolume

Type: *string

The name of the volume to mount. Must be a volume name referenced in the name parameter of task definition volume.

Method

GoString

func (s MountPoint) GoString() string

GoString returns the string representation

SetContainerPath

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

SetContainerPath sets the ContainerPath field's value.

SetReadOnly

func (s *MountPoint) SetReadOnly(v bool) *MountPoint

SetReadOnly sets the ReadOnly field's value.

SetSourceVolume

func (s *MountPoint) SetSourceVolume(v string) *MountPoint

SetSourceVolume sets the SourceVolume field's value.

String

func (s MountPoint) String() string

String returns the string representation

On this page: