Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ECS
- data JSONError :: *
- data NetworkBinding
- networkBinding :: NetworkBinding
- nbBindIP :: Lens' NetworkBinding (Maybe Text)
- nbContainerPort :: Lens' NetworkBinding (Maybe Int)
- nbHostPort :: Lens' NetworkBinding (Maybe Int)
- data ContainerService
- containerService :: ContainerService
- csClusterArn :: Lens' ContainerService (Maybe Text)
- csDeployments :: Lens' ContainerService [Deployment]
- csDesiredCount :: Lens' ContainerService (Maybe Int)
- csEvents :: Lens' ContainerService [ServiceEvent]
- csLoadBalancers :: Lens' ContainerService [LoadBalancer]
- csPendingCount :: Lens' ContainerService (Maybe Int)
- csRoleArn :: Lens' ContainerService (Maybe Text)
- csRunningCount :: Lens' ContainerService (Maybe Int)
- csServiceArn :: Lens' ContainerService (Maybe Text)
- csServiceName :: Lens' ContainerService (Maybe Text)
- csStatus :: Lens' ContainerService (Maybe Text)
- csTaskDefinition :: Lens' ContainerService (Maybe Text)
- data Cluster
- cluster :: Cluster
- cClusterArn :: Lens' Cluster (Maybe Text)
- cClusterName :: Lens' Cluster (Maybe Text)
- cPendingTasksCount :: Lens' Cluster (Maybe Int)
- cRegisteredContainerInstancesCount :: Lens' Cluster (Maybe Int)
- cRunningTasksCount :: Lens' Cluster (Maybe Int)
- cStatus :: Lens' Cluster (Maybe Text)
- data Volume
- volume :: Volume
- vHost :: Lens' Volume (Maybe HostVolumeProperties)
- vName :: Lens' Volume (Maybe Text)
- data ContainerOverride
- containerOverride :: ContainerOverride
- coCommand :: Lens' ContainerOverride [Text]
- coName :: Lens' ContainerOverride (Maybe Text)
- data KeyValuePair
- keyValuePair :: KeyValuePair
- kvpName :: Lens' KeyValuePair (Maybe Text)
- kvpValue :: Lens' KeyValuePair (Maybe Text)
- data VolumeFrom
- volumeFrom :: VolumeFrom
- vfReadOnly :: Lens' VolumeFrom (Maybe Bool)
- vfSourceContainer :: Lens' VolumeFrom (Maybe Text)
- data TaskOverride
- taskOverride :: TaskOverride
- toContainerOverrides :: Lens' TaskOverride [ContainerOverride]
- data HostVolumeProperties
- hostVolumeProperties :: HostVolumeProperties
- hvpSourcePath :: Lens' HostVolumeProperties (Maybe Text)
- data VersionInfo
- versionInfo :: VersionInfo
- viAgentHash :: Lens' VersionInfo (Maybe Text)
- viAgentVersion :: Lens' VersionInfo (Maybe Text)
- viDockerVersion :: Lens' VersionInfo (Maybe Text)
- data Container
- container :: Container
- cContainerArn :: Lens' Container (Maybe Text)
- cExitCode :: Lens' Container (Maybe Int)
- cLastStatus :: Lens' Container (Maybe Text)
- cName :: Lens' Container (Maybe Text)
- cNetworkBindings :: Lens' Container [NetworkBinding]
- cReason :: Lens' Container (Maybe Text)
- cTaskArn :: Lens' Container (Maybe Text)
- data LoadBalancer
- loadBalancer :: LoadBalancer
- lbContainerName :: Lens' LoadBalancer (Maybe Text)
- lbContainerPort :: Lens' LoadBalancer (Maybe Int)
- lbLoadBalancerName :: Lens' LoadBalancer (Maybe Text)
- data ContainerDefinition
- containerDefinition :: ContainerDefinition
- cdCommand :: Lens' ContainerDefinition [Text]
- cdCpu :: Lens' ContainerDefinition (Maybe Int)
- cdEntryPoint :: Lens' ContainerDefinition [Text]
- cdEnvironment :: Lens' ContainerDefinition [KeyValuePair]
- cdEssential :: Lens' ContainerDefinition (Maybe Bool)
- cdImage :: Lens' ContainerDefinition (Maybe Text)
- cdLinks :: Lens' ContainerDefinition [Text]
- cdMemory :: Lens' ContainerDefinition (Maybe Int)
- cdMountPoints :: Lens' ContainerDefinition [MountPoint]
- cdName :: Lens' ContainerDefinition (Maybe Text)
- cdPortMappings :: Lens' ContainerDefinition [PortMapping]
- cdVolumesFrom :: Lens' ContainerDefinition [VolumeFrom]
- data Resource
- resource :: Resource
- rDoubleValue :: Lens' Resource (Maybe Double)
- rIntegerValue :: Lens' Resource (Maybe Int)
- rLongValue :: Lens' Resource (Maybe Integer)
- rName :: Lens' Resource (Maybe Text)
- rStringSetValue :: Lens' Resource [Text]
- rType :: Lens' Resource (Maybe Text)
- data Task
- task :: Task
- tClusterArn :: Lens' Task (Maybe Text)
- tContainerInstanceArn :: Lens' Task (Maybe Text)
- tContainers :: Lens' Task [Container]
- tDesiredStatus :: Lens' Task (Maybe Text)
- tLastStatus :: Lens' Task (Maybe Text)
- tOverrides :: Lens' Task (Maybe TaskOverride)
- tStartedBy :: Lens' Task (Maybe Text)
- tTaskArn :: Lens' Task (Maybe Text)
- tTaskDefinitionArn :: Lens' Task (Maybe Text)
- data PortMapping
- portMapping :: PortMapping
- pmContainerPort :: Lens' PortMapping (Maybe Int)
- pmHostPort :: Lens' PortMapping (Maybe Int)
- data TaskDefinition
- taskDefinition :: TaskDefinition
- tdContainerDefinitions :: Lens' TaskDefinition [ContainerDefinition]
- tdFamily :: Lens' TaskDefinition (Maybe Text)
- tdRevision :: Lens' TaskDefinition (Maybe Int)
- tdTaskDefinitionArn :: Lens' TaskDefinition (Maybe Text)
- tdVolumes :: Lens' TaskDefinition [Volume]
- data Failure
- failure :: Failure
- fArn :: Lens' Failure (Maybe Text)
- fReason :: Lens' Failure (Maybe Text)
- data ContainerInstance
- containerInstance :: ContainerInstance
- ciAgentConnected :: Lens' ContainerInstance (Maybe Bool)
- ciContainerInstanceArn :: Lens' ContainerInstance (Maybe Text)
- ciEc2InstanceId :: Lens' ContainerInstance (Maybe Text)
- ciPendingTasksCount :: Lens' ContainerInstance (Maybe Int)
- ciRegisteredResources :: Lens' ContainerInstance [Resource]
- ciRemainingResources :: Lens' ContainerInstance [Resource]
- ciRunningTasksCount :: Lens' ContainerInstance (Maybe Int)
- ciStatus :: Lens' ContainerInstance (Maybe Text)
- data ServiceEvent
- serviceEvent :: ServiceEvent
- seCreatedAt :: Lens' ServiceEvent (Maybe UTCTime)
- seId :: Lens' ServiceEvent (Maybe Text)
- seMessage :: Lens' ServiceEvent (Maybe Text)
- data Deployment
- deployment :: Deployment
- dCreatedAt :: Lens' Deployment (Maybe UTCTime)
- dDesiredCount :: Lens' Deployment (Maybe Int)
- dId :: Lens' Deployment (Maybe Text)
- dPendingCount :: Lens' Deployment (Maybe Int)
- dRunningCount :: Lens' Deployment (Maybe Int)
- dStatus :: Lens' Deployment (Maybe Text)
- dTaskDefinition :: Lens' Deployment (Maybe Text)
- dUpdatedAt :: Lens' Deployment (Maybe UTCTime)
- data MountPoint
- mountPoint :: MountPoint
- mpContainerPath :: Lens' MountPoint (Maybe Text)
- mpReadOnly :: Lens' MountPoint (Maybe Bool)
- mpSourceVolume :: Lens' MountPoint (Maybe Text)
Service
Version 2014-11-13
of the Amazon EC2 Container Service service.
Error
data JSONError :: *
NetworkBinding
data NetworkBinding Source
networkBinding :: NetworkBinding Source
NetworkBinding
constructor.
The fields accessible through corresponding lenses are:
nbBindIP
::
Maybe
Text
nbContainerPort
::
Maybe
Int
nbHostPort
::
Maybe
Int
nbBindIP :: Lens' NetworkBinding (Maybe Text) Source
The IP address that the container is bound to on the container instance.
nbContainerPort :: Lens' NetworkBinding (Maybe Int) Source
The port number on the container that is be used with the network binding.
nbHostPort :: Lens' NetworkBinding (Maybe Int) Source
The port number on the host that is used with the network binding.
ContainerService
data ContainerService Source
containerService :: ContainerService Source
ContainerService
constructor.
The fields accessible through corresponding lenses are:
csClusterArn
::
Maybe
Text
csDeployments
::
[Deployment
]csDesiredCount
::
Maybe
Int
csEvents
::
[ServiceEvent
]csLoadBalancers
::
[LoadBalancer
]csPendingCount
::
Maybe
Int
csRoleArn
::
Maybe
Text
csRunningCount
::
Maybe
Int
csServiceArn
::
Maybe
Text
csServiceName
::
Maybe
Text
csStatus
::
Maybe
Text
csTaskDefinition
::
Maybe
Text
csClusterArn :: Lens' ContainerService (Maybe Text) Source
The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
csDeployments :: Lens' ContainerService [Deployment] Source
The current state of deployments for the service.
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
.
csEvents :: Lens' ContainerService [ServiceEvent] Source
The event stream for your service. A maximum of 100 of the latest events are displayed.
csLoadBalancers :: Lens' ContainerService [LoadBalancer] Source
A list of 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.
csRoleArn :: Lens' ContainerService (Maybe Text) Source
The Amazon Resource Name (ARN) of the IAM role associated with the service that allows the Amazon ECS container agent to register container instances with a load balancer.
csRunningCount :: Lens' ContainerService (Maybe Int) Source
The number of tasks in the cluster that are in the RUNNING
state.
csServiceArn :: Lens' ContainerService (Maybe Text) Source
The Amazon Resource Name (ARN) that identifies the service. The ARN contains
the 'arn:aws:ecs' namespace, followed by the region of the service, the AWS
account ID of the service owner, the service
namespace, and then the service
name. For example, arn:aws:ecs:region:012345678910:service/my-service.
csServiceName :: Lens' ContainerService (Maybe Text) Source
A user-generated string that you can use to identify your service.
csStatus :: Lens' ContainerService (Maybe Text) Source
The status of the service. The valid values are ACTIVE
, DRAINING
, or INACTIVE
.
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
.
Cluster
Cluster
constructor.
The fields accessible through corresponding lenses are:
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.
cClusterName :: Lens' Cluster (Maybe Text) Source
A user-generated string that you can use to identify your cluster.
cPendingTasksCount :: Lens' Cluster (Maybe Int) Source
The number of tasks in the cluster that are in the PENDING
state.
cRegisteredContainerInstancesCount :: Lens' Cluster (Maybe Int) Source
The number of container instances registered into the cluster.
cRunningTasksCount :: Lens' Cluster (Maybe Int) Source
The number of tasks in the cluster that are in the RUNNING
state.
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.
Volume
vHost :: Lens' Volume (Maybe HostVolumeProperties) Source
The path on the host container instance that is presented to the containers which access the volume. If this parameter is empty, then the Docker daemon assigns a host path for you.
vName :: Lens' Volume (Maybe Text) Source
The name of the volume. This name is referenced in the sourceVolume
parameter
of container definition mountPoints
.
ContainerOverride
data ContainerOverride Source
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.
coName :: Lens' ContainerOverride (Maybe Text) Source
The name of the container that receives the override.
KeyValuePair
data KeyValuePair Source
VolumeFrom
data VolumeFrom Source
volumeFrom :: VolumeFrom Source
VolumeFrom
constructor.
The fields accessible through corresponding lenses are:
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
.
vfSourceContainer :: Lens' VolumeFrom (Maybe Text) Source
The name of the container to mount volumes from.
TaskOverride
data TaskOverride Source
taskOverride :: TaskOverride Source
TaskOverride
constructor.
The fields accessible through corresponding lenses are:
toContainerOverrides :: Lens' TaskOverride [ContainerOverride] Source
One or more container overrides sent to a task.
HostVolumeProperties
hostVolumeProperties :: HostVolumeProperties Source
HostVolumeProperties
constructor.
The fields accessible through corresponding lenses are:
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.
VersionInfo
data VersionInfo Source
versionInfo :: VersionInfo Source
VersionInfo
constructor.
The fields accessible through corresponding lenses are:
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.
Container
cContainerArn :: Lens' Container (Maybe Text) Source
The Amazon Resource Name (ARN) of the container.
cReason :: Lens' Container (Maybe Text) Source
A short (255 max characters) human-readable string to provide additional detail about a running or stopped container.
LoadBalancer
data LoadBalancer Source
loadBalancer :: LoadBalancer Source
LoadBalancer
constructor.
The fields accessible through corresponding lenses are:
lbContainerName :: Lens' LoadBalancer (Maybe Text) Source
The name of the container to associate with the load balancer.
lbContainerPort :: Lens' LoadBalancer (Maybe Int) Source
The port on the container to associate with the load balancer.
lbLoadBalancerName :: Lens' LoadBalancer (Maybe Text) Source
The name of the load balancer.
ContainerDefinition
containerDefinition :: ContainerDefinition Source
ContainerDefinition
constructor.
The fields accessible through corresponding lenses are:
cdCommand
::
[Text
]cdCpu
::
Maybe
Int
cdEntryPoint
::
[Text
]cdEnvironment
::
[KeyValuePair
]cdEssential
::
Maybe
Bool
cdImage
::
Maybe
Text
cdLinks
::
[Text
]cdMemory
::
Maybe
Int
cdMountPoints
::
[MountPoint
]cdName
::
Maybe
Text
cdPortMappings
::
[PortMapping
]cdVolumesFrom
::
[VolumeFrom
]
cdCommand :: Lens' ContainerDefinition [Text] Source
The CMD
that is passed to the container. For more information on the Docker CMD
parameter, see https://docs.docker.com/reference/builder/#cmd.
cdCpu :: Lens' ContainerDefinition (Maybe Int) Source
The number of cpu
units reserved for the container. A container instance has
1,024 cpu
units for every CPU core.
cdEntryPoint :: Lens' ContainerDefinition [Text] Source
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 ENTRYPOINT
that is passed to the container. For more information on the
Docker ENTRYPOINT
parameter, see https://docs.docker.com/reference/builder/#entrypoint.
cdEnvironment :: Lens' ContainerDefinition [KeyValuePair] Source
The environment variables to pass to a container.
cdEssential :: Lens' ContainerDefinition (Maybe Bool) Source
If the essential
parameter of a container is marked as true
, the failure of
that container will stop the task. If the essential
parameter of a container
is marked as false
, then its failure will not affect the rest of the
containers in a task.
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 'repository-url/image:tag.
cdLinks :: Lens' ContainerDefinition [Text] Source
The link
parameter allows containers to communicate with each other without
the need for port mappings, using the name
parameter. For more information on
linking Docker containers, see https://docs.docker.com/userguide/dockerlinks/.
cdMemory :: Lens' ContainerDefinition (Maybe Int) Source
The number of MiB of memory reserved for the container. Docker will allocate a minimum of 4 MiB of memory to a container.
cdMountPoints :: Lens' ContainerDefinition [MountPoint] Source
The mount points for data volumes in your container.
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.
cdPortMappings :: Lens' ContainerDefinition [PortMapping] Source
The list of port mappings for the container.
cdVolumesFrom :: Lens' ContainerDefinition [VolumeFrom] Source
Data volumes to mount from another container.
Resource
Resource
constructor.
The fields accessible through corresponding lenses are:
rDoubleValue
::
Maybe
Double
rIntegerValue
::
Maybe
Int
rLongValue
::
Maybe
Integer
rName
::
Maybe
Text
rStringSetValue
::
[Text
]rType
::
Maybe
Text
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.
rIntegerValue :: Lens' Resource (Maybe Int) Source
When the integerValue
type is set, the value of the resource must be an
integer.
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.
rStringSetValue :: Lens' Resource [Text] Source
When the stringSetValue
type is set, the value of the resource must be a
string type.
rType :: Lens' Resource (Maybe Text) Source
The type of the resource, such as INTEGER
, DOUBLE
, LONG
, or STRINGSET
.
Task
Task
constructor.
The fields accessible through corresponding lenses are:
tClusterArn :: Lens' Task (Maybe Text) Source
The Amazon Resource Name (ARN) of the of the cluster that hosts the task.
tContainerInstanceArn :: Lens' Task (Maybe Text) Source
The Amazon Resource Name (ARN) of the container instances that host the task.
tContainers :: Lens' Task [Container] Source
The containers associated with the task.
tOverrides :: Lens' Task (Maybe TaskOverride) Source
One or more container overrides.
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.
tTaskDefinitionArn :: Lens' Task (Maybe Text) Source
The Amazon Resource Name (ARN) of the of the task definition that creates the task.
PortMapping
data PortMapping Source
portMapping :: PortMapping Source
PortMapping
constructor.
The fields accessible through corresponding lenses are:
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 you specify a container port and not a host port, your container will automatically receive a host port in the 49153 to 65535 port range.
pmHostPort :: Lens' PortMapping (Maybe Int) Source
The port number on the container instance to reserve for your container. You
can specify a non-reserved host port for your container port mapping, or you
can omit the hostPort
while specifying a containerPort
and your container
will automatically receive a port in the 49153 to 65535 port range. You
should not attempt to specify a host port in the 49153 to 65535 port range,
since these are reserved for automatic assignment.
The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376,
and the Amazon ECS Container Agent port 51678. Any host port that was
previously specified in a running task is also reserved while the task is
running (once 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 50 reserved ports at a time,
including the default reserved ports (automatically assigned ports do not
count toward this limit).
TaskDefinition
data TaskDefinition Source
taskDefinition :: TaskDefinition Source
TaskDefinition
constructor.
The fields accessible through corresponding lenses are:
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 on container definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2 Container Service Developer Guide.
tdFamily :: Lens' TaskDefinition (Maybe Text) Source
The family of your task definition. You can think of the family
as the name
of your task definition.
tdRevision :: Lens' TaskDefinition (Maybe Int) Source
The revision of the task in a particular family. You can think of the revision as a version number of a task definition in a family. When you register a task definition for the first time, the revision is '1', and each time you register a task definition in the same family, the revision value increases by one.
tdTaskDefinitionArn :: Lens' TaskDefinition (Maybe Text) Source
The full Amazon Resource Name (ARN) of the of the task definition.
tdVolumes :: Lens' TaskDefinition [Volume] Source
The list of volumes in a task. For more information on volume definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon EC2Container Service Developer Guide.
Failure
ContainerInstance
data ContainerInstance Source
containerInstance :: ContainerInstance Source
ContainerInstance
constructor.
The fields accessible through corresponding lenses are:
ciAgentConnected :: Lens' ContainerInstance (Maybe Bool) Source
This parameter returns true
if the agent is actually connected to Amazon ECS.
Registered instances with an agent that may be unhealthy or stopped will
return false
, and instances without a connected agent cannot accept placement
request.
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 UUID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_UUID.
ciEc2InstanceId :: Lens' ContainerInstance (Maybe Text) Source
The Amazon EC2 instance ID of the container instance.
ciPendingTasksCount :: Lens' ContainerInstance (Maybe Int) Source
The number of tasks on the container instance that are in the PENDING
status.
ciRegisteredResources :: Lens' ContainerInstance [Resource] Source
The registered resources on the container instance that are in use by current tasks.
ciRemainingResources :: Lens' ContainerInstance [Resource] Source
The remaining resources of the container instance that are available for new tasks.
ciRunningTasksCount :: Lens' ContainerInstance (Maybe Int) Source
The number of tasks on the container instance that are in the RUNNING
status.
ciStatus :: Lens' ContainerInstance (Maybe Text) Source
The status of the container instance. The valid values are ACTIVE
or INACTIVE
.
ACTIVE
indicates that the container instance can accept tasks.
ServiceEvent
data ServiceEvent Source
serviceEvent :: ServiceEvent Source
ServiceEvent
constructor.
The fields accessible through corresponding lenses are:
seCreatedAt :: Lens' ServiceEvent (Maybe UTCTime) Source
The Unix time in seconds and milliseconds when the event was triggered.
Deployment
data Deployment Source
deployment :: Deployment Source
Deployment
constructor.
The fields accessible through corresponding lenses are:
dCreatedAt
::
Maybe
UTCTime
dDesiredCount
::
Maybe
Int
dId
::
Maybe
Text
dPendingCount
::
Maybe
Int
dRunningCount
::
Maybe
Int
dStatus
::
Maybe
Text
dTaskDefinition
::
Maybe
Text
dUpdatedAt
::
Maybe
UTCTime
dCreatedAt :: Lens' Deployment (Maybe UTCTime) Source
The Unix time in seconds and milliseconds when the service was created.
dDesiredCount :: Lens' Deployment (Maybe Int) Source
The most recent desired count of tasks that was specified for the service to deploy and/or maintain.
dPendingCount :: Lens' Deployment (Maybe Int) Source
The number of tasks in the deployment that are in the PENDING
status.
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).
dTaskDefinition :: Lens' Deployment (Maybe Text) Source
The most recent task definition that was specified for the service to use.
dUpdatedAt :: Lens' Deployment (Maybe UTCTime) Source
The Unix time in seconds and milliseconds when the service was last updated.
MountPoint
data MountPoint Source
mountPoint :: MountPoint Source
MountPoint
constructor.
The fields accessible through corresponding lenses are:
mpContainerPath :: Lens' MountPoint (Maybe Text) Source
The path on the container to mount the host volume at.
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
.
mpSourceVolume :: Lens' MountPoint (Maybe Text) Source
The name of the volume to mount.