libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.Types.VolumeFrom

Description

 
Synopsis

Documentation

data VolumeFrom Source #

Details on a data volume from another container in the same task definition.

See: newVolumeFrom smart constructor.

Constructors

VolumeFrom' 

Fields

  • sourceContainer :: Maybe Text

    The name of another container within the same task definition from which to mount volumes.

  • readOnly :: Maybe 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.

Instances

Instances details
Eq VolumeFrom Source # 
Instance details

Defined in Amazonka.ECS.Types.VolumeFrom

Read VolumeFrom Source # 
Instance details

Defined in Amazonka.ECS.Types.VolumeFrom

Show VolumeFrom Source # 
Instance details

Defined in Amazonka.ECS.Types.VolumeFrom

Generic VolumeFrom Source # 
Instance details

Defined in Amazonka.ECS.Types.VolumeFrom

Associated Types

type Rep VolumeFrom :: Type -> Type #

NFData VolumeFrom Source # 
Instance details

Defined in Amazonka.ECS.Types.VolumeFrom

Methods

rnf :: VolumeFrom -> () #

Hashable VolumeFrom Source # 
Instance details

Defined in Amazonka.ECS.Types.VolumeFrom

ToJSON VolumeFrom Source # 
Instance details

Defined in Amazonka.ECS.Types.VolumeFrom

FromJSON VolumeFrom Source # 
Instance details

Defined in Amazonka.ECS.Types.VolumeFrom

type Rep VolumeFrom Source # 
Instance details

Defined in Amazonka.ECS.Types.VolumeFrom

type Rep VolumeFrom = D1 ('MetaData "VolumeFrom" "Amazonka.ECS.Types.VolumeFrom" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "VolumeFrom'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceContainer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "readOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newVolumeFrom :: VolumeFrom Source #

Create a value of VolumeFrom with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sourceContainer:VolumeFrom', volumeFrom_sourceContainer - The name of another container within the same task definition from which to mount volumes.

$sel:readOnly:VolumeFrom', volumeFrom_readOnly - 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.

volumeFrom_sourceContainer :: Lens' VolumeFrom (Maybe Text) Source #

The name of another container within the same task definition from which to mount volumes.

volumeFrom_readOnly :: Lens' VolumeFrom (Maybe Bool) Source #

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.