amazonka-ecs-1.4.5: Amazon EC2 Container Service SDK.

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

Network.AWS.ECS.Types

Contents

Description

 

Synopsis

Service Configuration

ecs :: Service #

API version 2014-11-13 of the Amazon EC2 Container Service SDK configuration.

Errors

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified parameter is invalid. Review the available parameters for the API request.

_ServerException :: AsError a => Getting (First ServiceError) a ServiceError #

These errors are usually caused by a server issue.

_ClusterContainsServicesException :: AsError a => Getting (First ServiceError) a ServiceError #

You cannot delete a cluster that contains services. You must first update the service to reduce its desired task count to 0 and then delete the service. For more information, see UpdateService and DeleteService .

_ClusterContainsContainerInstancesException :: AsError a => Getting (First ServiceError) a ServiceError #

You cannot delete a cluster that has registered container instances. You must first deregister the container instances before you can delete the cluster. For more information, see DeregisterContainerInstance .

_ServiceNotActiveException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified service is not active. You cannot update a service that is not active. If you have previously deleted a service, you can re-create it with CreateService .

_ClusterNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified cluster could not be found. You can view your available clusters with ListClusters . Amazon ECS clusters are region-specific.

_NoUpdateAvailableException :: AsError a => Getting (First ServiceError) a ServiceError #

There is no update available for this Amazon ECS container agent. This could be because the agent is already running the latest version, or it is so old that there is no update path to the current version.

_ServiceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified service could not be found. You can view your available services with ListServices . Amazon ECS services are cluster-specific and region-specific.

_MissingVersionException :: AsError a => Getting (First ServiceError) a ServiceError #

Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the container instance and does not have enough information to proceed with an update. This could be because the agent running on the container instance is an older or custom version that does not use our version information.

_UpdateInProgressException :: AsError a => Getting (First ServiceError) a ServiceError #

There is already a current Amazon ECS container agent update in progress on the specified container instance. If the container agent becomes disconnected while it is in a transitional stage, such as PENDING or STAGING , the update process can get stuck in that state. However, when the agent reconnects, it resumes where it stopped previously.

_ClientException :: AsError a => Getting (First ServiceError) a ServiceError #

These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permission to use the action or resource, or specifying an identifier that is not valid.

AgentUpdateStatus

data AgentUpdateStatus #

Instances

Bounded AgentUpdateStatus # 
Enum AgentUpdateStatus # 
Eq AgentUpdateStatus # 
Data AgentUpdateStatus # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AgentUpdateStatus -> c AgentUpdateStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AgentUpdateStatus #

toConstr :: AgentUpdateStatus -> Constr #

dataTypeOf :: AgentUpdateStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AgentUpdateStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AgentUpdateStatus) #

gmapT :: (forall b. Data b => b -> b) -> AgentUpdateStatus -> AgentUpdateStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AgentUpdateStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AgentUpdateStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> AgentUpdateStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AgentUpdateStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AgentUpdateStatus -> m AgentUpdateStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AgentUpdateStatus -> m AgentUpdateStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AgentUpdateStatus -> m AgentUpdateStatus #

Ord AgentUpdateStatus # 
Read AgentUpdateStatus # 
Show AgentUpdateStatus # 
Generic AgentUpdateStatus # 
Hashable AgentUpdateStatus # 
FromJSON AgentUpdateStatus # 
NFData AgentUpdateStatus # 

Methods

rnf :: AgentUpdateStatus -> () #

ToQuery AgentUpdateStatus # 
ToHeader AgentUpdateStatus # 
ToByteString AgentUpdateStatus # 
FromText AgentUpdateStatus # 
ToText AgentUpdateStatus # 
type Rep AgentUpdateStatus # 
type Rep AgentUpdateStatus = D1 (MetaData "AgentUpdateStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) ((:+:) ((:+:) (C1 (MetaCons "AUSFailed" PrefixI False) U1) ((:+:) (C1 (MetaCons "AUSPending" PrefixI False) U1) (C1 (MetaCons "AUSStaged" PrefixI False) U1))) ((:+:) (C1 (MetaCons "AUSStaging" PrefixI False) U1) ((:+:) (C1 (MetaCons "AUSUpdated" PrefixI False) U1) (C1 (MetaCons "AUSUpdating" PrefixI False) U1))))

DesiredStatus

data DesiredStatus #

Constructors

Pending 
Running 
Stopped 

Instances

Bounded DesiredStatus # 
Enum DesiredStatus # 
Eq DesiredStatus # 
Data DesiredStatus # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DesiredStatus -> c DesiredStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DesiredStatus #

toConstr :: DesiredStatus -> Constr #

dataTypeOf :: DesiredStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DesiredStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DesiredStatus) #

gmapT :: (forall b. Data b => b -> b) -> DesiredStatus -> DesiredStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DesiredStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DesiredStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> DesiredStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DesiredStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DesiredStatus -> m DesiredStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DesiredStatus -> m DesiredStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DesiredStatus -> m DesiredStatus #

Ord DesiredStatus # 
Read DesiredStatus # 
Show DesiredStatus # 
Generic DesiredStatus # 

Associated Types

type Rep DesiredStatus :: * -> * #

Hashable DesiredStatus # 
ToJSON DesiredStatus # 
NFData DesiredStatus # 

Methods

rnf :: DesiredStatus -> () #

ToQuery DesiredStatus # 
ToHeader DesiredStatus # 
ToByteString DesiredStatus # 
FromText DesiredStatus # 
ToText DesiredStatus # 

Methods

toText :: DesiredStatus -> Text #

type Rep DesiredStatus # 
type Rep DesiredStatus = D1 (MetaData "DesiredStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) ((:+:) (C1 (MetaCons "Pending" PrefixI False) U1) ((:+:) (C1 (MetaCons "Running" PrefixI False) U1) (C1 (MetaCons "Stopped" PrefixI False) U1)))

LogDriver

data LogDriver #

Instances

Bounded LogDriver # 
Enum LogDriver # 
Eq LogDriver # 
Data LogDriver # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LogDriver -> c LogDriver #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LogDriver #

toConstr :: LogDriver -> Constr #

dataTypeOf :: LogDriver -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LogDriver) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LogDriver) #

gmapT :: (forall b. Data b => b -> b) -> LogDriver -> LogDriver #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LogDriver -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LogDriver -> r #

gmapQ :: (forall d. Data d => d -> u) -> LogDriver -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LogDriver -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LogDriver -> m LogDriver #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LogDriver -> m LogDriver #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LogDriver -> m LogDriver #

Ord LogDriver # 
Read LogDriver # 
Show LogDriver # 
Generic LogDriver # 

Associated Types

type Rep LogDriver :: * -> * #

Hashable LogDriver # 
ToJSON LogDriver # 
FromJSON LogDriver # 
NFData LogDriver # 

Methods

rnf :: LogDriver -> () #

ToQuery LogDriver # 
ToHeader LogDriver # 
ToByteString LogDriver # 

Methods

toBS :: LogDriver -> ByteString #

FromText LogDriver # 
ToText LogDriver # 

Methods

toText :: LogDriver -> Text #

type Rep LogDriver # 
type Rep LogDriver = D1 (MetaData "LogDriver" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) ((:+:) ((:+:) (C1 (MetaCons "AWSlogs" PrefixI False) U1) ((:+:) (C1 (MetaCons "Fluentd" PrefixI False) U1) (C1 (MetaCons "Gelf" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "JSONFile" PrefixI False) U1) (C1 (MetaCons "Journald" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Splunk" PrefixI False) U1) (C1 (MetaCons "Syslog" PrefixI False) U1))))

NetworkMode

data NetworkMode #

Constructors

Bridge 
Host 
None 

Instances

Bounded NetworkMode # 
Enum NetworkMode # 
Eq NetworkMode # 
Data NetworkMode # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NetworkMode -> c NetworkMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NetworkMode #

toConstr :: NetworkMode -> Constr #

dataTypeOf :: NetworkMode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NetworkMode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NetworkMode) #

gmapT :: (forall b. Data b => b -> b) -> NetworkMode -> NetworkMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NetworkMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NetworkMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> NetworkMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NetworkMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NetworkMode -> m NetworkMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkMode -> m NetworkMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkMode -> m NetworkMode #

Ord NetworkMode # 
Read NetworkMode # 
Show NetworkMode # 
Generic NetworkMode # 

Associated Types

type Rep NetworkMode :: * -> * #

Hashable NetworkMode # 
ToJSON NetworkMode # 
FromJSON NetworkMode # 
NFData NetworkMode # 

Methods

rnf :: NetworkMode -> () #

ToQuery NetworkMode # 
ToHeader NetworkMode # 
ToByteString NetworkMode # 
FromText NetworkMode # 
ToText NetworkMode # 

Methods

toText :: NetworkMode -> Text #

type Rep NetworkMode # 
type Rep NetworkMode = D1 (MetaData "NetworkMode" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) ((:+:) (C1 (MetaCons "Bridge" PrefixI False) U1) ((:+:) (C1 (MetaCons "Host" PrefixI False) U1) (C1 (MetaCons "None" PrefixI False) U1)))

SortOrder

data SortOrder #

Constructors

Asc 
Desc 

Instances

Bounded SortOrder # 
Enum SortOrder # 
Eq SortOrder # 
Data SortOrder # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SortOrder -> c SortOrder #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SortOrder #

toConstr :: SortOrder -> Constr #

dataTypeOf :: SortOrder -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SortOrder) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SortOrder) #

gmapT :: (forall b. Data b => b -> b) -> SortOrder -> SortOrder #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SortOrder -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SortOrder -> r #

gmapQ :: (forall d. Data d => d -> u) -> SortOrder -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SortOrder -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SortOrder -> m SortOrder #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SortOrder -> m SortOrder #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SortOrder -> m SortOrder #

Ord SortOrder # 
Read SortOrder # 
Show SortOrder # 
Generic SortOrder # 

Associated Types

type Rep SortOrder :: * -> * #

Hashable SortOrder # 
ToJSON SortOrder # 
NFData SortOrder # 

Methods

rnf :: SortOrder -> () #

ToQuery SortOrder # 
ToHeader SortOrder # 
ToByteString SortOrder # 

Methods

toBS :: SortOrder -> ByteString #

FromText SortOrder # 
ToText SortOrder # 

Methods

toText :: SortOrder -> Text #

type Rep SortOrder # 
type Rep SortOrder = D1 (MetaData "SortOrder" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) ((:+:) (C1 (MetaCons "Asc" PrefixI False) U1) (C1 (MetaCons "Desc" PrefixI False) U1))

TaskDefinitionFamilyStatus

data TaskDefinitionFamilyStatus #

Constructors

Active 
All 
Inactive 

Instances

Bounded TaskDefinitionFamilyStatus # 
Enum TaskDefinitionFamilyStatus # 
Eq TaskDefinitionFamilyStatus # 
Data TaskDefinitionFamilyStatus # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaskDefinitionFamilyStatus -> c TaskDefinitionFamilyStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaskDefinitionFamilyStatus #

toConstr :: TaskDefinitionFamilyStatus -> Constr #

dataTypeOf :: TaskDefinitionFamilyStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TaskDefinitionFamilyStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaskDefinitionFamilyStatus) #

gmapT :: (forall b. Data b => b -> b) -> TaskDefinitionFamilyStatus -> TaskDefinitionFamilyStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionFamilyStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionFamilyStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> TaskDefinitionFamilyStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TaskDefinitionFamilyStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaskDefinitionFamilyStatus -> m TaskDefinitionFamilyStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionFamilyStatus -> m TaskDefinitionFamilyStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionFamilyStatus -> m TaskDefinitionFamilyStatus #

Ord TaskDefinitionFamilyStatus # 
Read TaskDefinitionFamilyStatus # 
Show TaskDefinitionFamilyStatus # 
Generic TaskDefinitionFamilyStatus # 
Hashable TaskDefinitionFamilyStatus # 
ToJSON TaskDefinitionFamilyStatus # 
NFData TaskDefinitionFamilyStatus # 
ToQuery TaskDefinitionFamilyStatus # 
ToHeader TaskDefinitionFamilyStatus # 
ToByteString TaskDefinitionFamilyStatus # 
FromText TaskDefinitionFamilyStatus # 
ToText TaskDefinitionFamilyStatus # 
type Rep TaskDefinitionFamilyStatus # 
type Rep TaskDefinitionFamilyStatus = D1 (MetaData "TaskDefinitionFamilyStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) ((:+:) (C1 (MetaCons "Active" PrefixI False) U1) ((:+:) (C1 (MetaCons "All" PrefixI False) U1) (C1 (MetaCons "Inactive" PrefixI False) U1)))

TaskDefinitionStatus

data TaskDefinitionStatus #

Constructors

TDSActive 
TDSInactive 

Instances

Bounded TaskDefinitionStatus # 
Enum TaskDefinitionStatus # 
Eq TaskDefinitionStatus # 
Data TaskDefinitionStatus # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaskDefinitionStatus -> c TaskDefinitionStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaskDefinitionStatus #

toConstr :: TaskDefinitionStatus -> Constr #

dataTypeOf :: TaskDefinitionStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TaskDefinitionStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaskDefinitionStatus) #

gmapT :: (forall b. Data b => b -> b) -> TaskDefinitionStatus -> TaskDefinitionStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinitionStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> TaskDefinitionStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TaskDefinitionStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaskDefinitionStatus -> m TaskDefinitionStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionStatus -> m TaskDefinitionStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinitionStatus -> m TaskDefinitionStatus #

Ord TaskDefinitionStatus # 
Read TaskDefinitionStatus # 
Show TaskDefinitionStatus # 
Generic TaskDefinitionStatus # 
Hashable TaskDefinitionStatus # 
ToJSON TaskDefinitionStatus # 
FromJSON TaskDefinitionStatus # 
NFData TaskDefinitionStatus # 

Methods

rnf :: TaskDefinitionStatus -> () #

ToQuery TaskDefinitionStatus # 
ToHeader TaskDefinitionStatus # 
ToByteString TaskDefinitionStatus # 
FromText TaskDefinitionStatus # 
ToText TaskDefinitionStatus # 
type Rep TaskDefinitionStatus # 
type Rep TaskDefinitionStatus = D1 (MetaData "TaskDefinitionStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) ((:+:) (C1 (MetaCons "TDSActive" PrefixI False) U1) (C1 (MetaCons "TDSInactive" PrefixI False) U1))

TransportProtocol

data TransportProtocol #

Constructors

TCP 
Udp 

Instances

Bounded TransportProtocol # 
Enum TransportProtocol # 
Eq TransportProtocol # 
Data TransportProtocol # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TransportProtocol -> c TransportProtocol #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TransportProtocol #

toConstr :: TransportProtocol -> Constr #

dataTypeOf :: TransportProtocol -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TransportProtocol) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TransportProtocol) #

gmapT :: (forall b. Data b => b -> b) -> TransportProtocol -> TransportProtocol #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TransportProtocol -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TransportProtocol -> r #

gmapQ :: (forall d. Data d => d -> u) -> TransportProtocol -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TransportProtocol -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TransportProtocol -> m TransportProtocol #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TransportProtocol -> m TransportProtocol #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TransportProtocol -> m TransportProtocol #

Ord TransportProtocol # 
Read TransportProtocol # 
Show TransportProtocol # 
Generic TransportProtocol # 
Hashable TransportProtocol # 
ToJSON TransportProtocol # 
FromJSON TransportProtocol # 
NFData TransportProtocol # 

Methods

rnf :: TransportProtocol -> () #

ToQuery TransportProtocol # 
ToHeader TransportProtocol # 
ToByteString TransportProtocol # 
FromText TransportProtocol # 
ToText TransportProtocol # 
type Rep TransportProtocol # 
type Rep TransportProtocol = D1 (MetaData "TransportProtocol" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) ((:+:) (C1 (MetaCons "TCP" PrefixI False) U1) (C1 (MetaCons "Udp" PrefixI False) U1))

UlimitName

data UlimitName #

Instances

Bounded UlimitName # 
Enum UlimitName # 
Eq UlimitName # 
Data UlimitName # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UlimitName -> c UlimitName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UlimitName #

toConstr :: UlimitName -> Constr #

dataTypeOf :: UlimitName -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UlimitName) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UlimitName) #

gmapT :: (forall b. Data b => b -> b) -> UlimitName -> UlimitName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UlimitName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UlimitName -> r #

gmapQ :: (forall d. Data d => d -> u) -> UlimitName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UlimitName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UlimitName -> m UlimitName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UlimitName -> m UlimitName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UlimitName -> m UlimitName #

Ord UlimitName # 
Read UlimitName # 
Show UlimitName # 
Generic UlimitName # 

Associated Types

type Rep UlimitName :: * -> * #

Hashable UlimitName # 
ToJSON UlimitName # 
FromJSON UlimitName # 
NFData UlimitName # 

Methods

rnf :: UlimitName -> () #

ToQuery UlimitName # 
ToHeader UlimitName # 
ToByteString UlimitName # 
FromText UlimitName # 
ToText UlimitName # 

Methods

toText :: UlimitName -> Text #

type Rep UlimitName # 
type Rep UlimitName = D1 (MetaData "UlimitName" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "CPU" PrefixI False) U1) ((:+:) (C1 (MetaCons "Core" PrefixI False) U1) (C1 (MetaCons "Data" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Fsize" PrefixI False) U1) (C1 (MetaCons "Locks" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Memlock" PrefixI False) U1) (C1 (MetaCons "Msgqueue" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Nice" PrefixI False) U1) (C1 (MetaCons "Nofile" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Nproc" PrefixI False) U1) (C1 (MetaCons "Rss" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Rtprio" PrefixI False) U1) (C1 (MetaCons "Rttime" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Sigpending" PrefixI False) U1) (C1 (MetaCons "Stack" PrefixI False) U1)))))

Attribute

data Attribute #

The attributes applicable to a container instance when it is registered.

See: attribute smart constructor.

Instances

Eq Attribute # 
Data Attribute # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Attribute -> c Attribute #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Attribute #

toConstr :: Attribute -> Constr #

dataTypeOf :: Attribute -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Attribute) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Attribute) #

gmapT :: (forall b. Data b => b -> b) -> Attribute -> Attribute #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Attribute -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Attribute -> r #

gmapQ :: (forall d. Data d => d -> u) -> Attribute -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Attribute -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Attribute -> m Attribute #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Attribute -> m Attribute #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Attribute -> m Attribute #

Read Attribute # 
Show Attribute # 
Generic Attribute # 

Associated Types

type Rep Attribute :: * -> * #

Hashable Attribute # 
ToJSON Attribute # 
FromJSON Attribute # 
NFData Attribute # 

Methods

rnf :: Attribute -> () #

type Rep Attribute # 
type Rep Attribute = D1 (MetaData "Attribute" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "Attribute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

attribute #

Arguments

:: Text

aName

-> Attribute 

Creates a value of Attribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • aValue - The value of the container instance attribute (at this time, the value here is Null , but this could change in future revisions for expandability).
  • aName - The name of the container instance attribute.

aValue :: Lens' Attribute (Maybe Text) #

The value of the container instance attribute (at this time, the value here is Null , but this could change in future revisions for expandability).

aName :: Lens' Attribute Text #

The name of the container instance attribute.

Cluster

data Cluster #

A regional grouping of one or more container instances on which you can run task requests. Each account receives a default cluster the first time you use the Amazon ECS service, but you may also create other clusters. Clusters may contain more than one instance type simultaneously.

See: cluster smart constructor.

Instances

Eq Cluster # 

Methods

(==) :: Cluster -> Cluster -> Bool #

(/=) :: Cluster -> Cluster -> Bool #

Data Cluster # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cluster -> c Cluster #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cluster #

toConstr :: Cluster -> Constr #

dataTypeOf :: Cluster -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Cluster) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cluster) #

gmapT :: (forall b. Data b => b -> b) -> Cluster -> Cluster #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cluster -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cluster -> r #

gmapQ :: (forall d. Data d => d -> u) -> Cluster -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Cluster -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cluster -> m Cluster #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cluster -> m Cluster #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cluster -> m Cluster #

Read Cluster # 
Show Cluster # 
Generic Cluster # 

Associated Types

type Rep Cluster :: * -> * #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

Hashable Cluster # 

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

FromJSON Cluster # 
NFData Cluster # 

Methods

rnf :: Cluster -> () #

type Rep Cluster # 
type Rep Cluster = D1 (MetaData "Cluster" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "Cluster'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cClusterARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cRunningTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cRegisteredContainerInstancesCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_cPendingTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_cClusterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cActiveServicesCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))

cluster :: Cluster #

Creates a value of Cluster with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cStatus - The status of the cluster. The valid values are ACTIVE or INACTIVE . ACTIVE indicates that you can register container instances with the cluster and the associated instances can accept tasks.
  • cClusterARN - The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the arn:aws:ecs namespace, followed by the region of the cluster, the AWS account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region :012345678910 :cluster/test ..
  • cRunningTasksCount - The number of tasks in the cluster that are in the RUNNING state.
  • cRegisteredContainerInstancesCount - The number of container instances registered into the cluster.
  • cPendingTasksCount - The number of tasks in the cluster that are in the PENDING state.
  • cClusterName - A user-generated string that you use to identify your cluster.
  • cActiveServicesCount - The number of services that are running on the cluster in an ACTIVE state. You can view these services with ListServices .

cStatus :: Lens' Cluster (Maybe Text) #

The status of the cluster. The valid values are ACTIVE or INACTIVE . ACTIVE indicates that you can register container instances with the cluster and the associated instances can accept tasks.

cClusterARN :: Lens' Cluster (Maybe Text) #

The Amazon Resource Name (ARN) that identifies the cluster. The ARN contains the arn:aws:ecs namespace, followed by the region of the cluster, the AWS account ID of the cluster owner, the cluster namespace, and then the cluster name. For example, arn:aws:ecs:region :012345678910 :cluster/test ..

cRunningTasksCount :: Lens' Cluster (Maybe Int) #

The number of tasks in the cluster that are in the RUNNING state.

cRegisteredContainerInstancesCount :: Lens' Cluster (Maybe Int) #

The number of container instances registered into the cluster.

cPendingTasksCount :: Lens' Cluster (Maybe Int) #

The number of tasks in the cluster that are in the PENDING state.

cClusterName :: Lens' Cluster (Maybe Text) #

A user-generated string that you use to identify your cluster.

cActiveServicesCount :: Lens' Cluster (Maybe Int) #

The number of services that are running on the cluster in an ACTIVE state. You can view these services with ListServices .

Container

data Container #

A Docker container that is part of a task.

See: container smart constructor.

Instances

Eq Container # 
Data Container # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Container -> c Container #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Container #

toConstr :: Container -> Constr #

dataTypeOf :: Container -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Container) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Container) #

gmapT :: (forall b. Data b => b -> b) -> Container -> Container #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Container -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Container -> r #

gmapQ :: (forall d. Data d => d -> u) -> Container -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Container -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Container -> m Container #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Container -> m Container #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Container -> m Container #

Read Container # 
Show Container # 
Generic Container # 

Associated Types

type Rep Container :: * -> * #

Hashable Container # 
FromJSON Container # 
NFData Container # 

Methods

rnf :: Container -> () #

type Rep Container # 

container :: Container #

Creates a value of Container with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cNetworkBindings - The network bindings associated with the container.
  • cContainerARN - The Amazon Resource Name (ARN) of the container.
  • cTaskARN - The Amazon Resource Name (ARN) of the task.
  • cLastStatus - The last known status of the container.
  • cReason - A short (255 max characters) human-readable string to provide additional detail about a running or stopped container.
  • cName - The name of the container.
  • cExitCode - The exit code returned from the container.

cNetworkBindings :: Lens' Container [NetworkBinding] #

The network bindings associated with the container.

cContainerARN :: Lens' Container (Maybe Text) #

The Amazon Resource Name (ARN) of the container.

cTaskARN :: Lens' Container (Maybe Text) #

The Amazon Resource Name (ARN) of the task.

cLastStatus :: Lens' Container (Maybe Text) #

The last known status of the container.

cReason :: Lens' Container (Maybe Text) #

A short (255 max characters) human-readable string to provide additional detail about a running or stopped container.

cName :: Lens' Container (Maybe Text) #

The name of the container.

cExitCode :: Lens' Container (Maybe Int) #

The exit code returned from the container.

ContainerDefinition

data ContainerDefinition #

Container definitions are used in task definitions to describe the different containers that are launched as part of a task.

See: containerDefinition smart constructor.

Instances

Eq ContainerDefinition # 
Data ContainerDefinition # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerDefinition -> c ContainerDefinition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerDefinition #

toConstr :: ContainerDefinition -> Constr #

dataTypeOf :: ContainerDefinition -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerDefinition) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerDefinition) #

gmapT :: (forall b. Data b => b -> b) -> ContainerDefinition -> ContainerDefinition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerDefinition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerDefinition -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerDefinition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerDefinition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerDefinition -> m ContainerDefinition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerDefinition -> m ContainerDefinition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerDefinition -> m ContainerDefinition #

Read ContainerDefinition # 
Show ContainerDefinition # 
Generic ContainerDefinition # 
Hashable ContainerDefinition # 
ToJSON ContainerDefinition # 
FromJSON ContainerDefinition # 
NFData ContainerDefinition # 

Methods

rnf :: ContainerDefinition -> () #

type Rep ContainerDefinition # 
type Rep ContainerDefinition = D1 (MetaData "ContainerDefinition" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "ContainerDefinition'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdImage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cdCommand") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_cdHostname") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_cdDockerSecurityOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdDisableNetworking") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cdVolumesFrom") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [VolumeFrom])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdEnvironment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [KeyValuePair]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdEntryPoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_cdWorkingDirectory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdUlimits") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Ulimit]))) (S1 (MetaSel (Just Symbol "_cdPrivileged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_cdPortMappings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PortMapping]))) (S1 (MetaSel (Just Symbol "_cdDockerLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdExtraHosts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HostEntry]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdMemory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_cdUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_cdDnsSearchDomains") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdLogConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LogConfiguration))) (S1 (MetaSel (Just Symbol "_cdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdDnsServers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_cdMountPoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MountPoint]))) (S1 (MetaSel (Just Symbol "_cdLinks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdReadonlyRootFilesystem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cdEssential") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_cdCpu") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_cdMemoryReservation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))))

containerDefinition :: ContainerDefinition #

Creates a value of ContainerDefinition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cdImage - The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with repository-url /image :tag . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run . * Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo ). * Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent ). * Images in other online repositories are qualified further by a domain name (for example, quay.ioassemblylineubuntu ).
  • cdCommand - The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#cmd .
  • cdHostname - The hostname to use for your container. This parameter maps to Hostname in the Create a container section of the Docker Remote API and the --hostname option to docker run .
  • cdDockerSecurityOptions - A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This parameter maps to SecurityOpt in the Create a container section of the Docker Remote API and the --security-opt option to docker run .
  • cdDisableNetworking - When this parameter is true, networking is disabled within the container. This parameter maps to NetworkDisabled in the Create a container section of the Docker Remote API .
  • cdVolumesFrom - Data volumes to mount from another container. This parameter maps to VolumesFrom in the Create a container section of the Docker Remote API and the --volumes-from option to docker run .
  • cdEnvironment - The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run . Important: We do not recommend using plain text environment variables for sensitive information, such as credential data.
  • cdEntryPoint - Important: Early versions of the Amazon ECS container agent do not properly handle entryPoint parameters. If you have problems using entryPoint , update your container agent or enter your commands and arguments as command array items instead. The entry point that is passed to the container. This parameter maps to Entrypoint in the Create a container section of the Docker Remote API and the --entrypoint option to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint .
  • cdWorkingDirectory - The working directory in which to run commands inside the container. This parameter maps to WorkingDir in the Create a container section of the Docker Remote API and the --workdir option to docker run .
  • cdUlimits - A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run . Valid naming values are displayed in the Ulimit data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"
  • cdPrivileged - When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run .
  • cdPortMappings - The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. This parameter maps to PortBindings in the Create a container section of the Docker Remote API and the --publish option to docker run . If the network mode of a task definition is set to none , then you cannot specify port mappings. If the network mode of a task definition is set to host , then host ports must either be undefined or they must match the container port in the port mapping.
  • cdDockerLabels - A keyvalue map of labels to add to the container. This parameter maps to Labels in the <https:docs.docker.comenginereferenceapidocker_remote_api_v1.23#create-a-container Create a container> section of the Docker Remote API and the --label option to docker run . This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"
  • cdExtraHosts - A list of hostnames and IP address mappings to append to the etchosts file on the container. This parameter maps to ExtraHosts in the Create a container section of the Docker Remote API and the --add-host option to docker run .
  • cdMemory - The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run . You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation . If you specify memoryReservation , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.
  • cdUser - The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run .
  • cdDnsSearchDomains - A list of DNS search domains that are presented to the container. This parameter maps to DnsSearch in the Create a container section of the Docker Remote API and the --dns-search option to docker run .
  • cdLogConfiguration - The log configuration specification for the container. This parameter maps to LogConfig in the Create a container section of the Docker Remote API and the --log-driver option to docker run . By default, containers use the same logging driver that the Docker daemon uses; however the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see Configure logging drivers in the Docker documentation. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"
  • cdName - The name of a container. If you are linking multiple containers together in a task definition, the name of one container can be entered in the links of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This parameter maps to name in the Create a container section of the Docker Remote API and the --name option to docker run .
  • cdDnsServers - A list of DNS servers that are presented to the container. This parameter maps to Dns in the Create a container section of the Docker Remote API and the --dns option to docker run .
  • cdMountPoints - The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run .
  • cdLinks - The link parameter allows containers to communicate with each other without the need for port mappings, using the name parameter and optionally, an alias for the link. This construct is analogous to name:alias in Docker links. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed for each name and alias . For more information on linking Docker containers, see https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/ . This parameter maps to Links in the Create a container section of the Docker Remote API and the --link option to docker run . Important: Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.
  • cdReadonlyRootFilesystem - When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run .
  • cdEssential - If the essential parameter of a container is marked as true , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false , then its failure does not affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that is composed of multiple containers, you should group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon EC2 Container Service Developer Guide .
  • cdCpu - The number of cpu units reserved for the container. A container instance has 1,024 cpu units for every CPU core. This parameter specifies the minimum amount of CPU to reserve for a container, and containers share unallocated CPU units with other containers on the instance with the same ratio as their allocated amount. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units. The Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. For more information, see CPU share constraint in the Docker documentation. The minimum valid CPU share value that the Linux kernel allows is 2; however, the CPU parameter is not required, and you can use CPU values below 2 in your container definitions. For CPU values below 2 (including null), the behavior varies based on your Amazon ECS container agent version: * Agent versions less than or equal to 1.1.0: Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to 2 CPU shares. * Agent versions greater than or equal to 1.2.0: Null, zero, and CPU values of 1 are passed to Docker as 2.
  • cdMemoryReservation - The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit; however, your container can consume more memory when it needs to, up to either the hard limit specified with the memory parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to MemoryReservation in the Create a container section of the Docker Remote API and the --memory-reservation option to docker run . You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation . If you specify memoryReservation , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a memoryReservation of 128 MiB, and a memory hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.

cdImage :: Lens' ContainerDefinition (Maybe Text) #

The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with repository-url /image :tag . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run . * Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo ). * Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent ). * Images in other online repositories are qualified further by a domain name (for example, quay.ioassemblylineubuntu ).

cdCommand :: Lens' ContainerDefinition [Text] #

The command that is passed to the container. This parameter maps to Cmd in the Create a container section of the Docker Remote API and the COMMAND parameter to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#cmd .

cdHostname :: Lens' ContainerDefinition (Maybe Text) #

The hostname to use for your container. This parameter maps to Hostname in the Create a container section of the Docker Remote API and the --hostname option to docker run .

cdDockerSecurityOptions :: Lens' ContainerDefinition [Text] #

A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This parameter maps to SecurityOpt in the Create a container section of the Docker Remote API and the --security-opt option to docker run .

cdDisableNetworking :: Lens' ContainerDefinition (Maybe Bool) #

When this parameter is true, networking is disabled within the container. This parameter maps to NetworkDisabled in the Create a container section of the Docker Remote API .

cdVolumesFrom :: Lens' ContainerDefinition [VolumeFrom] #

Data volumes to mount from another container. This parameter maps to VolumesFrom in the Create a container section of the Docker Remote API and the --volumes-from option to docker run .

cdEnvironment :: Lens' ContainerDefinition [KeyValuePair] #

The environment variables to pass to a container. This parameter maps to Env in the Create a container section of the Docker Remote API and the --env option to docker run . Important: We do not recommend using plain text environment variables for sensitive information, such as credential data.

cdEntryPoint :: Lens' ContainerDefinition [Text] #

Important: Early versions of the Amazon ECS container agent do not properly handle entryPoint parameters. If you have problems using entryPoint , update your container agent or enter your commands and arguments as command array items instead. The entry point that is passed to the container. This parameter maps to Entrypoint in the Create a container section of the Docker Remote API and the --entrypoint option to docker run . For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint .

cdWorkingDirectory :: Lens' ContainerDefinition (Maybe Text) #

The working directory in which to run commands inside the container. This parameter maps to WorkingDir in the Create a container section of the Docker Remote API and the --workdir option to docker run .

cdUlimits :: Lens' ContainerDefinition [Ulimit] #

A list of ulimits to set in the container. This parameter maps to Ulimits in the Create a container section of the Docker Remote API and the --ulimit option to docker run . Valid naming values are displayed in the Ulimit data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"

cdPrivileged :: Lens' ContainerDefinition (Maybe Bool) #

When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run .

cdPortMappings :: Lens' ContainerDefinition [PortMapping] #

The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. This parameter maps to PortBindings in the Create a container section of the Docker Remote API and the --publish option to docker run . If the network mode of a task definition is set to none , then you cannot specify port mappings. If the network mode of a task definition is set to host , then host ports must either be undefined or they must match the container port in the port mapping.

cdDockerLabels :: Lens' ContainerDefinition (HashMap Text Text) #

A keyvalue map of labels to add to the container. This parameter maps to Labels in the <https:docs.docker.comenginereferenceapidocker_remote_api_v1.23#create-a-container Create a container> section of the Docker Remote API and the --label option to docker run . This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"

cdExtraHosts :: Lens' ContainerDefinition [HostEntry] #

A list of hostnames and IP address mappings to append to the etchosts file on the container. This parameter maps to ExtraHosts in the Create a container section of the Docker Remote API and the --add-host option to docker run .

cdMemory :: Lens' ContainerDefinition (Maybe Int) #

The hard limit (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run . You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation . If you specify memoryReservation , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.

cdUser :: Lens' ContainerDefinition (Maybe Text) #

The user name to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run .

cdDnsSearchDomains :: Lens' ContainerDefinition [Text] #

A list of DNS search domains that are presented to the container. This parameter maps to DnsSearch in the Create a container section of the Docker Remote API and the --dns-search option to docker run .

cdLogConfiguration :: Lens' ContainerDefinition (Maybe LogConfiguration) #

The log configuration specification for the container. This parameter maps to LogConfig in the Create a container section of the Docker Remote API and the --log-driver option to docker run . By default, containers use the same logging driver that the Docker daemon uses; however the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see Configure logging drivers in the Docker documentation. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"

cdName :: Lens' ContainerDefinition (Maybe Text) #

The name of a container. If you are linking multiple containers together in a task definition, the name of one container can be entered in the links of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This parameter maps to name in the Create a container section of the Docker Remote API and the --name option to docker run .

cdDnsServers :: Lens' ContainerDefinition [Text] #

A list of DNS servers that are presented to the container. This parameter maps to Dns in the Create a container section of the Docker Remote API and the --dns option to docker run .

cdMountPoints :: Lens' ContainerDefinition [MountPoint] #

The mount points for data volumes in your container. This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run .

cdLinks :: Lens' ContainerDefinition [Text] #

The link parameter allows containers to communicate with each other without the need for port mappings, using the name parameter and optionally, an alias for the link. This construct is analogous to name:alias in Docker links. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed for each name and alias . For more information on linking Docker containers, see https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/ . This parameter maps to Links in the Create a container section of the Docker Remote API and the --link option to docker run . Important: Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.

cdReadonlyRootFilesystem :: Lens' ContainerDefinition (Maybe Bool) #

When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run .

cdEssential :: Lens' ContainerDefinition (Maybe Bool) #

If the essential parameter of a container is marked as true , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false , then its failure does not affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that is composed of multiple containers, you should group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon EC2 Container Service Developer Guide .

cdCpu :: Lens' ContainerDefinition (Maybe Int) #

The number of cpu units reserved for the container. A container instance has 1,024 cpu units for every CPU core. This parameter specifies the minimum amount of CPU to reserve for a container, and containers share unallocated CPU units with other containers on the instance with the same ratio as their allocated amount. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that is the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task would be guaranteed a minimum of 512 CPU units when needed, and each container could float to higher CPU usage if the other container was not using it, but if both tasks were 100% active all of the time, they would be limited to 512 CPU units. The Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. For more information, see CPU share constraint in the Docker documentation. The minimum valid CPU share value that the Linux kernel allows is 2; however, the CPU parameter is not required, and you can use CPU values below 2 in your container definitions. For CPU values below 2 (including null), the behavior varies based on your Amazon ECS container agent version: * Agent versions less than or equal to 1.1.0: Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to 2 CPU shares. * Agent versions greater than or equal to 1.2.0: Null, zero, and CPU values of 1 are passed to Docker as 2.

cdMemoryReservation :: Lens' ContainerDefinition (Maybe Int) #

The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit; however, your container can consume more memory when it needs to, up to either the hard limit specified with the memory parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to MemoryReservation in the Create a container section of the Docker Remote API and the --memory-reservation option to docker run . You must specify a non-zero integer for one or both of memory or memoryReservation in container definitions. If you specify both, memory must be greater than memoryReservation . If you specify memoryReservation , then that value is subtracted from the available memory resources for the container instance on which the container is placed; otherwise, the value of memory is used. For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a memoryReservation of 128 MiB, and a memory hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.

ContainerInstance

data ContainerInstance #

An EC2 instance that is running the Amazon ECS agent and has been registered with a cluster.

See: containerInstance smart constructor.

Instances

Eq ContainerInstance # 
Data ContainerInstance # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerInstance -> c ContainerInstance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerInstance #

toConstr :: ContainerInstance -> Constr #

dataTypeOf :: ContainerInstance -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerInstance) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerInstance) #

gmapT :: (forall b. Data b => b -> b) -> ContainerInstance -> ContainerInstance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerInstance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerInstance -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerInstance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerInstance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerInstance -> m ContainerInstance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerInstance -> m ContainerInstance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerInstance -> m ContainerInstance #

Read ContainerInstance # 
Show ContainerInstance # 
Generic ContainerInstance # 
Hashable ContainerInstance # 
FromJSON ContainerInstance # 
NFData ContainerInstance # 

Methods

rnf :: ContainerInstance -> () #

type Rep ContainerInstance # 
type Rep ContainerInstance = D1 (MetaData "ContainerInstance" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "ContainerInstance'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ciStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ciRunningTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_ciRemainingResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource]))))) ((:*:) (S1 (MetaSel (Just Symbol "_ciEc2InstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ciContainerInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ciAgentConnected") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ciVersionInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VersionInfo))) ((:*:) (S1 (MetaSel (Just Symbol "_ciAgentUpdateStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AgentUpdateStatus))) (S1 (MetaSel (Just Symbol "_ciAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attribute]))))) ((:*:) (S1 (MetaSel (Just Symbol "_ciVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) ((:*:) (S1 (MetaSel (Just Symbol "_ciPendingTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_ciRegisteredResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource]))))))))

containerInstance :: ContainerInstance #

Creates a value of ContainerInstance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ciStatus - The status of the container instance. The valid values are ACTIVE or INACTIVE . ACTIVE indicates that the container instance can accept tasks.
  • ciRunningTasksCount - The number of tasks on the container instance that are in the RUNNING status.
  • ciRemainingResources - For most resource types, this parameter describes the remaining resources of the container instance that are available for new tasks. For port resource types, this parameter describes the ports that are reserved by the Amazon ECS container agent and any containers that have reserved port mappings; any port that is not specified here is available for new tasks.
  • ciEc2InstanceId - The EC2 instance ID of the container instance.
  • ciContainerInstanceARN - The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region :aws_account_id :container-instance/container_instance_ID .
  • ciAgentConnected - This parameter returns true if the agent is actually connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return false , and instances without a connected agent cannot accept placement requests.
  • ciVersionInfo - The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
  • ciAgentUpdateStatus - The status of the most recent agent update. If an update has never been requested, this value is NULL .
  • ciAttributes - The attributes set for the container instance by the Amazon ECS container agent at instance registration.
  • ciVersion - The version counter for the container instance. Every time a container instance experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS container instance state with CloudWatch events, you can compare the version of a container instance reported by the Amazon ECS APIs with the version reported in CloudWatch events for the container instance (inside the detail object) to verify that the version in your event stream is current.
  • ciPendingTasksCount - The number of tasks on the container instance that are in the PENDING status.
  • ciRegisteredResources - For most resource types, this parameter describes the registered resources on the container instance that are in use by current tasks. For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent when it registered the container instance with Amazon ECS.

ciStatus :: Lens' ContainerInstance (Maybe Text) #

The status of the container instance. The valid values are ACTIVE or INACTIVE . ACTIVE indicates that the container instance can accept tasks.

ciRunningTasksCount :: Lens' ContainerInstance (Maybe Int) #

The number of tasks on the container instance that are in the RUNNING status.

ciRemainingResources :: Lens' ContainerInstance [Resource] #

For most resource types, this parameter describes the remaining resources of the container instance that are available for new tasks. For port resource types, this parameter describes the ports that are reserved by the Amazon ECS container agent and any containers that have reserved port mappings; any port that is not specified here is available for new tasks.

ciEc2InstanceId :: Lens' ContainerInstance (Maybe Text) #

The EC2 instance ID of the container instance.

ciContainerInstanceARN :: Lens' ContainerInstance (Maybe Text) #

The Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region :aws_account_id :container-instance/container_instance_ID .

ciAgentConnected :: Lens' ContainerInstance (Maybe Bool) #

This parameter returns true if the agent is actually connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return false , and instances without a connected agent cannot accept placement requests.

ciVersionInfo :: Lens' ContainerInstance (Maybe VersionInfo) #

The version information for the Amazon ECS container agent and Docker daemon running on the container instance.

ciAgentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus) #

The status of the most recent agent update. If an update has never been requested, this value is NULL .

ciAttributes :: Lens' ContainerInstance [Attribute] #

The attributes set for the container instance by the Amazon ECS container agent at instance registration.

ciVersion :: Lens' ContainerInstance (Maybe Integer) #

The version counter for the container instance. Every time a container instance experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS container instance state with CloudWatch events, you can compare the version of a container instance reported by the Amazon ECS APIs with the version reported in CloudWatch events for the container instance (inside the detail object) to verify that the version in your event stream is current.

ciPendingTasksCount :: Lens' ContainerInstance (Maybe Int) #

The number of tasks on the container instance that are in the PENDING status.

ciRegisteredResources :: Lens' ContainerInstance [Resource] #

For most resource types, this parameter describes the registered resources on the container instance that are in use by current tasks. For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent when it registered the container instance with Amazon ECS.

ContainerOverride

data ContainerOverride #

The overrides that should be sent to a container.

See: containerOverride smart constructor.

Instances

Eq ContainerOverride # 
Data ContainerOverride # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerOverride -> c ContainerOverride #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerOverride #

toConstr :: ContainerOverride -> Constr #

dataTypeOf :: ContainerOverride -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerOverride) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerOverride) #

gmapT :: (forall b. Data b => b -> b) -> ContainerOverride -> ContainerOverride #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerOverride -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerOverride -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerOverride -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerOverride -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerOverride -> m ContainerOverride #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerOverride -> m ContainerOverride #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerOverride -> m ContainerOverride #

Read ContainerOverride # 
Show ContainerOverride # 
Generic ContainerOverride # 
Hashable ContainerOverride # 
ToJSON ContainerOverride # 
FromJSON ContainerOverride # 
NFData ContainerOverride # 

Methods

rnf :: ContainerOverride -> () #

type Rep ContainerOverride # 
type Rep ContainerOverride = D1 (MetaData "ContainerOverride" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "ContainerOverride'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_coCommand") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_coEnvironment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [KeyValuePair]))) (S1 (MetaSel (Just Symbol "_coName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

containerOverride :: ContainerOverride #

Creates a value of ContainerOverride with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • coCommand - The command to send to the container that overrides the default command from the Docker image or the task definition.
  • coEnvironment - The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition.
  • coName - The name of the container that receives the override.

coCommand :: Lens' ContainerOverride [Text] #

The command to send to the container that overrides the default command from the Docker image or the task definition.

coEnvironment :: Lens' ContainerOverride [KeyValuePair] #

The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition.

coName :: Lens' ContainerOverride (Maybe Text) #

The name of the container that receives the override.

ContainerService

data ContainerService #

Details on a service within a cluster

See: containerService smart constructor.

Instances

Eq ContainerService # 
Data ContainerService # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerService -> c ContainerService #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerService #

toConstr :: ContainerService -> Constr #

dataTypeOf :: ContainerService -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerService) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerService) #

gmapT :: (forall b. Data b => b -> b) -> ContainerService -> ContainerService #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerService -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerService -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerService -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerService -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerService -> m ContainerService #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerService -> m ContainerService #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerService -> m ContainerService #

Read ContainerService # 
Show ContainerService # 
Generic ContainerService # 
Hashable ContainerService # 
FromJSON ContainerService # 
NFData ContainerService # 

Methods

rnf :: ContainerService -> () #

type Rep ContainerService # 
type Rep ContainerService = D1 (MetaData "ContainerService" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "ContainerService'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csRunningCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_csStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csClusterARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_csDesiredCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_csLoadBalancers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LoadBalancer]))) (S1 (MetaSel (Just Symbol "_csPendingCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ServiceEvent]))) ((:*:) (S1 (MetaSel (Just Symbol "_csDeployments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Deployment]))) (S1 (MetaSel (Just Symbol "_csServiceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_csServiceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csTaskDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_csRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_csDeploymentConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeploymentConfiguration))))))))

containerService :: ContainerService #

Creates a value of ContainerService with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • csRunningCount - The number of tasks in the cluster that are in the RUNNING state.
  • csStatus - The status of the service. The valid values are ACTIVE , DRAINING , or INACTIVE .
  • csClusterARN - The Amazon Resource Name (ARN) of the cluster that hosts the service.
  • csCreatedAt - The Unix timestamp for when the service was created.
  • csDesiredCount - The desired number of instantiations of the task definition to keep running on the service. This value is specified when the service is created with CreateService , and it can be modified with UpdateService .
  • csLoadBalancers - A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer.
  • csPendingCount - The number of tasks in the cluster that are in the PENDING state.
  • csEvents - The event stream for your service. A maximum of 100 of the latest events are displayed.
  • csDeployments - The current state of deployments for the service.
  • csServiceName - The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions.
  • csServiceARN - The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .
  • csTaskDefinition - The task definition to use for tasks in the service. This value is specified when the service is created with CreateService , and it can be modified with UpdateService .
  • csRoleARN - The Amazon Resource Name (ARN) of the IAM role associated with the service that allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.
  • csDeploymentConfiguration - Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

csRunningCount :: Lens' ContainerService (Maybe Int) #

The number of tasks in the cluster that are in the RUNNING state.

csStatus :: Lens' ContainerService (Maybe Text) #

The status of the service. The valid values are ACTIVE , DRAINING , or INACTIVE .

csClusterARN :: Lens' ContainerService (Maybe Text) #

The Amazon Resource Name (ARN) of the cluster that hosts the service.

csCreatedAt :: Lens' ContainerService (Maybe UTCTime) #

The Unix timestamp for when the service was created.

csDesiredCount :: Lens' ContainerService (Maybe Int) #

The desired number of instantiations of the task definition to keep running on the service. This value is specified when the service is created with CreateService , and it can be modified with UpdateService .

csLoadBalancers :: Lens' ContainerService [LoadBalancer] #

A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as it appears in a container definition), and the container port to access from the load balancer.

csPendingCount :: Lens' ContainerService (Maybe Int) #

The number of tasks in the cluster that are in the PENDING state.

csEvents :: Lens' ContainerService [ServiceEvent] #

The event stream for your service. A maximum of 100 of the latest events are displayed.

csDeployments :: Lens' ContainerService [Deployment] #

The current state of deployments for the service.

csServiceName :: Lens' ContainerService (Maybe Text) #

The name of your service. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. Service names must be unique within a cluster, but you can have similarly named services in multiple clusters within a region or across multiple regions.

csServiceARN :: Lens' ContainerService (Maybe Text) #

The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .

csTaskDefinition :: Lens' ContainerService (Maybe Text) #

The task definition to use for tasks in the service. This value is specified when the service is created with CreateService , and it can be modified with UpdateService .

csRoleARN :: Lens' ContainerService (Maybe Text) #

The Amazon Resource Name (ARN) of the IAM role associated with the service that allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.

csDeploymentConfiguration :: Lens' ContainerService (Maybe DeploymentConfiguration) #

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

Deployment

data Deployment #

The details of an Amazon ECS service deployment.

See: deployment smart constructor.

Instances

Eq Deployment # 
Data Deployment # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Deployment -> c Deployment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Deployment #

toConstr :: Deployment -> Constr #

dataTypeOf :: Deployment -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Deployment) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Deployment) #

gmapT :: (forall b. Data b => b -> b) -> Deployment -> Deployment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Deployment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Deployment -> r #

gmapQ :: (forall d. Data d => d -> u) -> Deployment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Deployment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

Read Deployment # 
Show Deployment # 
Generic Deployment # 

Associated Types

type Rep Deployment :: * -> * #

Hashable Deployment # 
FromJSON Deployment # 
NFData Deployment # 

Methods

rnf :: Deployment -> () #

type Rep Deployment # 

deployment :: Deployment #

Creates a value of Deployment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dRunningCount - The number of tasks in the deployment that are in the RUNNING status.
  • dStatus - The status of the deployment. Valid values are PRIMARY (for the most recent deployment), ACTIVE (for previous deployments that still have tasks running, but are being replaced with the PRIMARY deployment), and INACTIVE (for deployments that have been completely replaced).
  • dCreatedAt - The Unix timestamp for when the service was created.
  • dDesiredCount - The most recent desired count of tasks that was specified for the service to deploy or maintain.
  • dPendingCount - The number of tasks in the deployment that are in the PENDING status.
  • dId - The ID of the deployment.
  • dUpdatedAt - The Unix timestamp for when the service was last updated.
  • dTaskDefinition - The most recent task definition that was specified for the service to use.

dRunningCount :: Lens' Deployment (Maybe Int) #

The number of tasks in the deployment that are in the RUNNING status.

dStatus :: Lens' Deployment (Maybe Text) #

The status of the deployment. Valid values are PRIMARY (for the most recent deployment), ACTIVE (for previous deployments that still have tasks running, but are being replaced with the PRIMARY deployment), and INACTIVE (for deployments that have been completely replaced).

dCreatedAt :: Lens' Deployment (Maybe UTCTime) #

The Unix timestamp for when the service was created.

dDesiredCount :: Lens' Deployment (Maybe Int) #

The most recent desired count of tasks that was specified for the service to deploy or maintain.

dPendingCount :: Lens' Deployment (Maybe Int) #

The number of tasks in the deployment that are in the PENDING status.

dId :: Lens' Deployment (Maybe Text) #

The ID of the deployment.

dUpdatedAt :: Lens' Deployment (Maybe UTCTime) #

The Unix timestamp for when the service was last updated.

dTaskDefinition :: Lens' Deployment (Maybe Text) #

The most recent task definition that was specified for the service to use.

DeploymentConfiguration

data DeploymentConfiguration #

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

See: deploymentConfiguration smart constructor.

Instances

Eq DeploymentConfiguration # 
Data DeploymentConfiguration # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeploymentConfiguration -> c DeploymentConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeploymentConfiguration #

toConstr :: DeploymentConfiguration -> Constr #

dataTypeOf :: DeploymentConfiguration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeploymentConfiguration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeploymentConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> DeploymentConfiguration -> DeploymentConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeploymentConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeploymentConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeploymentConfiguration -> m DeploymentConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentConfiguration -> m DeploymentConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentConfiguration -> m DeploymentConfiguration #

Read DeploymentConfiguration # 
Show DeploymentConfiguration # 
Generic DeploymentConfiguration # 
Hashable DeploymentConfiguration # 
ToJSON DeploymentConfiguration # 
FromJSON DeploymentConfiguration # 
NFData DeploymentConfiguration # 

Methods

rnf :: DeploymentConfiguration -> () #

type Rep DeploymentConfiguration # 
type Rep DeploymentConfiguration = D1 (MetaData "DeploymentConfiguration" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "DeploymentConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcMinimumHealthyPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_dcMaximumPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))

deploymentConfiguration :: DeploymentConfiguration #

Creates a value of DeploymentConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dcMinimumHealthyPercent - The lower limit (as a percentage of the service's desiredCount ) of the number of running tasks that must remain in the RUNNING state in a service during a deployment. The minimum healthy tasks during a deployment is the desiredCount multiplied by the minimumHealthyPercent /100, rounded up to the nearest integer value.
  • dcMaximumPercent - The upper limit (as a percentage of the service's desiredCount ) of the number of tasks that are allowed in the RUNNING or PENDING state in a service during a deployment. The maximum number of tasks during a deployment is the desiredCount multiplied by the maximumPercent /100, rounded down to the nearest integer value.

dcMinimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int) #

The lower limit (as a percentage of the service's desiredCount ) of the number of running tasks that must remain in the RUNNING state in a service during a deployment. The minimum healthy tasks during a deployment is the desiredCount multiplied by the minimumHealthyPercent /100, rounded up to the nearest integer value.

dcMaximumPercent :: Lens' DeploymentConfiguration (Maybe Int) #

The upper limit (as a percentage of the service's desiredCount ) of the number of tasks that are allowed in the RUNNING or PENDING state in a service during a deployment. The maximum number of tasks during a deployment is the desiredCount multiplied by the maximumPercent /100, rounded down to the nearest integer value.

Failure

data Failure #

A failed resource.

See: failure smart constructor.

Instances

Eq Failure # 

Methods

(==) :: Failure -> Failure -> Bool #

(/=) :: Failure -> Failure -> Bool #

Data Failure # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Failure -> c Failure #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Failure #

toConstr :: Failure -> Constr #

dataTypeOf :: Failure -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Failure) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Failure) #

gmapT :: (forall b. Data b => b -> b) -> Failure -> Failure #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Failure -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Failure -> r #

gmapQ :: (forall d. Data d => d -> u) -> Failure -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Failure -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Failure -> m Failure #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Failure -> m Failure #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Failure -> m Failure #

Read Failure # 
Show Failure # 
Generic Failure # 

Associated Types

type Rep Failure :: * -> * #

Methods

from :: Failure -> Rep Failure x #

to :: Rep Failure x -> Failure #

Hashable Failure # 

Methods

hashWithSalt :: Int -> Failure -> Int #

hash :: Failure -> Int #

FromJSON Failure # 
NFData Failure # 

Methods

rnf :: Failure -> () #

type Rep Failure # 
type Rep Failure = D1 (MetaData "Failure" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "Failure'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_fArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_fReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

failure :: Failure #

Creates a value of Failure with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • fArn - The Amazon Resource Name (ARN) of the failed resource.
  • fReason - The reason for the failure.

fArn :: Lens' Failure (Maybe Text) #

The Amazon Resource Name (ARN) of the failed resource.

fReason :: Lens' Failure (Maybe Text) #

The reason for the failure.

HostEntry

data HostEntry #

Hostnames and IP address entries that are added to the etchosts file of a container via the extraHosts parameter of its ContainerDefinition .

See: hostEntry smart constructor.

Instances

Eq HostEntry # 
Data HostEntry # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HostEntry -> c HostEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HostEntry #

toConstr :: HostEntry -> Constr #

dataTypeOf :: HostEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HostEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HostEntry) #

gmapT :: (forall b. Data b => b -> b) -> HostEntry -> HostEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HostEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HostEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> HostEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HostEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HostEntry -> m HostEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HostEntry -> m HostEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HostEntry -> m HostEntry #

Read HostEntry # 
Show HostEntry # 
Generic HostEntry # 

Associated Types

type Rep HostEntry :: * -> * #

Hashable HostEntry # 
ToJSON HostEntry # 
FromJSON HostEntry # 
NFData HostEntry # 

Methods

rnf :: HostEntry -> () #

type Rep HostEntry # 
type Rep HostEntry = D1 (MetaData "HostEntry" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "HostEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_heHostname") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_heIpAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

hostEntry #

Creates a value of HostEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • heHostname - The hostname to use in the etchosts entry.
  • heIpAddress - The IP address to use in the etchosts entry.

heHostname :: Lens' HostEntry Text #

The hostname to use in the etchosts entry.

heIpAddress :: Lens' HostEntry Text #

The IP address to use in the etchosts entry.

HostVolumeProperties

data HostVolumeProperties #

Details on a container instance host volume.

See: hostVolumeProperties smart constructor.

Instances

Eq HostVolumeProperties # 
Data HostVolumeProperties # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HostVolumeProperties -> c HostVolumeProperties #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HostVolumeProperties #

toConstr :: HostVolumeProperties -> Constr #

dataTypeOf :: HostVolumeProperties -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HostVolumeProperties) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HostVolumeProperties) #

gmapT :: (forall b. Data b => b -> b) -> HostVolumeProperties -> HostVolumeProperties #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HostVolumeProperties -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HostVolumeProperties -> r #

gmapQ :: (forall d. Data d => d -> u) -> HostVolumeProperties -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HostVolumeProperties -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HostVolumeProperties -> m HostVolumeProperties #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HostVolumeProperties -> m HostVolumeProperties #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HostVolumeProperties -> m HostVolumeProperties #

Read HostVolumeProperties # 
Show HostVolumeProperties # 
Generic HostVolumeProperties # 
Hashable HostVolumeProperties # 
ToJSON HostVolumeProperties # 
FromJSON HostVolumeProperties # 
NFData HostVolumeProperties # 

Methods

rnf :: HostVolumeProperties -> () #

type Rep HostVolumeProperties # 
type Rep HostVolumeProperties = D1 (MetaData "HostVolumeProperties" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" True) (C1 (MetaCons "HostVolumeProperties'" PrefixI True) (S1 (MetaSel (Just Symbol "_hvpSourcePath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

hostVolumeProperties :: HostVolumeProperties #

Creates a value of HostVolumeProperties with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hvpSourcePath - The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the host parameter contains a sourcePath file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the sourcePath value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.

hvpSourcePath :: Lens' HostVolumeProperties (Maybe Text) #

The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the host parameter contains a sourcePath file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the sourcePath value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.

KeyValuePair

data KeyValuePair #

A key and value pair object.

See: keyValuePair smart constructor.

Instances

Eq KeyValuePair # 
Data KeyValuePair # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyValuePair -> c KeyValuePair #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyValuePair #

toConstr :: KeyValuePair -> Constr #

dataTypeOf :: KeyValuePair -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c KeyValuePair) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyValuePair) #

gmapT :: (forall b. Data b => b -> b) -> KeyValuePair -> KeyValuePair #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyValuePair -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyValuePair -> r #

gmapQ :: (forall d. Data d => d -> u) -> KeyValuePair -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyValuePair -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyValuePair -> m KeyValuePair #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyValuePair -> m KeyValuePair #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyValuePair -> m KeyValuePair #

Read KeyValuePair # 
Show KeyValuePair # 
Generic KeyValuePair # 

Associated Types

type Rep KeyValuePair :: * -> * #

Hashable KeyValuePair # 
ToJSON KeyValuePair # 
FromJSON KeyValuePair # 
NFData KeyValuePair # 

Methods

rnf :: KeyValuePair -> () #

type Rep KeyValuePair # 
type Rep KeyValuePair = D1 (MetaData "KeyValuePair" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "KeyValuePair'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_kvpValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_kvpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

keyValuePair :: KeyValuePair #

Creates a value of KeyValuePair with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • kvpValue - The value of the key value pair. For environment variables, this is the value of the environment variable.
  • kvpName - The name of the key value pair. For environment variables, this is the name of the environment variable.

kvpValue :: Lens' KeyValuePair (Maybe Text) #

The value of the key value pair. For environment variables, this is the value of the environment variable.

kvpName :: Lens' KeyValuePair (Maybe Text) #

The name of the key value pair. For environment variables, this is the name of the environment variable.

LoadBalancer

data LoadBalancer #

Details on a load balancer that is used with a service.

See: loadBalancer smart constructor.

Instances

Eq LoadBalancer # 
Data LoadBalancer # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LoadBalancer -> c LoadBalancer #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LoadBalancer #

toConstr :: LoadBalancer -> Constr #

dataTypeOf :: LoadBalancer -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LoadBalancer) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LoadBalancer) #

gmapT :: (forall b. Data b => b -> b) -> LoadBalancer -> LoadBalancer #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LoadBalancer -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LoadBalancer -> r #

gmapQ :: (forall d. Data d => d -> u) -> LoadBalancer -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LoadBalancer -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LoadBalancer -> m LoadBalancer #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LoadBalancer -> m LoadBalancer #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LoadBalancer -> m LoadBalancer #

Read LoadBalancer # 
Show LoadBalancer # 
Generic LoadBalancer # 

Associated Types

type Rep LoadBalancer :: * -> * #

Hashable LoadBalancer # 
ToJSON LoadBalancer # 
FromJSON LoadBalancer # 
NFData LoadBalancer # 

Methods

rnf :: LoadBalancer -> () #

type Rep LoadBalancer # 
type Rep LoadBalancer = D1 (MetaData "LoadBalancer" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "LoadBalancer'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lbLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lbContainerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lbTargetGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lbContainerPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))

loadBalancer :: LoadBalancer #

Creates a value of LoadBalancer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lbLoadBalancerName - The name of the load balancer.
  • lbContainerName - The name of the container (as it appears in a container definition) to associate with the load balancer.
  • lbTargetGroupARN - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service.
  • lbContainerPort - The port on the container to associate with the load balancer. This port must correspond to a containerPort in the service's task definition. Your container instances must allow ingress traffic on the hostPort of the port mapping.

lbLoadBalancerName :: Lens' LoadBalancer (Maybe Text) #

The name of the load balancer.

lbContainerName :: Lens' LoadBalancer (Maybe Text) #

The name of the container (as it appears in a container definition) to associate with the load balancer.

lbTargetGroupARN :: Lens' LoadBalancer (Maybe Text) #

The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service.

lbContainerPort :: Lens' LoadBalancer (Maybe Int) #

The port on the container to associate with the load balancer. This port must correspond to a containerPort in the service's task definition. Your container instances must allow ingress traffic on the hostPort of the port mapping.

LogConfiguration

data LogConfiguration #

Log configuration options to send to a custom log driver for the container.

See: logConfiguration smart constructor.

Instances

Eq LogConfiguration # 
Data LogConfiguration # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LogConfiguration -> c LogConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LogConfiguration #

toConstr :: LogConfiguration -> Constr #

dataTypeOf :: LogConfiguration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LogConfiguration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LogConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> LogConfiguration -> LogConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LogConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LogConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> LogConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LogConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LogConfiguration -> m LogConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LogConfiguration -> m LogConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LogConfiguration -> m LogConfiguration #

Read LogConfiguration # 
Show LogConfiguration # 
Generic LogConfiguration # 
Hashable LogConfiguration # 
ToJSON LogConfiguration # 
FromJSON LogConfiguration # 
NFData LogConfiguration # 

Methods

rnf :: LogConfiguration -> () #

type Rep LogConfiguration # 
type Rep LogConfiguration = D1 (MetaData "LogConfiguration" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "LogConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_lcLogDriver") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LogDriver))))

logConfiguration #

Creates a value of LogConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lcOptions - The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"
  • lcLogDriver - The log driver to use for the container. The valid values listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"

lcOptions :: Lens' LogConfiguration (HashMap Text Text) #

The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"

lcLogDriver :: Lens' LogConfiguration LogDriver #

The log driver to use for the container. The valid values listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep "Server API version"

MountPoint

data MountPoint #

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

See: mountPoint smart constructor.

Instances

Eq MountPoint # 
Data MountPoint # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MountPoint -> c MountPoint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MountPoint #

toConstr :: MountPoint -> Constr #

dataTypeOf :: MountPoint -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MountPoint) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MountPoint) #

gmapT :: (forall b. Data b => b -> b) -> MountPoint -> MountPoint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MountPoint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MountPoint -> r #

gmapQ :: (forall d. Data d => d -> u) -> MountPoint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MountPoint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MountPoint -> m MountPoint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MountPoint -> m MountPoint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MountPoint -> m MountPoint #

Read MountPoint # 
Show MountPoint # 
Generic MountPoint # 

Associated Types

type Rep MountPoint :: * -> * #

Hashable MountPoint # 
ToJSON MountPoint # 
FromJSON MountPoint # 
NFData MountPoint # 

Methods

rnf :: MountPoint -> () #

type Rep MountPoint # 
type Rep MountPoint = D1 (MetaData "MountPoint" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "MountPoint'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mpContainerPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mpSourceVolume") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mpReadOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

mountPoint :: MountPoint #

Creates a value of MountPoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • mpContainerPath - The path on the container to mount the host volume at.
  • mpSourceVolume - The name of the volume to mount.
  • mpReadOnly - 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 .

mpContainerPath :: Lens' MountPoint (Maybe Text) #

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

mpSourceVolume :: Lens' MountPoint (Maybe Text) #

The name of the volume to mount.

mpReadOnly :: Lens' MountPoint (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 .

NetworkBinding

data NetworkBinding #

Details on the network bindings between a container and its host container instance. After a task reaches the RUNNING status, manual and automatic host and container port assignments are visible in the networkBindings section of DescribeTasks API responses.

See: networkBinding smart constructor.

Instances

Eq NetworkBinding # 
Data NetworkBinding # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NetworkBinding -> c NetworkBinding #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NetworkBinding #

toConstr :: NetworkBinding -> Constr #

dataTypeOf :: NetworkBinding -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NetworkBinding) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NetworkBinding) #

gmapT :: (forall b. Data b => b -> b) -> NetworkBinding -> NetworkBinding #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NetworkBinding -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NetworkBinding -> r #

gmapQ :: (forall d. Data d => d -> u) -> NetworkBinding -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NetworkBinding -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NetworkBinding -> m NetworkBinding #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkBinding -> m NetworkBinding #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkBinding -> m NetworkBinding #

Read NetworkBinding # 
Show NetworkBinding # 
Generic NetworkBinding # 

Associated Types

type Rep NetworkBinding :: * -> * #

Hashable NetworkBinding # 
ToJSON NetworkBinding # 
FromJSON NetworkBinding # 
NFData NetworkBinding # 

Methods

rnf :: NetworkBinding -> () #

type Rep NetworkBinding # 
type Rep NetworkBinding = D1 (MetaData "NetworkBinding" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "NetworkBinding'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_nbBindIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_nbProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TransportProtocol)))) ((:*:) (S1 (MetaSel (Just Symbol "_nbHostPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_nbContainerPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))

networkBinding :: NetworkBinding #

Creates a value of NetworkBinding with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • nbBindIP - The IP address that the container is bound to on the container instance.
  • nbProtocol - The protocol used for the network binding.
  • nbHostPort - The port number on the host that is used with the network binding.
  • nbContainerPort - The port number on the container that is be used with the network binding.

nbBindIP :: Lens' NetworkBinding (Maybe Text) #

The IP address that the container is bound to on the container instance.

nbProtocol :: Lens' NetworkBinding (Maybe TransportProtocol) #

The protocol used for the network binding.

nbHostPort :: Lens' NetworkBinding (Maybe Int) #

The port number on the host that is used with the network binding.

nbContainerPort :: Lens' NetworkBinding (Maybe Int) #

The port number on the container that is be used with the network binding.

PortMapping

data PortMapping #

Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition. After a task reaches the RUNNING status, manual and automatic host and container port assignments are visible in the networkBindings section of DescribeTasks API responses.

See: portMapping smart constructor.

Instances

Eq PortMapping # 
Data PortMapping # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PortMapping -> c PortMapping #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PortMapping #

toConstr :: PortMapping -> Constr #

dataTypeOf :: PortMapping -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PortMapping) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PortMapping) #

gmapT :: (forall b. Data b => b -> b) -> PortMapping -> PortMapping #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PortMapping -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PortMapping -> r #

gmapQ :: (forall d. Data d => d -> u) -> PortMapping -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PortMapping -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PortMapping -> m PortMapping #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PortMapping -> m PortMapping #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PortMapping -> m PortMapping #

Read PortMapping # 
Show PortMapping # 
Generic PortMapping # 

Associated Types

type Rep PortMapping :: * -> * #

Hashable PortMapping # 
ToJSON PortMapping # 
FromJSON PortMapping # 
NFData PortMapping # 

Methods

rnf :: PortMapping -> () #

type Rep PortMapping # 
type Rep PortMapping = D1 (MetaData "PortMapping" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "PortMapping'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pmProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TransportProtocol))) ((:*:) (S1 (MetaSel (Just Symbol "_pmHostPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_pmContainerPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))

portMapping :: PortMapping #

Creates a value of PortMapping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pmProtocol - The protocol used for the port mapping. Valid values are tcp and udp . The default is tcp .
  • pmHostPort - The port number on the container instance to reserve for your container. You can specify a non-reserved host port for your container port mapping, or you can omit the hostPort (or set it to 0 ) while specifying a containerPort and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version. The default ephemeral port range is 49153 to 65535, and this range is used for Docker versions prior to 1.6.0. For Docker version 1.6.0 and later, the Docker daemon tries to read the ephemeral port range from procsysnetipv4/ip_local_port_range ; if this kernel parameter is unavailable, the default ephemeral port range is used. You should not attempt to specify a host port in the ephemeral port range, because these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range. The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678 and 51679. Any host port that was previously specified in a running task is also reserved while the task is running (after a task stops, the host port is released).The current reserved ports are displayed in the remainingResources of DescribeContainerInstances output, and a container instance may have up to 100 reserved ports at a time, including the default reserved ports (automatically assigned ports do not count toward the 100 reserved ports limit).
  • pmContainerPort - The port number on the container that is bound to the user-specified or automatically assigned host port. If you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range (for more information, see hostPort ). Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance.

pmProtocol :: Lens' PortMapping (Maybe TransportProtocol) #

The protocol used for the port mapping. Valid values are tcp and udp . The default is tcp .

pmHostPort :: Lens' PortMapping (Maybe Int) #

The port number on the container instance to reserve for your container. You can specify a non-reserved host port for your container port mapping, or you can omit the hostPort (or set it to 0 ) while specifying a containerPort and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version. The default ephemeral port range is 49153 to 65535, and this range is used for Docker versions prior to 1.6.0. For Docker version 1.6.0 and later, the Docker daemon tries to read the ephemeral port range from procsysnetipv4/ip_local_port_range ; if this kernel parameter is unavailable, the default ephemeral port range is used. You should not attempt to specify a host port in the ephemeral port range, because these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range. The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678 and 51679. Any host port that was previously specified in a running task is also reserved while the task is running (after a task stops, the host port is released).The current reserved ports are displayed in the remainingResources of DescribeContainerInstances output, and a container instance may have up to 100 reserved ports at a time, including the default reserved ports (automatically assigned ports do not count toward the 100 reserved ports limit).

pmContainerPort :: Lens' PortMapping (Maybe Int) #

The port number on the container that is bound to the user-specified or automatically assigned host port. If you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range (for more information, see hostPort ). Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance.

Resource

data Resource #

Describes the resources available for a container instance.

See: resource smart constructor.

Instances

Eq Resource # 
Data Resource # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Resource -> c Resource #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Resource #

toConstr :: Resource -> Constr #

dataTypeOf :: Resource -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Resource) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Resource) #

gmapT :: (forall b. Data b => b -> b) -> Resource -> Resource #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r #

gmapQ :: (forall d. Data d => d -> u) -> Resource -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Resource -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Resource -> m Resource #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource #

Read Resource # 
Show Resource # 
Generic Resource # 

Associated Types

type Rep Resource :: * -> * #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Hashable Resource # 

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

ToJSON Resource # 
FromJSON Resource # 
NFData Resource # 

Methods

rnf :: Resource -> () #

type Rep Resource # 

resource :: Resource #

Creates a value of Resource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rStringSetValue - When the stringSetValue type is set, the value of the resource must be a string type.
  • rIntegerValue - When the integerValue type is set, the value of the resource must be an integer.
  • rDoubleValue - When the doubleValue type is set, the value of the resource must be a double precision floating-point type.
  • rLongValue - When the longValue type is set, the value of the resource must be an extended precision floating-point type.
  • rName - The name of the resource, such as CPU , MEMORY , PORTS , or a user-defined resource.
  • rType - The type of the resource, such as INTEGER , DOUBLE , LONG , or STRINGSET .

rStringSetValue :: Lens' Resource [Text] #

When the stringSetValue type is set, the value of the resource must be a string type.

rIntegerValue :: Lens' Resource (Maybe Int) #

When the integerValue type is set, the value of the resource must be an integer.

rDoubleValue :: Lens' Resource (Maybe Double) #

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

rLongValue :: Lens' Resource (Maybe Integer) #

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

rName :: Lens' Resource (Maybe Text) #

The name of the resource, such as CPU , MEMORY , PORTS , or a user-defined resource.

rType :: Lens' Resource (Maybe Text) #

The type of the resource, such as INTEGER , DOUBLE , LONG , or STRINGSET .

ServiceEvent

data ServiceEvent #

Details on an event associated with a service.

See: serviceEvent smart constructor.

Instances

Eq ServiceEvent # 
Data ServiceEvent # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ServiceEvent -> c ServiceEvent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ServiceEvent #

toConstr :: ServiceEvent -> Constr #

dataTypeOf :: ServiceEvent -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ServiceEvent) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ServiceEvent) #

gmapT :: (forall b. Data b => b -> b) -> ServiceEvent -> ServiceEvent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ServiceEvent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ServiceEvent -> r #

gmapQ :: (forall d. Data d => d -> u) -> ServiceEvent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ServiceEvent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ServiceEvent -> m ServiceEvent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ServiceEvent -> m ServiceEvent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ServiceEvent -> m ServiceEvent #

Read ServiceEvent # 
Show ServiceEvent # 
Generic ServiceEvent # 

Associated Types

type Rep ServiceEvent :: * -> * #

Hashable ServiceEvent # 
FromJSON ServiceEvent # 
NFData ServiceEvent # 

Methods

rnf :: ServiceEvent -> () #

type Rep ServiceEvent # 
type Rep ServiceEvent = D1 (MetaData "ServiceEvent" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "ServiceEvent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_seCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_seId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_seMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

serviceEvent :: ServiceEvent #

Creates a value of ServiceEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • seCreatedAt - The Unix timestamp for when the event was triggered.
  • seId - The ID string of the event.
  • seMessage - The event message.

seCreatedAt :: Lens' ServiceEvent (Maybe UTCTime) #

The Unix timestamp for when the event was triggered.

seId :: Lens' ServiceEvent (Maybe Text) #

The ID string of the event.

seMessage :: Lens' ServiceEvent (Maybe Text) #

The event message.

Task

data Task #

Details on a task in a cluster.

See: task smart constructor.

Instances

Eq Task # 

Methods

(==) :: Task -> Task -> Bool #

(/=) :: Task -> Task -> Bool #

Data Task # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Task -> c Task #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Task #

toConstr :: Task -> Constr #

dataTypeOf :: Task -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Task) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Task) #

gmapT :: (forall b. Data b => b -> b) -> Task -> Task #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Task -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Task -> r #

gmapQ :: (forall d. Data d => d -> u) -> Task -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Task -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Task -> m Task #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Task -> m Task #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Task -> m Task #

Read Task # 
Show Task # 

Methods

showsPrec :: Int -> Task -> ShowS #

show :: Task -> String #

showList :: [Task] -> ShowS #

Generic Task # 

Associated Types

type Rep Task :: * -> * #

Methods

from :: Task -> Rep Task x #

to :: Rep Task x -> Task #

Hashable Task # 

Methods

hashWithSalt :: Int -> Task -> Int #

hash :: Task -> Int #

FromJSON Task # 
NFData Task # 

Methods

rnf :: Task -> () #

type Rep Task # 
type Rep Task = D1 (MetaData "Task" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "Task'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tStoppedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_tDesiredStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tOverrides") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TaskOverride))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tClusterARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) ((:*:) (S1 (MetaSel (Just Symbol "_tTaskARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tContainerInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tLastStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tContainers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Container]))) (S1 (MetaSel (Just Symbol "_tStartedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_tStartedBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tStoppedReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tTaskDefinitionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

task :: Task #

Creates a value of Task with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tStoppedAt - The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING state to the STOPPED state).
  • tDesiredStatus - The desired status of the task.
  • tOverrides - One or more container overrides.
  • tClusterARN - The Amazon Resource Name (ARN) of the cluster that hosts the task.
  • tCreatedAt - The Unix timestamp for when the task was created (the task entered the PENDING state).
  • tTaskARN - The Amazon Resource Name (ARN) of the task.
  • tContainerInstanceARN - The Amazon Resource Name (ARN) of the container instances that host the task.
  • tLastStatus - The last known status of the task.
  • tContainers - The containers associated with the task.
  • tStartedAt - The Unix timestamp for when the task was started (the task transitioned from the PENDING state to the RUNNING state).
  • tVersion - The version counter for the task. Every time a task experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task state with CloudWatch events, you can compare the version of a task reported by the Amazon ECS APIs with the version reported in CloudWatch events for the task (inside the detail object) to verify that the version in your event stream is current.
  • tStartedBy - The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.
  • tStoppedReason - The reason the task was stopped.
  • tTaskDefinitionARN - The Amazon Resource Name (ARN) of the task definition that creates the task.

tStoppedAt :: Lens' Task (Maybe UTCTime) #

The Unix timestamp for when the task was stopped (the task transitioned from the RUNNING state to the STOPPED state).

tDesiredStatus :: Lens' Task (Maybe Text) #

The desired status of the task.

tOverrides :: Lens' Task (Maybe TaskOverride) #

One or more container overrides.

tClusterARN :: Lens' Task (Maybe Text) #

The Amazon Resource Name (ARN) of the cluster that hosts the task.

tCreatedAt :: Lens' Task (Maybe UTCTime) #

The Unix timestamp for when the task was created (the task entered the PENDING state).

tTaskARN :: Lens' Task (Maybe Text) #

The Amazon Resource Name (ARN) of the task.

tContainerInstanceARN :: Lens' Task (Maybe Text) #

The Amazon Resource Name (ARN) of the container instances that host the task.

tLastStatus :: Lens' Task (Maybe Text) #

The last known status of the task.

tContainers :: Lens' Task [Container] #

The containers associated with the task.

tStartedAt :: Lens' Task (Maybe UTCTime) #

The Unix timestamp for when the task was started (the task transitioned from the PENDING state to the RUNNING state).

tVersion :: Lens' Task (Maybe Integer) #

The version counter for the task. Every time a task experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task state with CloudWatch events, you can compare the version of a task reported by the Amazon ECS APIs with the version reported in CloudWatch events for the task (inside the detail object) to verify that the version in your event stream is current.

tStartedBy :: Lens' Task (Maybe Text) #

The tag specified when a task is started. If the task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.

tStoppedReason :: Lens' Task (Maybe Text) #

The reason the task was stopped.

tTaskDefinitionARN :: Lens' Task (Maybe Text) #

The Amazon Resource Name (ARN) of the task definition that creates the task.

TaskDefinition

data TaskDefinition #

Details of a task definition.

See: taskDefinition smart constructor.

Instances

Eq TaskDefinition # 
Data TaskDefinition # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaskDefinition -> c TaskDefinition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaskDefinition #

toConstr :: TaskDefinition -> Constr #

dataTypeOf :: TaskDefinition -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TaskDefinition) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaskDefinition) #

gmapT :: (forall b. Data b => b -> b) -> TaskDefinition -> TaskDefinition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaskDefinition -> r #

gmapQ :: (forall d. Data d => d -> u) -> TaskDefinition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TaskDefinition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaskDefinition -> m TaskDefinition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinition -> m TaskDefinition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskDefinition -> m TaskDefinition #

Read TaskDefinition # 
Show TaskDefinition # 
Generic TaskDefinition # 

Associated Types

type Rep TaskDefinition :: * -> * #

Hashable TaskDefinition # 
FromJSON TaskDefinition # 
NFData TaskDefinition # 

Methods

rnf :: TaskDefinition -> () #

type Rep TaskDefinition # 

taskDefinition :: TaskDefinition #

Creates a value of TaskDefinition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tdStatus - The status of the task definition.
  • tdFamily - The family of your task definition, used as the definition name.
  • tdContainerDefinitions - A list of container definitions in JSON format that describe the different containers that make up your task. For more information about container definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide .
  • tdTaskRoleARN - The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.
  • tdNetworkMode - The Docker networking mode to use for the containers in the task. The valid values are none , bridge , and host . If the network mode is none , the containers do not have external connectivity. The default Docker network mode is bridge . The host network mode offers the highest networking performance for containers because it uses the host network stack instead of the virtualized network stack provided by the bridge mode. For more information, see Network settings in the Docker run reference .
  • tdTaskDefinitionARN - The full Amazon Resource Name (ARN) of the task definition.
  • tdRevision - The revision of the task in a particular family. The revision is a version number of a task definition in a family. When you register a task definition for the first time, the revision is 1 ; each time you register a new revision of a task definition in the same family, the revision value always increases by one (even if you have deregistered previous revisions in this family).
  • tdVolumes - The list of volumes in a task. For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide .
  • tdRequiresAttributes - The container instance attributes required by your task.

tdStatus :: Lens' TaskDefinition (Maybe TaskDefinitionStatus) #

The status of the task definition.

tdFamily :: Lens' TaskDefinition (Maybe Text) #

The family of your task definition, used as the definition name.

tdContainerDefinitions :: Lens' TaskDefinition [ContainerDefinition] #

A list of container definitions in JSON format that describe the different containers that make up your task. For more information about container definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide .

tdTaskRoleARN :: Lens' TaskDefinition (Maybe Text) #

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.

tdNetworkMode :: Lens' TaskDefinition (Maybe NetworkMode) #

The Docker networking mode to use for the containers in the task. The valid values are none , bridge , and host . If the network mode is none , the containers do not have external connectivity. The default Docker network mode is bridge . The host network mode offers the highest networking performance for containers because it uses the host network stack instead of the virtualized network stack provided by the bridge mode. For more information, see Network settings in the Docker run reference .

tdTaskDefinitionARN :: Lens' TaskDefinition (Maybe Text) #

The full Amazon Resource Name (ARN) of the task definition.

tdRevision :: Lens' TaskDefinition (Maybe Int) #

The revision of the task in a particular family. The revision is a version number of a task definition in a family. When you register a task definition for the first time, the revision is 1 ; each time you register a new revision of a task definition in the same family, the revision value always increases by one (even if you have deregistered previous revisions in this family).

tdVolumes :: Lens' TaskDefinition [Volume] #

The list of volumes in a task. For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide .

tdRequiresAttributes :: Lens' TaskDefinition [Attribute] #

The container instance attributes required by your task.

TaskOverride

data TaskOverride #

The overrides associated with a task.

See: taskOverride smart constructor.

Instances

Eq TaskOverride # 
Data TaskOverride # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaskOverride -> c TaskOverride #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaskOverride #

toConstr :: TaskOverride -> Constr #

dataTypeOf :: TaskOverride -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TaskOverride) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaskOverride) #

gmapT :: (forall b. Data b => b -> b) -> TaskOverride -> TaskOverride #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaskOverride -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaskOverride -> r #

gmapQ :: (forall d. Data d => d -> u) -> TaskOverride -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TaskOverride -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaskOverride -> m TaskOverride #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskOverride -> m TaskOverride #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskOverride -> m TaskOverride #

Read TaskOverride # 
Show TaskOverride # 
Generic TaskOverride # 

Associated Types

type Rep TaskOverride :: * -> * #

Hashable TaskOverride # 
ToJSON TaskOverride # 
FromJSON TaskOverride # 
NFData TaskOverride # 

Methods

rnf :: TaskOverride -> () #

type Rep TaskOverride # 
type Rep TaskOverride = D1 (MetaData "TaskOverride" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "TaskOverride'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_toContainerOverrides") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ContainerOverride]))) (S1 (MetaSel (Just Symbol "_toTaskRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

taskOverride :: TaskOverride #

Creates a value of TaskOverride with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • toContainerOverrides - One or more container overrides sent to a task.
  • toTaskRoleARN - The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.

toContainerOverrides :: Lens' TaskOverride [ContainerOverride] #

One or more container overrides sent to a task.

toTaskRoleARN :: Lens' TaskOverride (Maybe Text) #

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.

Ulimit

data Ulimit #

The ulimit settings to pass to the container.

See: ulimit smart constructor.

Instances

Eq Ulimit # 

Methods

(==) :: Ulimit -> Ulimit -> Bool #

(/=) :: Ulimit -> Ulimit -> Bool #

Data Ulimit # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Ulimit -> c Ulimit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Ulimit #

toConstr :: Ulimit -> Constr #

dataTypeOf :: Ulimit -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Ulimit) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Ulimit) #

gmapT :: (forall b. Data b => b -> b) -> Ulimit -> Ulimit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Ulimit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Ulimit -> r #

gmapQ :: (forall d. Data d => d -> u) -> Ulimit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Ulimit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Ulimit -> m Ulimit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Ulimit -> m Ulimit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Ulimit -> m Ulimit #

Read Ulimit # 
Show Ulimit # 
Generic Ulimit # 

Associated Types

type Rep Ulimit :: * -> * #

Methods

from :: Ulimit -> Rep Ulimit x #

to :: Rep Ulimit x -> Ulimit #

Hashable Ulimit # 

Methods

hashWithSalt :: Int -> Ulimit -> Int #

hash :: Ulimit -> Int #

ToJSON Ulimit # 
FromJSON Ulimit # 
NFData Ulimit # 

Methods

rnf :: Ulimit -> () #

type Rep Ulimit # 
type Rep Ulimit = D1 (MetaData "Ulimit" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "Ulimit'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UlimitName)) ((:*:) (S1 (MetaSel (Just Symbol "_uSoftLimit") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_uHardLimit") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

ulimit #

Creates a value of Ulimit with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uName - The type of the ulimit .
  • uSoftLimit - The soft limit for the ulimit type.
  • uHardLimit - The hard limit for the ulimit type.

uName :: Lens' Ulimit UlimitName #

The type of the ulimit .

uSoftLimit :: Lens' Ulimit Int #

The soft limit for the ulimit type.

uHardLimit :: Lens' Ulimit Int #

The hard limit for the ulimit type.

VersionInfo

data VersionInfo #

The Docker and Amazon ECS container agent version information about a container instance.

See: versionInfo smart constructor.

Instances

Eq VersionInfo # 
Data VersionInfo # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VersionInfo -> c VersionInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VersionInfo #

toConstr :: VersionInfo -> Constr #

dataTypeOf :: VersionInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VersionInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VersionInfo) #

gmapT :: (forall b. Data b => b -> b) -> VersionInfo -> VersionInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VersionInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VersionInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> VersionInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VersionInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VersionInfo -> m VersionInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VersionInfo -> m VersionInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VersionInfo -> m VersionInfo #

Read VersionInfo # 
Show VersionInfo # 
Generic VersionInfo # 

Associated Types

type Rep VersionInfo :: * -> * #

Hashable VersionInfo # 
ToJSON VersionInfo # 
FromJSON VersionInfo # 
NFData VersionInfo # 

Methods

rnf :: VersionInfo -> () #

type Rep VersionInfo # 
type Rep VersionInfo = D1 (MetaData "VersionInfo" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "VersionInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_viAgentHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_viAgentVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_viDockerVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

versionInfo :: VersionInfo #

Creates a value of VersionInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

viAgentHash :: Lens' VersionInfo (Maybe Text) #

The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.

viAgentVersion :: Lens' VersionInfo (Maybe Text) #

The version number of the Amazon ECS container agent.

viDockerVersion :: Lens' VersionInfo (Maybe Text) #

The Docker version running on the container instance.

Volume

data Volume #

A data volume used in a task definition.

See: volume smart constructor.

Instances

Eq Volume # 

Methods

(==) :: Volume -> Volume -> Bool #

(/=) :: Volume -> Volume -> Bool #

Data Volume # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Volume -> c Volume #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Volume #

toConstr :: Volume -> Constr #

dataTypeOf :: Volume -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Volume) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Volume) #

gmapT :: (forall b. Data b => b -> b) -> Volume -> Volume #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Volume -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Volume -> r #

gmapQ :: (forall d. Data d => d -> u) -> Volume -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Volume -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Volume -> m Volume #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Volume -> m Volume #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Volume -> m Volume #

Read Volume # 
Show Volume # 
Generic Volume # 

Associated Types

type Rep Volume :: * -> * #

Methods

from :: Volume -> Rep Volume x #

to :: Rep Volume x -> Volume #

Hashable Volume # 

Methods

hashWithSalt :: Int -> Volume -> Int #

hash :: Volume -> Int #

ToJSON Volume # 
FromJSON Volume # 
NFData Volume # 

Methods

rnf :: Volume -> () #

type Rep Volume # 
type Rep Volume = D1 (MetaData "Volume" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "Volume'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vHost") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HostVolumeProperties)))))

volume :: Volume #

Creates a value of Volume with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • vName - The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints .
  • vHost - The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running.

vName :: Lens' Volume (Maybe Text) #

The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. This name is referenced in the sourceVolume parameter of container definition mountPoints .

vHost :: Lens' Volume (Maybe HostVolumeProperties) #

The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running.

VolumeFrom

data VolumeFrom #

Details on a data volume from another container.

See: volumeFrom smart constructor.

Instances

Eq VolumeFrom # 
Data VolumeFrom # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VolumeFrom -> c VolumeFrom #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VolumeFrom #

toConstr :: VolumeFrom -> Constr #

dataTypeOf :: VolumeFrom -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VolumeFrom) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VolumeFrom) #

gmapT :: (forall b. Data b => b -> b) -> VolumeFrom -> VolumeFrom #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VolumeFrom -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VolumeFrom -> r #

gmapQ :: (forall d. Data d => d -> u) -> VolumeFrom -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VolumeFrom -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VolumeFrom -> m VolumeFrom #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VolumeFrom -> m VolumeFrom #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VolumeFrom -> m VolumeFrom #

Read VolumeFrom # 
Show VolumeFrom # 
Generic VolumeFrom # 

Associated Types

type Rep VolumeFrom :: * -> * #

Hashable VolumeFrom # 
ToJSON VolumeFrom # 
FromJSON VolumeFrom # 
NFData VolumeFrom # 

Methods

rnf :: VolumeFrom -> () #

type Rep VolumeFrom # 
type Rep VolumeFrom = D1 (MetaData "VolumeFrom" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.4.5-1D9d7zfufpXJ1qZUbuOrWH" False) (C1 (MetaCons "VolumeFrom'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vfSourceContainer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vfReadOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

volumeFrom :: VolumeFrom #

Creates a value of VolumeFrom with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • vfSourceContainer - The name of the container to mount volumes from.
  • vfReadOnly - 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 .

vfSourceContainer :: Lens' VolumeFrom (Maybe Text) #

The name of the container to mount volumes from.

vfReadOnly :: Lens' VolumeFrom (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 .