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

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

Network.AWS.ECS.Types

Contents

Description

 
Synopsis

Service Configuration

ecs :: Service Source #

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

Errors

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You do not have authorization to perform the requested action.

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

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

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

These errors are usually caused by a server issue.

_ClusterContainsTasksException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You cannot delete a cluster that has active tasks.

_PlatformUnknownException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified platform version does not exist.

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

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 Source #

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 Source #

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

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

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 Source #

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.

_UnsupportedFeatureException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified task is not supported in this region.

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

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

_PlatformTaskDefinitionIncompatibilityException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified platform version does not satisfy the task definition’s required capabilities.

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

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 Source #

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.

_BlockedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your AWS account has been blocked. Contact AWS Support for more information.

_TargetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified target could not be found. You can view your available container instances with ListContainerInstances . Amazon ECS container instances are cluster-specific and region-specific.

_AttributeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You can apply up to 10 custom attributes per resource. You can view the attributes of a resource with ListAttributes . You can remove existing attributes on a resource with DeleteAttributes .

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

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 permissions to use the action or resource, or specifying an identifier that is not valid.

AgentUpdateStatus

data AgentUpdateStatus Source #

Instances
Bounded AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep AgentUpdateStatus :: Type -> Type #

Hashable AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: AgentUpdateStatus -> () #

type Rep AgentUpdateStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep AgentUpdateStatus = D1 (MetaData "AgentUpdateStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) ((C1 (MetaCons "AUSFailed" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AUSPending" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AUSStaged" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "AUSStaging" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AUSUpdated" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AUSUpdating" PrefixI False) (U1 :: Type -> Type))))

AssignPublicIP

data AssignPublicIP Source #

Constructors

Disabled 
Enabled 
Instances
Bounded AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: AssignPublicIP -> Constr #

dataTypeOf :: AssignPublicIP -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep AssignPublicIP :: Type -> Type #

Hashable AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: AssignPublicIP -> () #

type Rep AssignPublicIP Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep AssignPublicIP = D1 (MetaData "AssignPublicIP" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Enabled" PrefixI False) (U1 :: Type -> Type))

ClusterField

data ClusterField Source #

Constructors

Statistics 
Instances
Bounded ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: ClusterField -> Constr #

dataTypeOf :: ClusterField -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep ClusterField :: Type -> Type #

Hashable ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: ClusterField -> Text #

NFData ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: ClusterField -> () #

type Rep ClusterField Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep ClusterField = D1 (MetaData "ClusterField" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Statistics" PrefixI False) (U1 :: Type -> Type))

Compatibility

data Compatibility Source #

Constructors

CEC2 
CFargate 
Instances
Bounded Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: Compatibility -> Constr #

dataTypeOf :: Compatibility -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep Compatibility :: Type -> Type #

Hashable Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: Compatibility -> Text #

NFData Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: Compatibility -> () #

type Rep Compatibility Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep Compatibility = D1 (MetaData "Compatibility" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "CEC2" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CFargate" PrefixI False) (U1 :: Type -> Type))

Connectivity

data Connectivity Source #

Constructors

Connected 
Disconnected 
Instances
Bounded Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: Connectivity -> Constr #

dataTypeOf :: Connectivity -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep Connectivity :: Type -> Type #

Hashable Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: Connectivity -> Text #

NFData Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: Connectivity -> () #

type Rep Connectivity Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep Connectivity = D1 (MetaData "Connectivity" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Connected" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Disconnected" PrefixI False) (U1 :: Type -> Type))

ContainerInstanceStatus

data ContainerInstanceStatus Source #

Constructors

Active 
Draining 
Instances
Bounded ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: ContainerInstanceStatus -> Constr #

dataTypeOf :: ContainerInstanceStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep ContainerInstanceStatus :: Type -> Type #

Hashable ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: ContainerInstanceStatus -> () #

type Rep ContainerInstanceStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep ContainerInstanceStatus = D1 (MetaData "ContainerInstanceStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Active" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Draining" PrefixI False) (U1 :: Type -> Type))

DesiredStatus

data DesiredStatus Source #

Constructors

Pending 
Running 
Stopped 
Instances
Bounded DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep DesiredStatus :: Type -> Type #

Hashable DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: DesiredStatus -> Text #

NFData DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: DesiredStatus -> () #

type Rep DesiredStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep DesiredStatus = D1 (MetaData "DesiredStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Pending" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Running" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Stopped" PrefixI False) (U1 :: Type -> Type)))

DeviceCgroupPermission

data DeviceCgroupPermission Source #

Constructors

Mknod 
Read 
Write 
Instances
Bounded DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: DeviceCgroupPermission -> Constr #

dataTypeOf :: DeviceCgroupPermission -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep DeviceCgroupPermission :: Type -> Type #

Hashable DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: DeviceCgroupPermission -> () #

type Rep DeviceCgroupPermission Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep DeviceCgroupPermission = D1 (MetaData "DeviceCgroupPermission" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Mknod" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Read" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Write" PrefixI False) (U1 :: Type -> Type)))

HealthStatus

data HealthStatus Source #

Constructors

Healthy 
Unhealthy 
Unknown 
Instances
Bounded HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: HealthStatus -> Constr #

dataTypeOf :: HealthStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep HealthStatus :: Type -> Type #

Hashable HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: HealthStatus -> Text #

NFData HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: HealthStatus -> () #

type Rep HealthStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep HealthStatus = D1 (MetaData "HealthStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Healthy" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Unhealthy" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type)))

LaunchType

data LaunchType Source #

Constructors

EC2 
Fargate 
Instances
Bounded LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: LaunchType -> Constr #

dataTypeOf :: LaunchType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep LaunchType :: Type -> Type #

Hashable LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: LaunchType -> Text #

NFData LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: LaunchType -> () #

type Rep LaunchType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep LaunchType = D1 (MetaData "LaunchType" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "EC2" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Fargate" PrefixI False) (U1 :: Type -> Type))

LogDriver

data LogDriver Source #

Instances
Bounded LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep LogDriver :: Type -> Type #

Hashable LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toBS :: LogDriver -> ByteString #

FromText LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: LogDriver -> Text #

NFData LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: LogDriver -> () #

type Rep LogDriver Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep LogDriver = D1 (MetaData "LogDriver" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) ((C1 (MetaCons "AWSlogs" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Fluentd" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Gelf" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "JSONFile" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Journald" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Splunk" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Syslog" PrefixI False) (U1 :: Type -> Type))))

NetworkMode

data NetworkMode Source #

Constructors

AWSvpc 
Bridge 
Host 
None 
Instances
Bounded NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep NetworkMode :: Type -> Type #

Hashable NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: NetworkMode -> Text #

NFData NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: NetworkMode -> () #

type Rep NetworkMode Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep NetworkMode = D1 (MetaData "NetworkMode" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) ((C1 (MetaCons "AWSvpc" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Bridge" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Host" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "None" PrefixI False) (U1 :: Type -> Type)))

PlacementConstraintType

data PlacementConstraintType Source #

Instances
Bounded PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: PlacementConstraintType -> Constr #

dataTypeOf :: PlacementConstraintType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep PlacementConstraintType :: Type -> Type #

Hashable PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: PlacementConstraintType -> () #

type Rep PlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep PlacementConstraintType = D1 (MetaData "PlacementConstraintType" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "PCTDistinctInstance" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PCTMemberOf" PrefixI False) (U1 :: Type -> Type))

PlacementStrategyType

data PlacementStrategyType Source #

Constructors

Binpack 
Random 
Spread 
Instances
Bounded PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: PlacementStrategyType -> Constr #

dataTypeOf :: PlacementStrategyType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep PlacementStrategyType :: Type -> Type #

Hashable PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: PlacementStrategyType -> () #

type Rep PlacementStrategyType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep PlacementStrategyType = D1 (MetaData "PlacementStrategyType" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Binpack" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Random" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Spread" PrefixI False) (U1 :: Type -> Type)))

SortOrder

data SortOrder Source #

Constructors

Asc 
Desc 
Instances
Bounded SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep SortOrder :: Type -> Type #

Hashable SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toBS :: SortOrder -> ByteString #

FromText SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: SortOrder -> Text #

NFData SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: SortOrder -> () #

type Rep SortOrder Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep SortOrder = D1 (MetaData "SortOrder" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Asc" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Desc" PrefixI False) (U1 :: Type -> Type))

TargetType

data TargetType Source #

Constructors

ContainerInstance 
Instances
Bounded TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: TargetType -> Constr #

dataTypeOf :: TargetType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep TargetType :: Type -> Type #

Hashable TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: TargetType -> Text #

NFData TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: TargetType -> () #

type Rep TargetType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep TargetType = D1 (MetaData "TargetType" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "ContainerInstance" PrefixI False) (U1 :: Type -> Type))

TaskDefinitionFamilyStatus

data TaskDefinitionFamilyStatus Source #

Instances
Bounded TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep TaskDefinitionFamilyStatus :: Type -> Type #

Hashable TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep TaskDefinitionFamilyStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep TaskDefinitionFamilyStatus = D1 (MetaData "TaskDefinitionFamilyStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "TDFSActive" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "TDFSAll" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TDFSInactive" PrefixI False) (U1 :: Type -> Type)))

TaskDefinitionPlacementConstraintType

data TaskDefinitionPlacementConstraintType Source #

Constructors

MemberOf 
Instances
Bounded TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

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

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

toConstr :: TaskDefinitionPlacementConstraintType -> Constr #

dataTypeOf :: TaskDefinitionPlacementConstraintType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Hashable TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep TaskDefinitionPlacementConstraintType Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep TaskDefinitionPlacementConstraintType = D1 (MetaData "TaskDefinitionPlacementConstraintType" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "MemberOf" PrefixI False) (U1 :: Type -> Type))

TaskDefinitionStatus

data TaskDefinitionStatus Source #

Constructors

TDSActive 
TDSInactive 
Instances
Bounded TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep TaskDefinitionStatus :: Type -> Type #

Hashable TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: TaskDefinitionStatus -> () #

type Rep TaskDefinitionStatus Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep TaskDefinitionStatus = D1 (MetaData "TaskDefinitionStatus" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "TDSActive" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TDSInactive" PrefixI False) (U1 :: Type -> Type))

TransportProtocol

data TransportProtocol Source #

Constructors

TCP 
Udp 
Instances
Bounded TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep TransportProtocol :: Type -> Type #

Hashable TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

NFData TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: TransportProtocol -> () #

type Rep TransportProtocol Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

type Rep TransportProtocol = D1 (MetaData "TransportProtocol" "Network.AWS.ECS.Types.Sum" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "TCP" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Udp" PrefixI False) (U1 :: Type -> Type))

UlimitName

data UlimitName Source #

Instances
Bounded UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Enum UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Eq UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Data UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Read UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Show UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Generic UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Associated Types

type Rep UlimitName :: Type -> Type #

Hashable UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToJSON UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromJSON UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToHeader UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToQuery UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToByteString UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

FromText UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

ToText UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

toText :: UlimitName -> Text #

NFData UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

Methods

rnf :: UlimitName -> () #

type Rep UlimitName Source # 
Instance details

Defined in Network.AWS.ECS.Types.Sum

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

AWSVPCConfiguration

data AWSVPCConfiguration Source #

An object representing the networking details for a task or service.

See: awsVPCConfiguration smart constructor.

Instances
Eq AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: AWSVPCConfiguration -> Constr #

dataTypeOf :: AWSVPCConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep AWSVPCConfiguration :: Type -> Type #

Hashable AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: AWSVPCConfiguration -> () #

type Rep AWSVPCConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep AWSVPCConfiguration = D1 (MetaData "AWSVPCConfiguration" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "AWSVPCConfiguration'" PrefixI True) (S1 (MetaSel (Just "_avcSecurityGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_avcAssignPublicIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssignPublicIP)) :*: S1 (MetaSel (Just "_avcSubnets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))

awsVPCConfiguration :: AWSVPCConfiguration Source #

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

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

  • avcSecurityGroups - The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups able to be specified per AwsVpcConfiguration.
  • avcAssignPublicIP - Whether the task's elastic network interface receives a public IP address.
  • avcSubnets - The subnets associated with the task or service. There is a limit of 10 subnets able to be specified per AwsVpcConfiguration.

avcSecurityGroups :: Lens' AWSVPCConfiguration [Text] Source #

The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups able to be specified per AwsVpcConfiguration.

avcAssignPublicIP :: Lens' AWSVPCConfiguration (Maybe AssignPublicIP) Source #

Whether the task's elastic network interface receives a public IP address.

avcSubnets :: Lens' AWSVPCConfiguration [Text] Source #

The subnets associated with the task or service. There is a limit of 10 subnets able to be specified per AwsVpcConfiguration.

Attachment

data Attachment Source #

An object representing a container instance or task attachment.

See: attachment smart constructor.

Instances
Eq Attachment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data Attachment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: Attachment -> Constr #

dataTypeOf :: Attachment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Attachment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Attachment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Attachment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Attachment :: Type -> Type #

Hashable Attachment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON Attachment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Attachment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Attachment -> () #

type Rep Attachment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep Attachment = D1 (MetaData "Attachment" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Attachment'" PrefixI True) ((S1 (MetaSel (Just "_aStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [KeyValuePair]))) :*: (S1 (MetaSel (Just "_aId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

attachment :: Attachment Source #

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

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

  • aStatus - The status of the attachment. Valid values are PRECREATED , CREATED , ATTACHING , ATTACHED , DETACHING , DETACHED , and DELETED .
  • aDetails - Details of the attachment. For Elastic Network Interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.
  • aId - The unique identifier for the attachment.
  • aType - The type of the attachment, such as ElasticNetworkInterface .

aStatus :: Lens' Attachment (Maybe Text) Source #

The status of the attachment. Valid values are PRECREATED , CREATED , ATTACHING , ATTACHED , DETACHING , DETACHED , and DELETED .

aDetails :: Lens' Attachment [KeyValuePair] Source #

Details of the attachment. For Elastic Network Interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.

aId :: Lens' Attachment (Maybe Text) Source #

The unique identifier for the attachment.

aType :: Lens' Attachment (Maybe Text) Source #

The type of the attachment, such as ElasticNetworkInterface .

AttachmentStateChange

data AttachmentStateChange Source #

An object representing a change in state for a task attachment.

See: attachmentStateChange smart constructor.

Instances
Eq AttachmentStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data AttachmentStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: AttachmentStateChange -> Constr #

dataTypeOf :: AttachmentStateChange -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachmentStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show AttachmentStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic AttachmentStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep AttachmentStateChange :: Type -> Type #

Hashable AttachmentStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON AttachmentStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData AttachmentStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: AttachmentStateChange -> () #

type Rep AttachmentStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep AttachmentStateChange = D1 (MetaData "AttachmentStateChange" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "AttachmentStateChange'" PrefixI True) (S1 (MetaSel (Just "_ascAttachmentARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ascStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

attachmentStateChange Source #

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

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

ascAttachmentARN :: Lens' AttachmentStateChange Text Source #

The Amazon Resource Name (ARN) of the attachment.

ascStatus :: Lens' AttachmentStateChange Text Source #

The status of the attachment.

Attribute

data Attribute Source #

An attribute is a name-value pair associated with an Amazon ECS object. Attributes enable you to extend the Amazon ECS data model by adding custom metadata to your resources. For more information, see Attributes in the Amazon Elastic Container Service Developer Guide .

See: attribute smart constructor.

Instances
Eq Attribute Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data Attribute Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Attribute Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Attribute Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Attribute :: Type -> Type #

Hashable Attribute Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON Attribute Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON Attribute Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Attribute Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Attribute -> () #

type Rep Attribute Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep Attribute = D1 (MetaData "Attribute" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Attribute'" PrefixI True) ((S1 (MetaSel (Just "_aTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aTargetType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TargetType)) :*: S1 (MetaSel (Just "_aName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

attribute Source #

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:

  • aTargetId - The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).
  • aValue - The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are allowed.
  • aTargetType - The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.
  • aName - The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, and periods are allowed.

aTargetId :: Lens' Attribute (Maybe Text) Source #

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

aValue :: Lens' Attribute (Maybe Text) Source #

The value of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, colons, and spaces are allowed.

aTargetType :: Lens' Attribute (Maybe TargetType) Source #

The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.

aName :: Lens' Attribute Text Source #

The name of the attribute. Up to 128 letters (uppercase and lowercase), numbers, hyphens, underscores, and periods are allowed.

Cluster

data Cluster Source #

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

Data Cluster Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Cluster Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Cluster Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Cluster :: Type -> Type #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

Hashable Cluster Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

FromJSON Cluster Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Cluster Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Cluster -> () #

type Rep Cluster Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep Cluster = D1 (MetaData "Cluster" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Cluster'" PrefixI True) (((S1 (MetaSel (Just "_cStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cClusterARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cRunningTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_cRegisteredContainerInstancesCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 (MetaSel (Just "_cPendingTasksCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_cClusterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cStatistics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [KeyValuePair])) :*: S1 (MetaSel (Just "_cActiveServicesCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))

cluster :: Cluster Source #

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.
  • cStatistics - Additional information about your clusters that are separated by launch type, including: * runningEC2TasksCount * RunningFargateTasksCount * pendingEC2TasksCount * pendingFargateTasksCount * activeEC2ServiceCount * activeFargateServiceCount * drainingEC2ServiceCount * drainingFargateServiceCount
  • 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) Source #

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) Source #

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) Source #

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

cRegisteredContainerInstancesCount :: Lens' Cluster (Maybe Int) Source #

The number of container instances registered into the cluster.

cPendingTasksCount :: Lens' Cluster (Maybe Int) Source #

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

cClusterName :: Lens' Cluster (Maybe Text) Source #

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

cStatistics :: Lens' Cluster [KeyValuePair] Source #

Additional information about your clusters that are separated by launch type, including: * runningEC2TasksCount * RunningFargateTasksCount * pendingEC2TasksCount * pendingFargateTasksCount * activeEC2ServiceCount * activeFargateServiceCount * drainingEC2ServiceCount * drainingFargateServiceCount

cActiveServicesCount :: Lens' Cluster (Maybe Int) Source #

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

Container

data Container Source #

A Docker container that is part of a task.

See: container smart constructor.

Instances
Eq Container Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data Container Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Container Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Container Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Container :: Type -> Type #

Hashable Container Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON Container Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Container Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Container -> () #

type Rep Container Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

container :: Container Source #

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.
  • cNetworkInterfaces - The network interfaces associated with the container.
  • cTaskARN - The ARN of the task.
  • cLastStatus - The last known status of the container.
  • cReason - A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
  • cName - The name of the container.
  • cExitCode - The exit code returned from the container.
  • cHealthStatus - The health status of the container. If health checks are not configured for this container in its task definition, then it reports health status as UNKNOWN .

cNetworkBindings :: Lens' Container [NetworkBinding] Source #

The network bindings associated with the container.

cContainerARN :: Lens' Container (Maybe Text) Source #

The Amazon Resource Name (ARN) of the container.

cNetworkInterfaces :: Lens' Container [NetworkInterface] Source #

The network interfaces associated with the container.

cTaskARN :: Lens' Container (Maybe Text) Source #

The ARN of the task.

cLastStatus :: Lens' Container (Maybe Text) Source #

The last known status of the container.

cReason :: Lens' Container (Maybe Text) Source #

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

cName :: Lens' Container (Maybe Text) Source #

The name of the container.

cExitCode :: Lens' Container (Maybe Int) Source #

The exit code returned from the container.

cHealthStatus :: Lens' Container (Maybe HealthStatus) Source #

The health status of the container. If health checks are not configured for this container in its task definition, then it reports health status as UNKNOWN .

ContainerDefinition

data ContainerDefinition Source #

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data ContainerDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show ContainerDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic ContainerDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep ContainerDefinition :: Type -> Type #

Hashable ContainerDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON ContainerDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON ContainerDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData ContainerDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: ContainerDefinition -> () #

type Rep ContainerDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

containerDefinition :: ContainerDefinition Source #

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 either repository-url /image :tag or repository-url /image digest . 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 . * When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image are not propagated to already running tasks. * Images in Amazon ECR repositories can be specified by either using the full registryrepository:tag or registryrepositorydigest . For example, 012345678910.dkr.ecr.region-name.amazonaws.com/repository-name:latest or 012345678910.dkr.ecr.region-name.amazonaws.com/repository-namesha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE . * 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, amazonamazon-ecs-agent ). * Images in other online repositories are qualified further by a domain name (for example, quay.ioassemblyline/ubuntu@ ).
  • 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 field is not valid for containers in tasks using the Fargate launch type. This parameter maps to SecurityOpt in the Create a container section of the Docker Remote API and the --security-opt option to docker run .
  • cdHealthCheck - The health check command and associated configuration parameters for the container. This parameter maps to HealthCheck in the Create a container section of the Docker Remote API and the HEALTHCHECK parameter of 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 plaintext 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 in to 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. For task definitions that use the awsvpc network mode, you should only specify the containerPort . The hostPort can be left blank or it must be the same value as the containerPort . Port mappings on Windows use the NetNAT gateway address rather than localhost . There is no loopback for port mappings on Windows, so you cannot access a container's mapped port from the host itself. 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 can't 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.27#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 in to 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. If using the Fargate launch type, this may be used to list non-Fargate hosts you want the container to talk to. 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 . If your containers are part of a task using the Fargate launch type, this field is optional and the only requirement is that the total amount of memory reserved for all containers within a task be lower than the task memory value. For containers that are part of a task using the EC2 launch type, 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. If using the Fargate launch type, the only supported value is awslogs . 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 in to your container instance and run the following command: sudo docker version | grep "Server API version"
  • cdLinuxParameters - Linux-specific modifications that are applied to the container, such as Linux KernelCapabilities .
  • 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 . Windows containers can mount whole directories on the same drive as > env:ProgramData . Windows containers cannot mount directories on a different drive, and mount point cannot be across drives.
  • cdLinks - The link parameter allows containers to communicate with each other without the need for port mappings. Only supported if the network mode of a task definition is set to bridge . The name:internalName construct is analogous to name:alias in Docker links. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. For more information about linking Docker containers, go to 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 Elastic Container Service Developer Guide .
  • cdCpu - The number of cpu units reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level cpu value. 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. Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. 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. On Linux container instances, 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. On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that is described in the task definition.
  • 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. 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.

cdImage :: Lens' ContainerDefinition (Maybe Text) Source #

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 either repository-url /image :tag or repository-url /image digest . 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 . * When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image are not propagated to already running tasks. * Images in Amazon ECR repositories can be specified by either using the full registryrepository:tag or registryrepositorydigest . For example, 012345678910.dkr.ecr.region-name.amazonaws.com/repository-name:latest or 012345678910.dkr.ecr.region-name.amazonaws.com/repository-namesha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE . * 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, amazonamazon-ecs-agent ). * Images in other online repositories are qualified further by a domain name (for example, quay.ioassemblyline/ubuntu@ ).

cdCommand :: Lens' ContainerDefinition [Text] Source #

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) Source #

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] Source #

A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This field is not valid for containers in tasks using the Fargate launch type. This parameter maps to SecurityOpt in the Create a container section of the Docker Remote API and the --security-opt option to docker run .

cdHealthCheck :: Lens' ContainerDefinition (Maybe HealthCheck) Source #

The health check command and associated configuration parameters for the container. This parameter maps to HealthCheck in the Create a container section of the Docker Remote API and the HEALTHCHECK parameter of docker run .

cdDisableNetworking :: Lens' ContainerDefinition (Maybe Bool) Source #

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] Source #

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] Source #

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 plaintext environment variables for sensitive information, such as credential data.

cdEntryPoint :: Lens' ContainerDefinition [Text] Source #

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) Source #

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] Source #

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 in to your container instance and run the following command: sudo docker version | grep "Server API version"

cdPrivileged :: Lens' ContainerDefinition (Maybe Bool) Source #

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] Source #

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. For task definitions that use the awsvpc network mode, you should only specify the containerPort . The hostPort can be left blank or it must be the same value as the containerPort . Port mappings on Windows use the NetNAT gateway address rather than localhost . There is no loopback for port mappings on Windows, so you cannot access a container's mapped port from the host itself. 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 can't 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) Source #

A keyvalue map of labels to add to the container. This parameter maps to Labels in the <https:docs.docker.comenginereferenceapidocker_remote_api_v1.27#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 in to your container instance and run the following command: sudo docker version | grep "Server API version"

cdExtraHosts :: Lens' ContainerDefinition [HostEntry] Source #

A list of hostnames and IP address mappings to append to the etchosts file on the container. If using the Fargate launch type, this may be used to list non-Fargate hosts you want the container to talk to. 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) Source #

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 . If your containers are part of a task using the Fargate launch type, this field is optional and the only requirement is that the total amount of memory reserved for all containers within a task be lower than the task memory value. For containers that are part of a task using the EC2 launch type, 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) Source #

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] Source #

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) Source #

The log configuration specification for the container. If using the Fargate launch type, the only supported value is awslogs . 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 in to your container instance and run the following command: sudo docker version | grep "Server API version"

cdLinuxParameters :: Lens' ContainerDefinition (Maybe LinuxParameters) Source #

Linux-specific modifications that are applied to the container, such as Linux KernelCapabilities .

cdName :: Lens' ContainerDefinition (Maybe Text) Source #

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] Source #

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] Source #

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 . Windows containers can mount whole directories on the same drive as > env:ProgramData . Windows containers cannot mount directories on a different drive, and mount point cannot be across drives.

cdLinks :: Lens' ContainerDefinition [Text] Source #

The link parameter allows containers to communicate with each other without the need for port mappings. Only supported if the network mode of a task definition is set to bridge . The name:internalName construct is analogous to name:alias in Docker links. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. For more information about linking Docker containers, go to 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) Source #

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) Source #

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 Elastic Container Service Developer Guide .

cdCpu :: Lens' ContainerDefinition (Maybe Int) Source #

The number of cpu units reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run . This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level cpu value. 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. Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. 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. On Linux container instances, 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. On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that is described in the task definition.

cdMemoryReservation :: Lens' ContainerDefinition (Maybe Int) Source #

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

ContainerInstance

data ContainerInstance Source #

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

See: containerInstance smart constructor.

Instances
Eq ContainerInstance Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data ContainerInstance Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show ContainerInstance Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic ContainerInstance Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep ContainerInstance :: Type -> Type #

Hashable ContainerInstance Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON ContainerInstance Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData ContainerInstance Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: ContainerInstance -> () #

type Rep ContainerInstance Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

containerInstance :: ContainerInstance Source #

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 , INACTIVE , or DRAINING . ACTIVE indicates that the container instance can accept tasks. DRAINING indicates that new tasks are not placed on the container instance and any service tasks running on the container instance are removed if possible. For more information, see Container Instance Draining in the Amazon Elastic Container Service Developer Guide .
  • ciAttachments - The Elastic Network Interfaces associated with the container instance.
  • ciRunningTasksCount - The number of tasks on the container instance that are in the RUNNING status.
  • ciRemainingResources - For CPU and memory resource types, this parameter describes the remaining CPU and memory on the that has not already been allocated to tasks (and is therefore available for new tasks). For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent (at instance registration time) and any task containers that have reserved port mappings on the host (with the host or bridge network mode). 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 connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return false . Instances without a connected agent can't 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, either by the Amazon ECS container agent at instance registration or manually with the PutAttributes operation.
  • 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.
  • ciRegisteredAt - The Unix time stamp for when the container instance was registered.
  • ciRegisteredResources - For CPU and memory resource types, this parameter describes the amount of each resource that was available on the container instance when the container agent registered it with Amazon ECS; this value represents the total amount of CPU and memory that can be allocated on this container instance to 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) Source #

The status of the container instance. The valid values are ACTIVE , INACTIVE , or DRAINING . ACTIVE indicates that the container instance can accept tasks. DRAINING indicates that new tasks are not placed on the container instance and any service tasks running on the container instance are removed if possible. For more information, see Container Instance Draining in the Amazon Elastic Container Service Developer Guide .

ciAttachments :: Lens' ContainerInstance [Attachment] Source #

The Elastic Network Interfaces associated with the container instance.

ciRunningTasksCount :: Lens' ContainerInstance (Maybe Int) Source #

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

ciRemainingResources :: Lens' ContainerInstance [Resource] Source #

For CPU and memory resource types, this parameter describes the remaining CPU and memory on the that has not already been allocated to tasks (and is therefore available for new tasks). For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent (at instance registration time) and any task containers that have reserved port mappings on the host (with the host or bridge network mode). Any port that is not specified here is available for new tasks.

ciEc2InstanceId :: Lens' ContainerInstance (Maybe Text) Source #

The EC2 instance ID of the container instance.

ciContainerInstanceARN :: Lens' ContainerInstance (Maybe Text) Source #

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) Source #

This parameter returns true if the agent is connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return false . Instances without a connected agent can't accept placement requests.

ciVersionInfo :: Lens' ContainerInstance (Maybe VersionInfo) Source #

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

ciAgentUpdateStatus :: Lens' ContainerInstance (Maybe AgentUpdateStatus) Source #

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

ciAttributes :: Lens' ContainerInstance [Attribute] Source #

The attributes set for the container instance, either by the Amazon ECS container agent at instance registration or manually with the PutAttributes operation.

ciVersion :: Lens' ContainerInstance (Maybe Integer) Source #

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) Source #

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

ciRegisteredAt :: Lens' ContainerInstance (Maybe UTCTime) Source #

The Unix time stamp for when the container instance was registered.

ciRegisteredResources :: Lens' ContainerInstance [Resource] Source #

For CPU and memory resource types, this parameter describes the amount of each resource that was available on the container instance when the container agent registered it with Amazon ECS; this value represents the total amount of CPU and memory that can be allocated on this container instance to 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 Source #

The overrides that should be sent to a container.

See: containerOverride smart constructor.

Instances
Eq ContainerOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data ContainerOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show ContainerOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic ContainerOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep ContainerOverride :: Type -> Type #

Hashable ContainerOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON ContainerOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON ContainerOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData ContainerOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: ContainerOverride -> () #

type Rep ContainerOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep ContainerOverride = D1 (MetaData "ContainerOverride" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "ContainerOverride'" PrefixI True) ((S1 (MetaSel (Just "_coCommand") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_coEnvironment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [KeyValuePair])) :*: S1 (MetaSel (Just "_coMemory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 (MetaSel (Just "_coName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_coCpu") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_coMemoryReservation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))

containerOverride :: ContainerOverride Source #

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. You must also specify a container name.
  • 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. You must also specify a container name.
  • coMemory - The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.
  • coName - The name of the container that receives the override. This parameter is required if any override is specified.
  • coCpu - The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.
  • coMemoryReservation - The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

coCommand :: Lens' ContainerOverride [Text] Source #

The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

coEnvironment :: Lens' ContainerOverride [KeyValuePair] Source #

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. You must also specify a container name.

coMemory :: Lens' ContainerOverride (Maybe Int) Source #

The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

coName :: Lens' ContainerOverride (Maybe Text) Source #

The name of the container that receives the override. This parameter is required if any override is specified.

coCpu :: Lens' ContainerOverride (Maybe Int) Source #

The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

coMemoryReservation :: Lens' ContainerOverride (Maybe Int) Source #

The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

ContainerService

data ContainerService Source #

Details on a service within a cluster

See: containerService smart constructor.

Instances
Eq ContainerService Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data ContainerService Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show ContainerService Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic ContainerService Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep ContainerService :: Type -> Type #

Hashable ContainerService Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON ContainerService Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData ContainerService Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: ContainerService -> () #

type Rep ContainerService Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep ContainerService = D1 (MetaData "ContainerService" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "ContainerService'" PrefixI True) ((((S1 (MetaSel (Just "_csRunningCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_csStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_csClusterARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_csCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_csPlatformVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_csDesiredCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_csLoadBalancers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LoadBalancer]))) :*: (S1 (MetaSel (Just "_csPendingCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_csPlacementConstraints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PlacementConstraint])) :*: S1 (MetaSel (Just "_csEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ServiceEvent])))))) :*: (((S1 (MetaSel (Just "_csPlacementStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PlacementStrategy])) :*: S1 (MetaSel (Just "_csDeployments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Deployment]))) :*: (S1 (MetaSel (Just "_csServiceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_csLaunchType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LaunchType)) :*: S1 (MetaSel (Just "_csServiceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_csTaskDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_csHealthCheckGracePeriodSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_csNetworkConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkConfiguration)))) :*: (S1 (MetaSel (Just "_csServiceRegistries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ServiceRegistry])) :*: (S1 (MetaSel (Just "_csRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csDeploymentConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeploymentConfiguration))))))))

containerService :: ContainerService Source #

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 time stamp for when the service was created.
  • csPlatformVersion - The platform version on which your task is running. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide .
  • 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.
  • csPlacementConstraints - The placement constraints for the tasks in the service.
  • csEvents - The event stream for your service. A maximum of 100 of the latest events are displayed.
  • csPlacementStrategy - The placement strategy that determines how tasks for the service are placed.
  • 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.
  • csLaunchType - The launch type on which your service is running.
  • csServiceARN - The 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 .
  • csHealthCheckGracePeriodSeconds - The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.
  • csNetworkConfiguration - The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the awsvpc networking mode.
  • csServiceRegistries -
  • csRoleARN - The 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) Source #

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

csStatus :: Lens' ContainerService (Maybe Text) Source #

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

csClusterARN :: Lens' ContainerService (Maybe Text) Source #

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

csCreatedAt :: Lens' ContainerService (Maybe UTCTime) Source #

The Unix time stamp for when the service was created.

csPlatformVersion :: Lens' ContainerService (Maybe Text) Source #

The platform version on which your task is running. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide .

csDesiredCount :: Lens' ContainerService (Maybe Int) Source #

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] Source #

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) Source #

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

csPlacementConstraints :: Lens' ContainerService [PlacementConstraint] Source #

The placement constraints for the tasks in the service.

csEvents :: Lens' ContainerService [ServiceEvent] Source #

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

csPlacementStrategy :: Lens' ContainerService [PlacementStrategy] Source #

The placement strategy that determines how tasks for the service are placed.

csDeployments :: Lens' ContainerService [Deployment] Source #

The current state of deployments for the service.

csServiceName :: Lens' ContainerService (Maybe Text) Source #

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.

csLaunchType :: Lens' ContainerService (Maybe LaunchType) Source #

The launch type on which your service is running.

csServiceARN :: Lens' ContainerService (Maybe Text) Source #

The 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) Source #

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 .

csHealthCheckGracePeriodSeconds :: Lens' ContainerService (Maybe Int) Source #

The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started.

csNetworkConfiguration :: Lens' ContainerService (Maybe NetworkConfiguration) Source #

The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the awsvpc networking mode.

csRoleARN :: Lens' ContainerService (Maybe Text) Source #

The 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) Source #

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

ContainerStateChange

data ContainerStateChange Source #

An object representing a change in state for a container.

See: containerStateChange smart constructor.

Instances
Eq ContainerStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data ContainerStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: ContainerStateChange -> Constr #

dataTypeOf :: ContainerStateChange -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ContainerStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show ContainerStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic ContainerStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep ContainerStateChange :: Type -> Type #

Hashable ContainerStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON ContainerStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData ContainerStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: ContainerStateChange -> () #

type Rep ContainerStateChange Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep ContainerStateChange = D1 (MetaData "ContainerStateChange" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "ContainerStateChange'" PrefixI True) ((S1 (MetaSel (Just "_cscNetworkBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [NetworkBinding])) :*: S1 (MetaSel (Just "_cscStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cscContainerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cscReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cscExitCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))

containerStateChange :: ContainerStateChange Source #

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

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

cscNetworkBindings :: Lens' ContainerStateChange [NetworkBinding] Source #

Any network bindings associated with the container.

cscStatus :: Lens' ContainerStateChange (Maybe Text) Source #

The status of the container.

cscReason :: Lens' ContainerStateChange (Maybe Text) Source #

The reason for the state change.

cscExitCode :: Lens' ContainerStateChange (Maybe Int) Source #

The exit code for the container, if the state change is a result of the container exiting.

Deployment

data Deployment Source #

The details of an Amazon ECS service deployment.

See: deployment smart constructor.

Instances
Eq Deployment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data Deployment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Deployment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Deployment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Deployment :: Type -> Type #

Hashable Deployment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON Deployment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Deployment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Deployment -> () #

type Rep Deployment Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

deployment :: Deployment Source #

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 time stamp for when the service was created.
  • dPlatformVersion - The platform version on which your service is running.
  • 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.
  • dLaunchType - The launch type on which your service is running.
  • dUpdatedAt - The Unix time stamp for when the service was last updated.
  • dTaskDefinition - The most recent task definition that was specified for the service to use.
  • dNetworkConfiguration - The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the awsvpc networking mode.

dRunningCount :: Lens' Deployment (Maybe Int) Source #

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

dStatus :: Lens' Deployment (Maybe Text) Source #

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) Source #

The Unix time stamp for when the service was created.

dPlatformVersion :: Lens' Deployment (Maybe Text) Source #

The platform version on which your service is running.

dDesiredCount :: Lens' Deployment (Maybe Int) Source #

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

dPendingCount :: Lens' Deployment (Maybe Int) Source #

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

dId :: Lens' Deployment (Maybe Text) Source #

The ID of the deployment.

dLaunchType :: Lens' Deployment (Maybe LaunchType) Source #

The launch type on which your service is running.

dUpdatedAt :: Lens' Deployment (Maybe UTCTime) Source #

The Unix time stamp for when the service was last updated.

dTaskDefinition :: Lens' Deployment (Maybe Text) Source #

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

dNetworkConfiguration :: Lens' Deployment (Maybe NetworkConfiguration) Source #

The VPC subnet and security group configuration for tasks that receive their own Elastic Network Interface by using the awsvpc networking mode.

DeploymentConfiguration

data DeploymentConfiguration Source #

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data DeploymentConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show DeploymentConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic DeploymentConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep DeploymentConfiguration :: Type -> Type #

Hashable DeploymentConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON DeploymentConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON DeploymentConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData DeploymentConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: DeploymentConfiguration -> () #

type Rep DeploymentConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

deploymentConfiguration :: DeploymentConfiguration Source #

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 number of healthy tasks during a deployment is the desiredCount multiplied by 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 maximumPercent /100, rounded down to the nearest integer value.

dcMinimumHealthyPercent :: Lens' DeploymentConfiguration (Maybe Int) Source #

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 number of healthy tasks during a deployment is the desiredCount multiplied by minimumHealthyPercent /100, rounded up to the nearest integer value.

dcMaximumPercent :: Lens' DeploymentConfiguration (Maybe Int) Source #

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 maximumPercent /100, rounded down to the nearest integer value.

Device

data Device Source #

An object representing a container instance host device.

See: device smart constructor.

Instances
Eq Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

Data Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: Device -> Constr #

dataTypeOf :: Device -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Device :: Type -> Type #

Methods

from :: Device -> Rep Device x #

to :: Rep Device x -> Device #

Hashable Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

hashWithSalt :: Int -> Device -> Int #

hash :: Device -> Int #

ToJSON Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Device -> () #

type Rep Device Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep Device = D1 (MetaData "Device" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Device'" PrefixI True) (S1 (MetaSel (Just "_dContainerPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DeviceCgroupPermission])) :*: S1 (MetaSel (Just "_dHostPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

device Source #

Arguments

:: Text

dHostPath

-> Device 

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

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

  • dContainerPath - The path inside the container at which to expose the host device.
  • dPermissions - The explicit permissions to provide to the container for the device. By default, the container has permissions for read , write , and mknod for the device.
  • dHostPath - The path for the device on the host container instance.

dContainerPath :: Lens' Device (Maybe Text) Source #

The path inside the container at which to expose the host device.

dPermissions :: Lens' Device [DeviceCgroupPermission] Source #

The explicit permissions to provide to the container for the device. By default, the container has permissions for read , write , and mknod for the device.

dHostPath :: Lens' Device Text Source #

The path for the device on the host container instance.

Failure

data Failure Source #

A failed resource.

See: failure smart constructor.

Instances
Eq Failure Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

Data Failure Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Failure Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Failure Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Failure :: Type -> Type #

Methods

from :: Failure -> Rep Failure x #

to :: Rep Failure x -> Failure #

Hashable Failure Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

hashWithSalt :: Int -> Failure -> Int #

hash :: Failure -> Int #

FromJSON Failure Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Failure Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Failure -> () #

type Rep Failure Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

failure :: Failure Source #

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) Source #

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

fReason :: Lens' Failure (Maybe Text) Source #

The reason for the failure.

HealthCheck

data HealthCheck Source #

An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile).

See: healthCheck smart constructor.

Instances
Eq HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: HealthCheck -> Constr #

dataTypeOf :: HealthCheck -> DataType #

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

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

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

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

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

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

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

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

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

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

Read HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep HealthCheck :: Type -> Type #

Hashable HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: HealthCheck -> () #

type Rep HealthCheck Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep HealthCheck = D1 (MetaData "HealthCheck" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "HealthCheck'" PrefixI True) ((S1 (MetaSel (Just "_hcStartPeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_hcRetries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 (MetaSel (Just "_hcInterval") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_hcTimeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_hcCommand") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))

healthCheck :: HealthCheck Source #

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

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

  • hcStartPeriod - The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The startPeriod is disabled by default.
  • hcRetries - The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is 3 retries.
  • hcInterval - The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
  • hcTimeout - The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.
  • hcCommand - A string array representing the command that the container runs to determine if it is healthy. The string array must start with CMD to execute the command arguments directly, or CMD-SHELL to run the command with the container's default shell. For example: [ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ] An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see HealthCheck in the Create a container section of the Docker Remote API .

hcStartPeriod :: Lens' HealthCheck (Maybe Int) Source #

The optional grace period within which to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You may specify between 0 and 300 seconds. The startPeriod is disabled by default.

hcRetries :: Lens' HealthCheck (Maybe Int) Source #

The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is 3 retries.

hcInterval :: Lens' HealthCheck (Maybe Int) Source #

The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.

hcTimeout :: Lens' HealthCheck (Maybe Int) Source #

The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5 seconds.

hcCommand :: Lens' HealthCheck [Text] Source #

A string array representing the command that the container runs to determine if it is healthy. The string array must start with CMD to execute the command arguments directly, or CMD-SHELL to run the command with the container's default shell. For example: [ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ] An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see HealthCheck in the Create a container section of the Docker Remote API .

HostEntry

data HostEntry Source #

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data HostEntry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show HostEntry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic HostEntry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep HostEntry :: Type -> Type #

Hashable HostEntry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON HostEntry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON HostEntry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData HostEntry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: HostEntry -> () #

type Rep HostEntry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

hostEntry Source #

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 Source #

The hostname to use in the etchosts entry.

heIpAddress :: Lens' HostEntry Text Source #

The IP address to use in the etchosts entry.

HostVolumeProperties

data HostVolumeProperties Source #

Details on a container instance host volume.

See: hostVolumeProperties smart constructor.

Instances
Eq HostVolumeProperties Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data HostVolumeProperties Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show HostVolumeProperties Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic HostVolumeProperties Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep HostVolumeProperties :: Type -> Type #

Hashable HostVolumeProperties Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON HostVolumeProperties Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON HostVolumeProperties Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData HostVolumeProperties Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: HostVolumeProperties -> () #

type Rep HostVolumeProperties Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

hostVolumeProperties :: HostVolumeProperties Source #

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. If you are using the Fargate launch type, the sourcePath parameter is not supported.

hvpSourcePath :: Lens' HostVolumeProperties (Maybe Text) Source #

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. If you are using the Fargate launch type, the sourcePath parameter is not supported.

KernelCapabilities

data KernelCapabilities Source #

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker. For more information on the default capabilities and the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run reference . For more detailed information on these Linux capabilities, see the capabilities(7) Linux manual page.

See: kernelCapabilities smart constructor.

Instances
Eq KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: KernelCapabilities -> Constr #

dataTypeOf :: KernelCapabilities -> DataType #

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

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

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

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

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

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

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

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

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

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

Read KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep KernelCapabilities :: Type -> Type #

Hashable KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: KernelCapabilities -> () #

type Rep KernelCapabilities Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep KernelCapabilities = D1 (MetaData "KernelCapabilities" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "KernelCapabilities'" PrefixI True) (S1 (MetaSel (Just "_kcDrop") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_kcAdd") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

kernelCapabilities :: KernelCapabilities Source #

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

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

kcDrop :: Lens' KernelCapabilities [Text] Source #

The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to CapDrop in the Create a container section of the Docker Remote API and the --cap-drop option to docker run . Valid values: ALL | AUDIT_CONTROL | AUDIT_WRITE | BLOCK_SUSPEND | CHOWN | DAC_OVERRIDE | DAC_READ_SEARCH | FOWNER | FSETID | IPC_LOCK | IPC_OWNER | KILL | LEASE | LINUX_IMMUTABLE | MAC_ADMIN | MAC_OVERRIDE | MKNOD | NET_ADMIN | NET_BIND_SERVICE | NET_BROADCAST | NET_RAW | SETFCAP | SETGID | SETPCAP | SETUID | SYS_ADMIN | SYS_BOOT | SYS_CHROOT | SYS_MODULE | SYS_NICE | SYS_PACCT | SYS_PTRACE | SYS_RAWIO | SYS_RESOURCE | SYS_TIME | SYS_TTY_CONFIG | SYSLOG | WAKE_ALARM

kcAdd :: Lens' KernelCapabilities [Text] Source #

The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to CapAdd in the Create a container section of the Docker Remote API and the --cap-add option to docker run . Valid values: ALL | AUDIT_CONTROL | AUDIT_WRITE | BLOCK_SUSPEND | CHOWN | DAC_OVERRIDE | DAC_READ_SEARCH | FOWNER | FSETID | IPC_LOCK | IPC_OWNER | KILL | LEASE | LINUX_IMMUTABLE | MAC_ADMIN | MAC_OVERRIDE | MKNOD | NET_ADMIN | NET_BIND_SERVICE | NET_BROADCAST | NET_RAW | SETFCAP | SETGID | SETPCAP | SETUID | SYS_ADMIN | SYS_BOOT | SYS_CHROOT | SYS_MODULE | SYS_NICE | SYS_PACCT | SYS_PTRACE | SYS_RAWIO | SYS_RESOURCE | SYS_TIME | SYS_TTY_CONFIG | SYSLOG | WAKE_ALARM

KeyValuePair

data KeyValuePair Source #

A key and value pair object.

See: keyValuePair smart constructor.

Instances
Eq KeyValuePair Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data KeyValuePair Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show KeyValuePair Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic KeyValuePair Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep KeyValuePair :: Type -> Type #

Hashable KeyValuePair Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON KeyValuePair Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON KeyValuePair Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData KeyValuePair Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: KeyValuePair -> () #

type Rep KeyValuePair Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

keyValuePair :: KeyValuePair Source #

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) Source #

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

kvpName :: Lens' KeyValuePair (Maybe Text) Source #

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

LinuxParameters

data LinuxParameters Source #

Linux-specific options that are applied to the container, such as Linux KernelCapabilities .

See: linuxParameters smart constructor.

Instances
Eq LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: LinuxParameters -> Constr #

dataTypeOf :: LinuxParameters -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep LinuxParameters :: Type -> Type #

Hashable LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: LinuxParameters -> () #

type Rep LinuxParameters Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep LinuxParameters = D1 (MetaData "LinuxParameters" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "LinuxParameters'" PrefixI True) ((S1 (MetaSel (Just "_lpSharedMemorySize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_lpInitProcessEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_lpTmpfs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tmpfs])) :*: (S1 (MetaSel (Just "_lpDevices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Device])) :*: S1 (MetaSel (Just "_lpCapabilities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe KernelCapabilities))))))

linuxParameters :: LinuxParameters Source #

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

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

  • lpSharedMemorySize - The value for the size of the devshm volume. This parameter maps to the --shm-size option to docker run .
  • lpInitProcessEnabled - Run an init process inside the container that forwards signals and reaps processes. This parameter maps to the --init option to docker run . This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version | grep "Server API version"
  • lpTmpfs - The container path, mount options, and size of the tmpfs mount. This parameter maps to the --tmpfs option to docker run .
  • lpDevices - Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run .
  • lpCapabilities - The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.

lpSharedMemorySize :: Lens' LinuxParameters (Maybe Int) Source #

The value for the size of the devshm volume. This parameter maps to the --shm-size option to docker run .

lpInitProcessEnabled :: Lens' LinuxParameters (Maybe Bool) Source #

Run an init process inside the container that forwards signals and reaps processes. This parameter maps to the --init option to docker run . This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version | grep "Server API version"

lpTmpfs :: Lens' LinuxParameters [Tmpfs] Source #

The container path, mount options, and size of the tmpfs mount. This parameter maps to the --tmpfs option to docker run .

lpDevices :: Lens' LinuxParameters [Device] Source #

Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run .

lpCapabilities :: Lens' LinuxParameters (Maybe KernelCapabilities) Source #

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.

LoadBalancer

data LoadBalancer Source #

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

See: loadBalancer smart constructor.

Instances
Eq LoadBalancer Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data LoadBalancer Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show LoadBalancer Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic LoadBalancer Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep LoadBalancer :: Type -> Type #

Hashable LoadBalancer Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON LoadBalancer Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON LoadBalancer Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData LoadBalancer Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: LoadBalancer -> () #

type Rep LoadBalancer Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

loadBalancer :: LoadBalancer Source #

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 a 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) Source #

The name of a load balancer.

lbContainerName :: Lens' LoadBalancer (Maybe Text) Source #

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

lbTargetGroupARN :: Lens' LoadBalancer (Maybe Text) Source #

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

lbContainerPort :: Lens' LoadBalancer (Maybe Int) Source #

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 Source #

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

See: logConfiguration smart constructor.

Instances
Eq LogConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data LogConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show LogConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic LogConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep LogConfiguration :: Type -> Type #

Hashable LogConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON LogConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON LogConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData LogConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: LogConfiguration -> () #

type Rep LogConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

logConfiguration Source #

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 in to 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. If using the Fargate launch type, the only supported value is awslogs . For more information about using the awslogs driver, see Using the awslogs Log Driver in the Amazon Elastic Container Service Developer Guide . 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 in to your container instance and run the following command: sudo docker version | grep "Server API version"

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

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 in to your container instance and run the following command: sudo docker version | grep "Server API version"

lcLogDriver :: Lens' LogConfiguration LogDriver Source #

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. If using the Fargate launch type, the only supported value is awslogs . For more information about using the awslogs driver, see Using the awslogs Log Driver in the Amazon Elastic Container Service Developer Guide . 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 in to your container instance and run the following command: sudo docker version | grep "Server API version"

MountPoint

data MountPoint Source #

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

See: mountPoint smart constructor.

Instances
Eq MountPoint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data MountPoint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show MountPoint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic MountPoint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep MountPoint :: Type -> Type #

Hashable MountPoint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON MountPoint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON MountPoint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData MountPoint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: MountPoint -> () #

type Rep MountPoint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

mountPoint :: MountPoint Source #

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) Source #

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

mpSourceVolume :: Lens' MountPoint (Maybe Text) Source #

The name of the volume to mount.

mpReadOnly :: Lens' MountPoint (Maybe Bool) Source #

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

NetworkBinding

data NetworkBinding Source #

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data NetworkBinding Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show NetworkBinding Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic NetworkBinding Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep NetworkBinding :: Type -> Type #

Hashable NetworkBinding Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON NetworkBinding Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON NetworkBinding Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData NetworkBinding Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: NetworkBinding -> () #

type Rep NetworkBinding Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

networkBinding :: NetworkBinding Source #

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 used with the network binding.

nbBindIP :: Lens' NetworkBinding (Maybe Text) Source #

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

nbProtocol :: Lens' NetworkBinding (Maybe TransportProtocol) Source #

The protocol used for the network binding.

nbHostPort :: Lens' NetworkBinding (Maybe Int) Source #

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

nbContainerPort :: Lens' NetworkBinding (Maybe Int) Source #

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

NetworkConfiguration

data NetworkConfiguration Source #

An object representing the network configuration for a task or service.

See: networkConfiguration smart constructor.

Instances
Eq NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: NetworkConfiguration -> Constr #

dataTypeOf :: NetworkConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep NetworkConfiguration :: Type -> Type #

Hashable NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: NetworkConfiguration -> () #

type Rep NetworkConfiguration Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep NetworkConfiguration = D1 (MetaData "NetworkConfiguration" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" True) (C1 (MetaCons "NetworkConfiguration'" PrefixI True) (S1 (MetaSel (Just "_ncAwsvpcConfiguration") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe AWSVPCConfiguration))))

networkConfiguration :: NetworkConfiguration Source #

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

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

ncAwsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AWSVPCConfiguration) Source #

The VPC subnets and security groups associated with a task.

NetworkInterface

data NetworkInterface Source #

An object representing the Elastic Network Interface for tasks that use the awsvpc network mode.

See: networkInterface smart constructor.

Instances
Eq NetworkInterface Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data NetworkInterface Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: NetworkInterface -> Constr #

dataTypeOf :: NetworkInterface -> DataType #

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

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

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

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

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

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

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

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

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

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

Read NetworkInterface Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show NetworkInterface Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic NetworkInterface Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep NetworkInterface :: Type -> Type #

Hashable NetworkInterface Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON NetworkInterface Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData NetworkInterface Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: NetworkInterface -> () #

type Rep NetworkInterface Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep NetworkInterface = D1 (MetaData "NetworkInterface" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "NetworkInterface'" PrefixI True) (S1 (MetaSel (Just "_niIpv6Address") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_niPrivateIPv4Address") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_niAttachmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

networkInterface :: NetworkInterface Source #

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

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

niIpv6Address :: Lens' NetworkInterface (Maybe Text) Source #

The private IPv6 address for the network interface.

niPrivateIPv4Address :: Lens' NetworkInterface (Maybe Text) Source #

The private IPv4 address for the network interface.

niAttachmentId :: Lens' NetworkInterface (Maybe Text) Source #

The attachment ID for the network interface.

PlacementConstraint

data PlacementConstraint Source #

An object representing a constraint on task placement. For more information, see Task Placement Constraints in the Amazon Elastic Container Service Developer Guide .

See: placementConstraint smart constructor.

Instances
Eq PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: PlacementConstraint -> Constr #

dataTypeOf :: PlacementConstraint -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep PlacementConstraint :: Type -> Type #

Hashable PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: PlacementConstraint -> () #

type Rep PlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep PlacementConstraint = D1 (MetaData "PlacementConstraint" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "PlacementConstraint'" PrefixI True) (S1 (MetaSel (Just "_pcExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PlacementConstraintType))))

placementConstraint :: PlacementConstraint Source #

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

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

  • pcExpression - A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is distinctInstance . For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide .
  • pcType - The type of constraint. Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates. The value distinctInstance is not supported in task definitions.

pcExpression :: Lens' PlacementConstraint (Maybe Text) Source #

A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is distinctInstance . For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide .

pcType :: Lens' PlacementConstraint (Maybe PlacementConstraintType) Source #

The type of constraint. Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates. The value distinctInstance is not supported in task definitions.

PlacementStrategy

data PlacementStrategy Source #

The task placement strategy for a task or service. For more information, see Task Placement Strategies in the Amazon Elastic Container Service Developer Guide .

See: placementStrategy smart constructor.

Instances
Eq PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: PlacementStrategy -> Constr #

dataTypeOf :: PlacementStrategy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep PlacementStrategy :: Type -> Type #

Hashable PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: PlacementStrategy -> () #

type Rep PlacementStrategy Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep PlacementStrategy = D1 (MetaData "PlacementStrategy" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "PlacementStrategy'" PrefixI True) (S1 (MetaSel (Just "_psField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PlacementStrategyType))))

placementStrategy :: PlacementStrategy Source #

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

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

  • psField - The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host , which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone . For the binpack placement strategy, valid values are cpu and memory . For the random placement strategy, this field is not used.
  • psType - The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task).

psField :: Lens' PlacementStrategy (Maybe Text) Source #

The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host , which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone . For the binpack placement strategy, valid values are cpu and memory . For the random placement strategy, this field is not used.

psType :: Lens' PlacementStrategy (Maybe PlacementStrategyType) Source #

The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task).

PortMapping

data PortMapping Source #

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.

If using containers in a task with the awsvpc or host network mode, exposed ports should be specified using containerPort . The hostPort can be left blank or it must be the same value as the containerPort .

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data PortMapping Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show PortMapping Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic PortMapping Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep PortMapping :: Type -> Type #

Hashable PortMapping Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON PortMapping Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON PortMapping Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData PortMapping Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: PortMapping -> () #

type Rep PortMapping Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

portMapping :: PortMapping Source #

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. If using containers in a task with the awsvpc or host network mode, the hostPort can either be left blank or set to the same value as the containerPort . If using containers in a task with the bridge network mode, 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 for Docker version 1.6.0 and later is listed on the instance under procsysnetipv4/ip_local_port_range ; if this kernel parameter is unavailable, the default ephemeral port range from 49153 through 65535 is used. You should not attempt to specify a host port in the ephemeral port range as 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 using containers in a task with the awsvpc or host network mode, exposed ports should be specified using containerPort . If using containers in a task with the bridge network mode and 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) Source #

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

pmHostPort :: Lens' PortMapping (Maybe Int) Source #

The port number on the container instance to reserve for your container. If using containers in a task with the awsvpc or host network mode, the hostPort can either be left blank or set to the same value as the containerPort . If using containers in a task with the bridge network mode, 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 for Docker version 1.6.0 and later is listed on the instance under procsysnetipv4/ip_local_port_range ; if this kernel parameter is unavailable, the default ephemeral port range from 49153 through 65535 is used. You should not attempt to specify a host port in the ephemeral port range as 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) Source #

The port number on the container that is bound to the user-specified or automatically assigned host port. If using containers in a task with the awsvpc or host network mode, exposed ports should be specified using containerPort . If using containers in a task with the bridge network mode and 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 Source #

Describes the resources available for a container instance.

See: resource smart constructor.

Instances
Eq Resource Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data Resource Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Resource Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Resource Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Hashable Resource Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

ToJSON Resource Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON Resource Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Resource Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Resource -> () #

type Rep Resource Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

resource :: Resource Source #

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] Source #

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

rIntegerValue :: Lens' Resource (Maybe Int) Source #

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

rDoubleValue :: Lens' Resource (Maybe Double) Source #

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

rLongValue :: Lens' Resource (Maybe Integer) Source #

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

rName :: Lens' Resource (Maybe Text) Source #

The name of the resource, such as cpu , memory , ports , or a user-defined resource.

rType :: Lens' Resource (Maybe Text) Source #

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

ServiceEvent

data ServiceEvent Source #

Details on an event associated with a service.

See: serviceEvent smart constructor.

Instances
Eq ServiceEvent Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data ServiceEvent Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show ServiceEvent Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic ServiceEvent Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep ServiceEvent :: Type -> Type #

Hashable ServiceEvent Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON ServiceEvent Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData ServiceEvent Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: ServiceEvent -> () #

type Rep ServiceEvent Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

serviceEvent :: ServiceEvent Source #

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 time stamp for when the event was triggered.
  • seId - The ID string of the event.
  • seMessage - The event message.

seCreatedAt :: Lens' ServiceEvent (Maybe UTCTime) Source #

The Unix time stamp for when the event was triggered.

seId :: Lens' ServiceEvent (Maybe Text) Source #

The ID string of the event.

seMessage :: Lens' ServiceEvent (Maybe Text) Source #

The event message.

ServiceRegistry

data ServiceRegistry Source #

Details of the service registry.

See: serviceRegistry smart constructor.

Instances
Eq ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: ServiceRegistry -> Constr #

dataTypeOf :: ServiceRegistry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep ServiceRegistry :: Type -> Type #

Hashable ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: ServiceRegistry -> () #

type Rep ServiceRegistry Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep ServiceRegistry = D1 (MetaData "ServiceRegistry" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "ServiceRegistry'" PrefixI True) (S1 (MetaSel (Just "_srRegistryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_srPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))

serviceRegistry :: ServiceRegistry Source #

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

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

  • srRegistryARN - The Amazon Resource Name (ARN) of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service. For more information, see Service .
  • srPort - The port value used if your Service Discovery service specified an SRV record.

srRegistryARN :: Lens' ServiceRegistry (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service. For more information, see Service .

srPort :: Lens' ServiceRegistry (Maybe Int) Source #

The port value used if your Service Discovery service specified an SRV record.

Task

data Task Source #

Details on a task in a cluster.

See: task smart constructor.

Instances
Eq Task Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

Data Task Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Task Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

showsPrec :: Int -> Task -> ShowS #

show :: Task -> String #

showList :: [Task] -> ShowS #

Generic Task Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Task :: Type -> Type #

Methods

from :: Task -> Rep Task x #

to :: Rep Task x -> Task #

Hashable Task Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

hashWithSalt :: Int -> Task -> Int #

hash :: Task -> Int #

FromJSON Task Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Task Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Task -> () #

type Rep Task Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep Task = D1 (MetaData "Task" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Task'" PrefixI True) ((((S1 (MetaSel (Just "_tStoppedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_tDesiredStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tOverrides") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TaskOverride)))) :*: (S1 (MetaSel (Just "_tClusterARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attachment]))))) :*: ((S1 (MetaSel (Just "_tCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_tPlatformVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tTaskARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_tContainerInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tExecutionStoppedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_tLastStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tMemory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 (MetaSel (Just "_tPullStoppedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_tContainers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Container])) :*: S1 (MetaSel (Just "_tStartedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 (MetaSel (Just "_tVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_tStartedBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tStoppedReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tConnectivity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Connectivity))))) :*: ((S1 (MetaSel (Just "_tStoppingAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_tLaunchType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LaunchType)) :*: S1 (MetaSel (Just "_tTaskDefinitionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_tHealthStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HealthStatus)) :*: S1 (MetaSel (Just "_tConnectivityAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_tCpu") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tPullStartedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))))))

task :: Task Source #

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 time stamp 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 ARN of the cluster that hosts the task.
  • tGroup - The name of the task group associated with the task.
  • tAttachments - The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.
  • tCreatedAt - The Unix time stamp for when the task was created (the task entered the PENDING state).
  • tPlatformVersion - The platform version on which your task is running. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide .
  • tTaskARN - The Amazon Resource Name (ARN) of the task.
  • tContainerInstanceARN - The ARN of the container instances that host the task.
  • tExecutionStoppedAt - The Unix time stamp for when the task execution stopped.
  • tLastStatus - The last known status of the task.
  • tMemory - The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB, for example 1024 , or as a string using GB, for example 1GB or 1 GB , in a task definition but is converted to an integer indicating the MiB when the task definition is registered. If using the EC2 launch type, this field is optional. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)
  • tPullStoppedAt - The Unix time stamp for when the container image pull completed.
  • tContainers - The containers associated with the task.
  • tStartedAt - The Unix time stamp for when the task 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.
  • tConnectivity - The connectivity status of a task.
  • tStoppingAt - The Unix time stamp for when the task will stop (transitions from the RUNNING state to STOPPED ).
  • tLaunchType - The launch type on which your task is running.
  • tTaskDefinitionARN - The ARN of the task definition that creates the task.
  • tHealthStatus - The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as HEALTHY , then the task status also reports as HEALTHY . If any essential containers in the task are reporting as UNHEALTHY or UNKNOWN , then the task status also reports as UNHEALTHY or UNKNOWN , accordingly.
  • tConnectivityAt - The Unix time stamp for when the task last went into CONNECTED status.
  • tCpu - The number of CPU units used by the task. It can be expressed as an integer using CPU units, for example 1024 , or as a string using vCPUs, for example 1 vCPU or 1 vcpu , in a task definition but is converted to an integer indicating the CPU units when the task definition is registered. If using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs). If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter: * 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)
  • tPullStartedAt - The Unix time stamp for when the container image pull began.

tStoppedAt :: Lens' Task (Maybe UTCTime) Source #

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

tDesiredStatus :: Lens' Task (Maybe Text) Source #

The desired status of the task.

tOverrides :: Lens' Task (Maybe TaskOverride) Source #

One or more container overrides.

tClusterARN :: Lens' Task (Maybe Text) Source #

The ARN of the cluster that hosts the task.

tGroup :: Lens' Task (Maybe Text) Source #

The name of the task group associated with the task.

tAttachments :: Lens' Task [Attachment] Source #

The Elastic Network Adapter associated with the task if the task uses the awsvpc network mode.

tCreatedAt :: Lens' Task (Maybe UTCTime) Source #

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

tPlatformVersion :: Lens' Task (Maybe Text) Source #

The platform version on which your task is running. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide .

tTaskARN :: Lens' Task (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task.

tContainerInstanceARN :: Lens' Task (Maybe Text) Source #

The ARN of the container instances that host the task.

tExecutionStoppedAt :: Lens' Task (Maybe UTCTime) Source #

The Unix time stamp for when the task execution stopped.

tLastStatus :: Lens' Task (Maybe Text) Source #

The last known status of the task.

tMemory :: Lens' Task (Maybe Text) Source #

The amount of memory (in MiB) used by the task. It can be expressed as an integer using MiB, for example 1024 , or as a string using GB, for example 1GB or 1 GB , in a task definition but is converted to an integer indicating the MiB when the task definition is registered. If using the EC2 launch type, this field is optional. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the cpu parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

tPullStoppedAt :: Lens' Task (Maybe UTCTime) Source #

The Unix time stamp for when the container image pull completed.

tContainers :: Lens' Task [Container] Source #

The containers associated with the task.

tStartedAt :: Lens' Task (Maybe UTCTime) Source #

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

tVersion :: Lens' Task (Maybe Integer) Source #

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) Source #

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) Source #

The reason the task was stopped.

tConnectivity :: Lens' Task (Maybe Connectivity) Source #

The connectivity status of a task.

tStoppingAt :: Lens' Task (Maybe UTCTime) Source #

The Unix time stamp for when the task will stop (transitions from the RUNNING state to STOPPED ).

tLaunchType :: Lens' Task (Maybe LaunchType) Source #

The launch type on which your task is running.

tTaskDefinitionARN :: Lens' Task (Maybe Text) Source #

The ARN of the task definition that creates the task.

tHealthStatus :: Lens' Task (Maybe HealthStatus) Source #

The health status for the task, which is determined by the health of the essential containers in the task. If all essential containers in the task are reporting as HEALTHY , then the task status also reports as HEALTHY . If any essential containers in the task are reporting as UNHEALTHY or UNKNOWN , then the task status also reports as UNHEALTHY or UNKNOWN , accordingly.

tConnectivityAt :: Lens' Task (Maybe UTCTime) Source #

The Unix time stamp for when the task last went into CONNECTED status.

tCpu :: Lens' Task (Maybe Text) Source #

The number of CPU units used by the task. It can be expressed as an integer using CPU units, for example 1024 , or as a string using vCPUs, for example 1 vCPU or 1 vcpu , in a task definition but is converted to an integer indicating the CPU units when the task definition is registered. If using the EC2 launch type, this field is optional. Supported values are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs). If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of supported values for the memory parameter: * 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

tPullStartedAt :: Lens' Task (Maybe UTCTime) Source #

The Unix time stamp for when the container image pull began.

TaskDefinition

data TaskDefinition Source #

Details of a task definition.

See: taskDefinition smart constructor.

Instances
Eq TaskDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data TaskDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show TaskDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic TaskDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep TaskDefinition :: Type -> Type #

Hashable TaskDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON TaskDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData TaskDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: TaskDefinition -> () #

type Rep TaskDefinition Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep TaskDefinition = D1 (MetaData "TaskDefinition" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "TaskDefinition'" PrefixI True) (((S1 (MetaSel (Just "_tdStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TaskDefinitionStatus)) :*: (S1 (MetaSel (Just "_tdExecutionRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tdRequiresCompatibilities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Compatibility])))) :*: ((S1 (MetaSel (Just "_tdFamily") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tdContainerDefinitions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ContainerDefinition]))) :*: (S1 (MetaSel (Just "_tdMemory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tdTaskRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 (MetaSel (Just "_tdPlacementConstraints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TaskDefinitionPlacementConstraint])) :*: S1 (MetaSel (Just "_tdNetworkMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkMode))) :*: (S1 (MetaSel (Just "_tdTaskDefinitionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tdCompatibilities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Compatibility])))) :*: ((S1 (MetaSel (Just "_tdRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_tdVolumes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Volume]))) :*: (S1 (MetaSel (Just "_tdCpu") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tdRequiresAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attribute])))))))

taskDefinition :: TaskDefinition Source #

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.
  • tdExecutionRoleARN - The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
  • tdRequiresCompatibilities - The launch type the task is using.
  • 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 Elastic Container Service Developer Guide .
  • tdMemory - The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the cpu parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)
  • tdTaskRoleARN - The 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. IAM roles for tasks on Windows require that the -EnableTaskIAMRole option is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some configuration code in order to take advantage of the feature. For more information, see Windows IAM Roles for Tasks in the Amazon Elastic Container Service Developer Guide .
  • tdPlacementConstraints - An array of placement constraint objects to use for tasks. This field is not valid if using the Fargate launch type for your task.
  • tdNetworkMode - The Docker networking mode to use for the containers in the task. The valid values are none , bridge , awsvpc , and host . The default Docker network mode is bridge . If using the Fargate launch type, the awsvpc network mode is required. If using the EC2 launch type, any network mode can be used. If the network mode is set to none , you can't specify port mappings in your container definitions, and the task's containers do not have external connectivity. The host and awsvpc network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the bridge mode. With the host and awsvpc network modes, exposed container ports are mapped directly to the corresponding host port (for the host network mode) or the attached elastic network interface port (for the awsvpc network mode), so you cannot take advantage of dynamic host port mappings. If the network mode is awsvpc , the task is allocated an Elastic Network Interface, and you must specify a NetworkConfiguration when you create a service or run a task with the task definition. For more information, see Task Networking in the Amazon Elastic Container Service Developer Guide . If the network mode is host , you can't run multiple instantiations of the same task on a single container instance when port mappings are used. Docker for Windows uses different network modes than Docker for Linux. When you register a task definition with Windows containers, you must not specify a network mode. If you use the console to register a task definition with Windows containers, you must choose the default network mode object. For more information, see Network settings in the Docker run reference .
  • tdTaskDefinitionARN - The full Amazon Resource Name (ARN) of the task definition.
  • tdCompatibilities - The launch type to use with your task. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide .
  • 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. If you are using the Fargate launch type, the host and sourcePath parameters are not supported. For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon Elastic Container Service Developer Guide .
  • tdCpu - The number of cpu units used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the memory parameter: * 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)
  • tdRequiresAttributes - The container instance attributes required by your task. This field is not valid if using the Fargate launch type for your task.

tdStatus :: Lens' TaskDefinition (Maybe TaskDefinitionStatus) Source #

The status of the task definition.

tdExecutionRoleARN :: Lens' TaskDefinition (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.

tdRequiresCompatibilities :: Lens' TaskDefinition [Compatibility] Source #

The launch type the task is using.

tdFamily :: Lens' TaskDefinition (Maybe Text) Source #

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

tdContainerDefinitions :: Lens' TaskDefinition [ContainerDefinition] Source #

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 Elastic Container Service Developer Guide .

tdMemory :: Lens' TaskDefinition (Maybe Text) Source #

The amount (in MiB) of memory used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the cpu parameter: * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU) * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU) * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU) * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU) * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

tdTaskRoleARN :: Lens' TaskDefinition (Maybe Text) Source #

The 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. IAM roles for tasks on Windows require that the -EnableTaskIAMRole option is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some configuration code in order to take advantage of the feature. For more information, see Windows IAM Roles for Tasks in the Amazon Elastic Container Service Developer Guide .

tdPlacementConstraints :: Lens' TaskDefinition [TaskDefinitionPlacementConstraint] Source #

An array of placement constraint objects to use for tasks. This field is not valid if using the Fargate launch type for your task.

tdNetworkMode :: Lens' TaskDefinition (Maybe NetworkMode) Source #

The Docker networking mode to use for the containers in the task. The valid values are none , bridge , awsvpc , and host . The default Docker network mode is bridge . If using the Fargate launch type, the awsvpc network mode is required. If using the EC2 launch type, any network mode can be used. If the network mode is set to none , you can't specify port mappings in your container definitions, and the task's containers do not have external connectivity. The host and awsvpc network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the bridge mode. With the host and awsvpc network modes, exposed container ports are mapped directly to the corresponding host port (for the host network mode) or the attached elastic network interface port (for the awsvpc network mode), so you cannot take advantage of dynamic host port mappings. If the network mode is awsvpc , the task is allocated an Elastic Network Interface, and you must specify a NetworkConfiguration when you create a service or run a task with the task definition. For more information, see Task Networking in the Amazon Elastic Container Service Developer Guide . If the network mode is host , you can't run multiple instantiations of the same task on a single container instance when port mappings are used. Docker for Windows uses different network modes than Docker for Linux. When you register a task definition with Windows containers, you must not specify a network mode. If you use the console to register a task definition with Windows containers, you must choose the default network mode object. For more information, see Network settings in the Docker run reference .

tdTaskDefinitionARN :: Lens' TaskDefinition (Maybe Text) Source #

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

tdCompatibilities :: Lens' TaskDefinition [Compatibility] Source #

The launch type to use with your task. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide .

tdRevision :: Lens' TaskDefinition (Maybe Int) Source #

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] Source #

The list of volumes in a task. If you are using the Fargate launch type, the host and sourcePath parameters are not supported. For more information about volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon Elastic Container Service Developer Guide .

tdCpu :: Lens' TaskDefinition (Maybe Text) Source #

The number of cpu units used by the task. If using the EC2 launch type, this field is optional and any value can be used. If using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the memory parameter: * 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) * 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) * 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

tdRequiresAttributes :: Lens' TaskDefinition [Attribute] Source #

The container instance attributes required by your task. This field is not valid if using the Fargate launch type for your task.

TaskDefinitionPlacementConstraint

data TaskDefinitionPlacementConstraint Source #

An object representing a constraint on task placement in the task definition.

If you are using the Fargate launch type, task placement constraints are not supported.

For more information, see Task Placement Constraints in the Amazon Elastic Container Service Developer Guide .

See: taskDefinitionPlacementConstraint smart constructor.

Instances
Eq TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: TaskDefinitionPlacementConstraint -> Constr #

dataTypeOf :: TaskDefinitionPlacementConstraint -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep TaskDefinitionPlacementConstraint :: Type -> Type #

Hashable TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep TaskDefinitionPlacementConstraint Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep TaskDefinitionPlacementConstraint = D1 (MetaData "TaskDefinitionPlacementConstraint" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "TaskDefinitionPlacementConstraint'" PrefixI True) (S1 (MetaSel (Just "_tdpcExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tdpcType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TaskDefinitionPlacementConstraintType))))

taskDefinitionPlacementConstraint :: TaskDefinitionPlacementConstraint Source #

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

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

  • tdpcExpression - A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide .
  • tdpcType - The type of constraint. The DistinctInstance constraint ensures that each task in a particular group is running on a different container instance. The MemberOf constraint restricts selection to be from a group of valid candidates.

tdpcExpression :: Lens' TaskDefinitionPlacementConstraint (Maybe Text) Source #

A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide .

tdpcType :: Lens' TaskDefinitionPlacementConstraint (Maybe TaskDefinitionPlacementConstraintType) Source #

The type of constraint. The DistinctInstance constraint ensures that each task in a particular group is running on a different container instance. The MemberOf constraint restricts selection to be from a group of valid candidates.

TaskOverride

data TaskOverride Source #

The overrides associated with a task.

See: taskOverride smart constructor.

Instances
Eq TaskOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data TaskOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show TaskOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic TaskOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep TaskOverride :: Type -> Type #

Hashable TaskOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON TaskOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON TaskOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData TaskOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: TaskOverride -> () #

type Rep TaskOverride Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

taskOverride :: TaskOverride Source #

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.
  • toExecutionRoleARN - The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
  • 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] Source #

One or more container overrides sent to a task.

toExecutionRoleARN :: Lens' TaskOverride (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.

toTaskRoleARN :: Lens' TaskOverride (Maybe Text) Source #

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.

Tmpfs

data Tmpfs Source #

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

See: tmpfs smart constructor.

Instances
Eq Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

Data Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

toConstr :: Tmpfs -> Constr #

dataTypeOf :: Tmpfs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

showsPrec :: Int -> Tmpfs -> ShowS #

show :: Tmpfs -> String #

showList :: [Tmpfs] -> ShowS #

Generic Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Tmpfs :: Type -> Type #

Methods

from :: Tmpfs -> Rep Tmpfs x #

to :: Rep Tmpfs x -> Tmpfs #

Hashable Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

hashWithSalt :: Int -> Tmpfs -> Int #

hash :: Tmpfs -> Int #

ToJSON Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Tmpfs -> () #

type Rep Tmpfs Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

type Rep Tmpfs = D1 (MetaData "Tmpfs" "Network.AWS.ECS.Types.Product" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "Tmpfs'" PrefixI True) (S1 (MetaSel (Just "_tMountOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_tContainerPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

tmpfs Source #

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

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

  • tMountOptions - The list of tmpfs volume mount options. Valid values: "defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime"
  • tContainerPath - The absolute file path where the tmpfs volume will be mounted.
  • tSize - The size of the tmpfs volume.

tMountOptions :: Lens' Tmpfs [Text] Source #

The list of tmpfs volume mount options. Valid values: "defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime"

tContainerPath :: Lens' Tmpfs Text Source #

The absolute file path where the tmpfs volume will be mounted.

tSize :: Lens' Tmpfs Int Source #

The size of the tmpfs volume.

Ulimit

data Ulimit Source #

The ulimit settings to pass to the container.

See: ulimit smart constructor.

Instances
Eq Ulimit Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

Data Ulimit Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Ulimit Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Ulimit Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Ulimit :: Type -> Type #

Methods

from :: Ulimit -> Rep Ulimit x #

to :: Rep Ulimit x -> Ulimit #

Hashable Ulimit Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

hashWithSalt :: Int -> Ulimit -> Int #

hash :: Ulimit -> Int #

ToJSON Ulimit Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON Ulimit Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Ulimit Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Ulimit -> () #

type Rep Ulimit Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

ulimit Source #

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 Source #

The type of the ulimit .

uSoftLimit :: Lens' Ulimit Int Source #

The soft limit for the ulimit type.

uHardLimit :: Lens' Ulimit Int Source #

The hard limit for the ulimit type.

VersionInfo

data VersionInfo Source #

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

See: versionInfo smart constructor.

Instances
Eq VersionInfo Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data VersionInfo Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show VersionInfo Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic VersionInfo Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep VersionInfo :: Type -> Type #

Hashable VersionInfo Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON VersionInfo Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON VersionInfo Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData VersionInfo Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: VersionInfo -> () #

type Rep VersionInfo Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

versionInfo :: VersionInfo Source #

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) Source #

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

viAgentVersion :: Lens' VersionInfo (Maybe Text) Source #

The version number of the Amazon ECS container agent.

viDockerVersion :: Lens' VersionInfo (Maybe Text) Source #

The Docker version running on the container instance.

Volume

data Volume Source #

A data volume used in a task definition.

See: volume smart constructor.

Instances
Eq Volume Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

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

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

Data Volume Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show Volume Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic Volume Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep Volume :: Type -> Type #

Methods

from :: Volume -> Rep Volume x #

to :: Rep Volume x -> Volume #

Hashable Volume Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

hashWithSalt :: Int -> Volume -> Int #

hash :: Volume -> Int #

ToJSON Volume Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON Volume Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData Volume Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: Volume -> () #

type Rep Volume Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

volume :: Volume Source #

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. Windows containers can mount whole directories on the same drive as > env:ProgramData . Windows containers cannot mount directories on a different drive, and mount point cannot be across drives. For example, you can mount C:mypath:C:mypath and D::D:@ , but not D:mypath:C:mypath or D::C:mypath@ .

vName :: Lens' Volume (Maybe Text) Source #

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) Source #

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. Windows containers can mount whole directories on the same drive as > env:ProgramData . Windows containers cannot mount directories on a different drive, and mount point cannot be across drives. For example, you can mount C:mypath:C:mypath and D::D:@ , but not D:mypath:C:mypath or D::C:mypath@ .

VolumeFrom

data VolumeFrom Source #

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

See: volumeFrom smart constructor.

Instances
Eq VolumeFrom Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Data VolumeFrom Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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 Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Show VolumeFrom Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Generic VolumeFrom Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Associated Types

type Rep VolumeFrom :: Type -> Type #

Hashable VolumeFrom Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

ToJSON VolumeFrom Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

FromJSON VolumeFrom Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

NFData VolumeFrom Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

Methods

rnf :: VolumeFrom -> () #

type Rep VolumeFrom Source # 
Instance details

Defined in Network.AWS.ECS.Types.Product

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

volumeFrom :: VolumeFrom Source #

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 another container within the same task definition 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) Source #

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

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

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