@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Deployment extends Object implements Serializable, Cloneable, StructuredPojo
The details of an Amazon ECS service deployment. This is used only when a service uses the ECS
deployment controller type.
Constructor and Description |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
clone() |
boolean |
equals(Object obj) |
List<CapacityProviderStrategyItem> |
getCapacityProviderStrategy()
The capacity provider strategy that the deployment is using.
|
Date |
getCreatedAt()
The Unix timestamp for the time when the service deployment was created.
|
Integer |
getDesiredCount()
The most recent desired count of tasks that was specified for the service to deploy or maintain.
|
Integer |
getFailedTasks()
The number of consecutively failed tasks in the deployment.
|
DeploymentEphemeralStorage |
getFargateEphemeralStorage()
The Fargate ephemeral storage settings for the deployment.
|
String |
getId()
The ID of the deployment.
|
String |
getLaunchType()
The launch type the tasks in the service are using.
|
NetworkConfiguration |
getNetworkConfiguration()
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by
using the
awsvpc networking mode. |
Integer |
getPendingCount()
The number of tasks in the deployment that are in the
PENDING status. |
String |
getPlatformFamily()
The operating system that your tasks in the service, or tasks are running on.
|
String |
getPlatformVersion()
The platform version that your tasks in the service run on.
|
String |
getRolloutState()
|
String |
getRolloutStateReason()
A description of the rollout state of a deployment.
|
Integer |
getRunningCount()
The number of tasks in the deployment that are in the
RUNNING status. |
ServiceConnectConfiguration |
getServiceConnectConfiguration()
The details of the Service Connect configuration that's used by this deployment.
|
List<ServiceConnectServiceResource> |
getServiceConnectResources()
The list of Service Connect resources that are associated with this deployment.
|
String |
getStatus()
The status of the deployment.
|
String |
getTaskDefinition()
The most recent task definition that was specified for the tasks in the service to use.
|
Date |
getUpdatedAt()
The Unix timestamp for the time when the service deployment was last updated.
|
List<ServiceVolumeConfiguration> |
getVolumeConfigurations()
The details of the volume that was
configuredAtLaunch . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
|
void |
setCreatedAt(Date createdAt)
The Unix timestamp for the time when the service deployment was created.
|
void |
setDesiredCount(Integer desiredCount)
The most recent desired count of tasks that was specified for the service to deploy or maintain.
|
void |
setFailedTasks(Integer failedTasks)
The number of consecutively failed tasks in the deployment.
|
void |
setFargateEphemeralStorage(DeploymentEphemeralStorage fargateEphemeralStorage)
The Fargate ephemeral storage settings for the deployment.
|
void |
setId(String id)
The ID of the deployment.
|
void |
setLaunchType(String launchType)
The launch type the tasks in the service are using.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by
using the
awsvpc networking mode. |
void |
setPendingCount(Integer pendingCount)
The number of tasks in the deployment that are in the
PENDING status. |
void |
setPlatformFamily(String platformFamily)
The operating system that your tasks in the service, or tasks are running on.
|
void |
setPlatformVersion(String platformVersion)
The platform version that your tasks in the service run on.
|
void |
setRolloutState(String rolloutState)
|
void |
setRolloutStateReason(String rolloutStateReason)
A description of the rollout state of a deployment.
|
void |
setRunningCount(Integer runningCount)
The number of tasks in the deployment that are in the
RUNNING status. |
void |
setServiceConnectConfiguration(ServiceConnectConfiguration serviceConnectConfiguration)
The details of the Service Connect configuration that's used by this deployment.
|
void |
setServiceConnectResources(Collection<ServiceConnectServiceResource> serviceConnectResources)
The list of Service Connect resources that are associated with this deployment.
|
void |
setStatus(String status)
The status of the deployment.
|
void |
setTaskDefinition(String taskDefinition)
The most recent task definition that was specified for the tasks in the service to use.
|
void |
setUpdatedAt(Date updatedAt)
The Unix timestamp for the time when the service deployment was last updated.
|
void |
setVolumeConfigurations(Collection<ServiceVolumeConfiguration> volumeConfigurations)
The details of the volume that was
configuredAtLaunch . |
String |
toString()
Returns a string representation of this object.
|
Deployment |
withCapacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
|
Deployment |
withCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
|
Deployment |
withCreatedAt(Date createdAt)
The Unix timestamp for the time when the service deployment was created.
|
Deployment |
withDesiredCount(Integer desiredCount)
The most recent desired count of tasks that was specified for the service to deploy or maintain.
|
Deployment |
withFailedTasks(Integer failedTasks)
The number of consecutively failed tasks in the deployment.
|
Deployment |
withFargateEphemeralStorage(DeploymentEphemeralStorage fargateEphemeralStorage)
The Fargate ephemeral storage settings for the deployment.
|
Deployment |
withId(String id)
The ID of the deployment.
|
Deployment |
withLaunchType(LaunchType launchType)
The launch type the tasks in the service are using.
|
Deployment |
withLaunchType(String launchType)
The launch type the tasks in the service are using.
|
Deployment |
withNetworkConfiguration(NetworkConfiguration networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by
using the
awsvpc networking mode. |
Deployment |
withPendingCount(Integer pendingCount)
The number of tasks in the deployment that are in the
PENDING status. |
Deployment |
withPlatformFamily(String platformFamily)
The operating system that your tasks in the service, or tasks are running on.
|
Deployment |
withPlatformVersion(String platformVersion)
The platform version that your tasks in the service run on.
|
Deployment |
withRolloutState(DeploymentRolloutState rolloutState)
|
Deployment |
withRolloutState(String rolloutState)
|
Deployment |
withRolloutStateReason(String rolloutStateReason)
A description of the rollout state of a deployment.
|
Deployment |
withRunningCount(Integer runningCount)
The number of tasks in the deployment that are in the
RUNNING status. |
Deployment |
withServiceConnectConfiguration(ServiceConnectConfiguration serviceConnectConfiguration)
The details of the Service Connect configuration that's used by this deployment.
|
Deployment |
withServiceConnectResources(Collection<ServiceConnectServiceResource> serviceConnectResources)
The list of Service Connect resources that are associated with this deployment.
|
Deployment |
withServiceConnectResources(ServiceConnectServiceResource... serviceConnectResources)
The list of Service Connect resources that are associated with this deployment.
|
Deployment |
withStatus(String status)
The status of the deployment.
|
Deployment |
withTaskDefinition(String taskDefinition)
The most recent task definition that was specified for the tasks in the service to use.
|
Deployment |
withUpdatedAt(Date updatedAt)
The Unix timestamp for the time when the service deployment was last updated.
|
Deployment |
withVolumeConfigurations(Collection<ServiceVolumeConfiguration> volumeConfigurations)
The details of the volume that was
configuredAtLaunch . |
Deployment |
withVolumeConfigurations(ServiceVolumeConfiguration... volumeConfigurations)
The details of the volume that was
configuredAtLaunch . |
public void setId(String id)
The ID of the deployment.
id
- The ID of the deployment.public String getId()
The ID of the deployment.
public Deployment withId(String id)
The ID of the deployment.
id
- The ID of the deployment.public void setStatus(String status)
The status of the deployment. The following describes each state.
The most recent deployment of a service.
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment.
A deployment that has been completely replaced.
status
- The status of the deployment. The following describes each state.
The most recent deployment of a service.
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment.
A deployment that has been completely replaced.
public String getStatus()
The status of the deployment. The following describes each state.
The most recent deployment of a service.
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment.
A deployment that has been completely replaced.
The most recent deployment of a service.
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment.
A deployment that has been completely replaced.
public Deployment withStatus(String status)
The status of the deployment. The following describes each state.
The most recent deployment of a service.
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment.
A deployment that has been completely replaced.
status
- The status of the deployment. The following describes each state.
The most recent deployment of a service.
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment.
A deployment that has been completely replaced.
public void setTaskDefinition(String taskDefinition)
The most recent task definition that was specified for the tasks in the service to use.
taskDefinition
- The most recent task definition that was specified for the tasks in the service to use.public String getTaskDefinition()
The most recent task definition that was specified for the tasks in the service to use.
public Deployment withTaskDefinition(String taskDefinition)
The most recent task definition that was specified for the tasks in the service to use.
taskDefinition
- The most recent task definition that was specified for the tasks in the service to use.public void setDesiredCount(Integer desiredCount)
The most recent desired count of tasks that was specified for the service to deploy or maintain.
desiredCount
- The most recent desired count of tasks that was specified for the service to deploy or maintain.public Integer getDesiredCount()
The most recent desired count of tasks that was specified for the service to deploy or maintain.
public Deployment withDesiredCount(Integer desiredCount)
The most recent desired count of tasks that was specified for the service to deploy or maintain.
desiredCount
- The most recent desired count of tasks that was specified for the service to deploy or maintain.public void setPendingCount(Integer pendingCount)
The number of tasks in the deployment that are in the PENDING
status.
pendingCount
- The number of tasks in the deployment that are in the PENDING
status.public Integer getPendingCount()
The number of tasks in the deployment that are in the PENDING
status.
PENDING
status.public Deployment withPendingCount(Integer pendingCount)
The number of tasks in the deployment that are in the PENDING
status.
pendingCount
- The number of tasks in the deployment that are in the PENDING
status.public void setRunningCount(Integer runningCount)
The number of tasks in the deployment that are in the RUNNING
status.
runningCount
- The number of tasks in the deployment that are in the RUNNING
status.public Integer getRunningCount()
The number of tasks in the deployment that are in the RUNNING
status.
RUNNING
status.public Deployment withRunningCount(Integer runningCount)
The number of tasks in the deployment that are in the RUNNING
status.
runningCount
- The number of tasks in the deployment that are in the RUNNING
status.public void setFailedTasks(Integer failedTasks)
The number of consecutively failed tasks in the deployment. A task is considered a failure if the service
scheduler can't launch the task, the task doesn't transition to a RUNNING
state, or if it fails any
of its defined health checks and is stopped.
Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.
failedTasks
- The number of consecutively failed tasks in the deployment. A task is considered a failure if the service
scheduler can't launch the task, the task doesn't transition to a RUNNING
state, or if it
fails any of its defined health checks and is stopped. Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.
public Integer getFailedTasks()
The number of consecutively failed tasks in the deployment. A task is considered a failure if the service
scheduler can't launch the task, the task doesn't transition to a RUNNING
state, or if it fails any
of its defined health checks and is stopped.
Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.
RUNNING
state, or if it
fails any of its defined health checks and is stopped. Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.
public Deployment withFailedTasks(Integer failedTasks)
The number of consecutively failed tasks in the deployment. A task is considered a failure if the service
scheduler can't launch the task, the task doesn't transition to a RUNNING
state, or if it fails any
of its defined health checks and is stopped.
Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.
failedTasks
- The number of consecutively failed tasks in the deployment. A task is considered a failure if the service
scheduler can't launch the task, the task doesn't transition to a RUNNING
state, or if it
fails any of its defined health checks and is stopped. Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.
public void setCreatedAt(Date createdAt)
The Unix timestamp for the time when the service deployment was created.
createdAt
- The Unix timestamp for the time when the service deployment was created.public Date getCreatedAt()
The Unix timestamp for the time when the service deployment was created.
public Deployment withCreatedAt(Date createdAt)
The Unix timestamp for the time when the service deployment was created.
createdAt
- The Unix timestamp for the time when the service deployment was created.public void setUpdatedAt(Date updatedAt)
The Unix timestamp for the time when the service deployment was last updated.
updatedAt
- The Unix timestamp for the time when the service deployment was last updated.public Date getUpdatedAt()
The Unix timestamp for the time when the service deployment was last updated.
public Deployment withUpdatedAt(Date updatedAt)
The Unix timestamp for the time when the service deployment was last updated.
updatedAt
- The Unix timestamp for the time when the service deployment was last updated.public List<CapacityProviderStrategyItem> getCapacityProviderStrategy()
The capacity provider strategy that the deployment is using.
public void setCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
capacityProviderStrategy
- The capacity provider strategy that the deployment is using.public Deployment withCapacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityProviderStrategy(java.util.Collection)
or
withCapacityProviderStrategy(java.util.Collection)
if you want to override the existing values.
capacityProviderStrategy
- The capacity provider strategy that the deployment is using.public Deployment withCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy that the deployment is using.
capacityProviderStrategy
- The capacity provider strategy that the deployment is using.public void setLaunchType(String launchType)
The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType
- The launch type the tasks in the service are using. For more information, see Amazon ECS Launch
Types in the Amazon Elastic Container Service Developer Guide.LaunchType
public String getLaunchType()
The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
LaunchType
public Deployment withLaunchType(String launchType)
The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType
- The launch type the tasks in the service are using. For more information, see Amazon ECS Launch
Types in the Amazon Elastic Container Service Developer Guide.LaunchType
public Deployment withLaunchType(LaunchType launchType)
The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType
- The launch type the tasks in the service are using. For more information, see Amazon ECS Launch
Types in the Amazon Elastic Container Service Developer Guide.LaunchType
public void setPlatformVersion(String platformVersion)
The platform version that your tasks in the service run on. A platform version is only specified for tasks using
the Fargate launch type. If one isn't specified, the LATEST
platform version is used. For more
information, see Fargate Platform
Versions in the Amazon Elastic Container Service Developer Guide.
platformVersion
- The platform version that your tasks in the service run on. A platform version is only specified for tasks
using the Fargate launch type. If one isn't specified, the LATEST
platform version is used.
For more information, see Fargate Platform
Versions in the Amazon Elastic Container Service Developer Guide.public String getPlatformVersion()
The platform version that your tasks in the service run on. A platform version is only specified for tasks using
the Fargate launch type. If one isn't specified, the LATEST
platform version is used. For more
information, see Fargate Platform
Versions in the Amazon Elastic Container Service Developer Guide.
LATEST
platform version is
used. For more information, see Fargate
Platform Versions in the Amazon Elastic Container Service Developer Guide.public Deployment withPlatformVersion(String platformVersion)
The platform version that your tasks in the service run on. A platform version is only specified for tasks using
the Fargate launch type. If one isn't specified, the LATEST
platform version is used. For more
information, see Fargate Platform
Versions in the Amazon Elastic Container Service Developer Guide.
platformVersion
- The platform version that your tasks in the service run on. A platform version is only specified for tasks
using the Fargate launch type. If one isn't specified, the LATEST
platform version is used.
For more information, see Fargate Platform
Versions in the Amazon Elastic Container Service Developer Guide.public void setPlatformFamily(String platformFamily)
The operating system that your tasks in the service, or tasks are running on. A platform family is specified only for tasks using the Fargate launch type.
All tasks that run as part of this service must use the same platformFamily
value as the service,
for example, LINUX.
.
platformFamily
- The operating system that your tasks in the service, or tasks are running on. A platform family is
specified only for tasks using the Fargate launch type.
All tasks that run as part of this service must use the same platformFamily
value as the
service, for example, LINUX.
.
public String getPlatformFamily()
The operating system that your tasks in the service, or tasks are running on. A platform family is specified only for tasks using the Fargate launch type.
All tasks that run as part of this service must use the same platformFamily
value as the service,
for example, LINUX.
.
All tasks that run as part of this service must use the same platformFamily
value as the
service, for example, LINUX.
.
public Deployment withPlatformFamily(String platformFamily)
The operating system that your tasks in the service, or tasks are running on. A platform family is specified only for tasks using the Fargate launch type.
All tasks that run as part of this service must use the same platformFamily
value as the service,
for example, LINUX.
.
platformFamily
- The operating system that your tasks in the service, or tasks are running on. A platform family is
specified only for tasks using the Fargate launch type.
All tasks that run as part of this service must use the same platformFamily
value as the
service, for example, LINUX.
.
public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by
using the awsvpc
networking mode.
networkConfiguration
- The VPC subnet and security group configuration for tasks that receive their own elastic network interface
by using the awsvpc
networking mode.public NetworkConfiguration getNetworkConfiguration()
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by
using the awsvpc
networking mode.
awsvpc
networking mode.public Deployment withNetworkConfiguration(NetworkConfiguration networkConfiguration)
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by
using the awsvpc
networking mode.
networkConfiguration
- The VPC subnet and security group configuration for tasks that receive their own elastic network interface
by using the awsvpc
networking mode.public void setRolloutState(String rolloutState)
The rolloutState
of a service is only returned for services that use the rolling update (
ECS
) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS
state. When the service reaches a steady state, the deployment transitions to a
COMPLETED
state. If the service fails to reach a steady state and circuit breaker is turned on, the
deployment transitions to a FAILED
state. A deployment in FAILED
state doesn't launch
any new tasks. For more information, see DeploymentCircuitBreaker.
rolloutState
-
The rolloutState
of a service is only returned for services that use the rolling update (
ECS
) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS
state. When the service reaches a steady state, the deployment transitions to a
COMPLETED
state. If the service fails to reach a steady state and circuit breaker is turned
on, the deployment transitions to a FAILED
state. A deployment in FAILED
state
doesn't launch any new tasks. For more information, see DeploymentCircuitBreaker.
DeploymentRolloutState
public String getRolloutState()
The rolloutState
of a service is only returned for services that use the rolling update (
ECS
) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS
state. When the service reaches a steady state, the deployment transitions to a
COMPLETED
state. If the service fails to reach a steady state and circuit breaker is turned on, the
deployment transitions to a FAILED
state. A deployment in FAILED
state doesn't launch
any new tasks. For more information, see DeploymentCircuitBreaker.
The rolloutState
of a service is only returned for services that use the rolling update (
ECS
) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS
state. When the service reaches a steady state, the deployment transitions to a
COMPLETED
state. If the service fails to reach a steady state and circuit breaker is turned
on, the deployment transitions to a FAILED
state. A deployment in FAILED
state
doesn't launch any new tasks. For more information, see DeploymentCircuitBreaker.
DeploymentRolloutState
public Deployment withRolloutState(String rolloutState)
The rolloutState
of a service is only returned for services that use the rolling update (
ECS
) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS
state. When the service reaches a steady state, the deployment transitions to a
COMPLETED
state. If the service fails to reach a steady state and circuit breaker is turned on, the
deployment transitions to a FAILED
state. A deployment in FAILED
state doesn't launch
any new tasks. For more information, see DeploymentCircuitBreaker.
rolloutState
-
The rolloutState
of a service is only returned for services that use the rolling update (
ECS
) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS
state. When the service reaches a steady state, the deployment transitions to a
COMPLETED
state. If the service fails to reach a steady state and circuit breaker is turned
on, the deployment transitions to a FAILED
state. A deployment in FAILED
state
doesn't launch any new tasks. For more information, see DeploymentCircuitBreaker.
DeploymentRolloutState
public Deployment withRolloutState(DeploymentRolloutState rolloutState)
The rolloutState
of a service is only returned for services that use the rolling update (
ECS
) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS
state. When the service reaches a steady state, the deployment transitions to a
COMPLETED
state. If the service fails to reach a steady state and circuit breaker is turned on, the
deployment transitions to a FAILED
state. A deployment in FAILED
state doesn't launch
any new tasks. For more information, see DeploymentCircuitBreaker.
rolloutState
-
The rolloutState
of a service is only returned for services that use the rolling update (
ECS
) deployment type that aren't behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an
IN_PROGRESS
state. When the service reaches a steady state, the deployment transitions to a
COMPLETED
state. If the service fails to reach a steady state and circuit breaker is turned
on, the deployment transitions to a FAILED
state. A deployment in FAILED
state
doesn't launch any new tasks. For more information, see DeploymentCircuitBreaker.
DeploymentRolloutState
public void setRolloutStateReason(String rolloutStateReason)
A description of the rollout state of a deployment.
rolloutStateReason
- A description of the rollout state of a deployment.public String getRolloutStateReason()
A description of the rollout state of a deployment.
public Deployment withRolloutStateReason(String rolloutStateReason)
A description of the rollout state of a deployment.
rolloutStateReason
- A description of the rollout state of a deployment.public void setServiceConnectConfiguration(ServiceConnectConfiguration serviceConnectConfiguration)
The details of the Service Connect configuration that's used by this deployment. Compare the configuration between multiple deployments when troubleshooting issues with new deployments.
The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
serviceConnectConfiguration
- The details of the Service Connect configuration that's used by this deployment. Compare the configuration
between multiple deployments when troubleshooting issues with new deployments.
The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
public ServiceConnectConfiguration getServiceConnectConfiguration()
The details of the Service Connect configuration that's used by this deployment. Compare the configuration between multiple deployments when troubleshooting issues with new deployments.
The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
public Deployment withServiceConnectConfiguration(ServiceConnectConfiguration serviceConnectConfiguration)
The details of the Service Connect configuration that's used by this deployment. Compare the configuration between multiple deployments when troubleshooting issues with new deployments.
The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
serviceConnectConfiguration
- The details of the Service Connect configuration that's used by this deployment. Compare the configuration
between multiple deployments when troubleshooting issues with new deployments.
The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
public List<ServiceConnectServiceResource> getServiceConnectResources()
The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery name to a Cloud Map service name.
public void setServiceConnectResources(Collection<ServiceConnectServiceResource> serviceConnectResources)
The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery name to a Cloud Map service name.
serviceConnectResources
- The list of Service Connect resources that are associated with this deployment. Each list entry maps a
discovery name to a Cloud Map service name.public Deployment withServiceConnectResources(ServiceConnectServiceResource... serviceConnectResources)
The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery name to a Cloud Map service name.
NOTE: This method appends the values to the existing list (if any). Use
setServiceConnectResources(java.util.Collection)
or
withServiceConnectResources(java.util.Collection)
if you want to override the existing values.
serviceConnectResources
- The list of Service Connect resources that are associated with this deployment. Each list entry maps a
discovery name to a Cloud Map service name.public Deployment withServiceConnectResources(Collection<ServiceConnectServiceResource> serviceConnectResources)
The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery name to a Cloud Map service name.
serviceConnectResources
- The list of Service Connect resources that are associated with this deployment. Each list entry maps a
discovery name to a Cloud Map service name.public List<ServiceVolumeConfiguration> getVolumeConfigurations()
The details of the volume that was configuredAtLaunch
. You can configure different settings like the
size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name
of the volume must match the name
from the task definition.
configuredAtLaunch
. You can configure different settings
like the size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name
of the volume must match the
name
from the task definition.public void setVolumeConfigurations(Collection<ServiceVolumeConfiguration> volumeConfigurations)
The details of the volume that was configuredAtLaunch
. You can configure different settings like the
size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name
of the volume must match the name
from the task definition.
volumeConfigurations
- The details of the volume that was configuredAtLaunch
. You can configure different settings
like the size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name
of the volume must match the
name
from the task definition.public Deployment withVolumeConfigurations(ServiceVolumeConfiguration... volumeConfigurations)
The details of the volume that was configuredAtLaunch
. You can configure different settings like the
size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name
of the volume must match the name
from the task definition.
NOTE: This method appends the values to the existing list (if any). Use
setVolumeConfigurations(java.util.Collection)
or withVolumeConfigurations(java.util.Collection)
if you want to override the existing values.
volumeConfigurations
- The details of the volume that was configuredAtLaunch
. You can configure different settings
like the size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name
of the volume must match the
name
from the task definition.public Deployment withVolumeConfigurations(Collection<ServiceVolumeConfiguration> volumeConfigurations)
The details of the volume that was configuredAtLaunch
. You can configure different settings like the
size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name
of the volume must match the name
from the task definition.
volumeConfigurations
- The details of the volume that was configuredAtLaunch
. You can configure different settings
like the size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name
of the volume must match the
name
from the task definition.public void setFargateEphemeralStorage(DeploymentEphemeralStorage fargateEphemeralStorage)
The Fargate ephemeral storage settings for the deployment.
fargateEphemeralStorage
- The Fargate ephemeral storage settings for the deployment.public DeploymentEphemeralStorage getFargateEphemeralStorage()
The Fargate ephemeral storage settings for the deployment.
public Deployment withFargateEphemeralStorage(DeploymentEphemeralStorage fargateEphemeralStorage)
The Fargate ephemeral storage settings for the deployment.
fargateEphemeralStorage
- The Fargate ephemeral storage settings for the deployment.public String toString()
toString
in class Object
Object.toString()
public Deployment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.