ServiceRevision - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ServiceRevision

Information about the service revision.

A service revision contains a record of the workload configuration Amazon ECS is attempting to deploy. Whenever you create or deploy a service, Amazon ECS automatically creates and captures the configuration that you're trying to deploy in the service revision. For information about service revisions, see Amazon ECS service revisions in the Amazon Elastic Container Service Developer Guide .

Contents

capacityProviderStrategy

The capacity provider strategy the service revision uses.

Type: Array of CapacityProviderStrategyItem objects

Required: No

clusterArn

The ARN of the cluster that hosts the service.

Type: String

Required: No

containerImages

The container images the service revision uses.

Type: Array of ContainerImage objects

Required: No

createdAt

The time that the service revision was created. The format is yyyy-mm-dd HH:mm:ss.SSSSS.

Type: Timestamp

Required: No

fargateEphemeralStorage

The amount of ephemeral storage to allocate for the deployment.

Type: DeploymentEphemeralStorage object

Required: No

guardDutyEnabled

Indicates whether Runtime Monitoring is turned on.

Type: Boolean

Required: No

launchType

The launch type the service revision uses.

Type: String

Valid Values: EC2 | FARGATE | EXTERNAL

Required: No

loadBalancers

The load balancers the service revision uses.

Type: Array of LoadBalancer objects

Required: No

networkConfiguration

The network configuration for a task or service.

Type: NetworkConfiguration object

Required: No

platformFamily

The platform family the service revision uses.

Type: String

Required: No

platformVersion

For the Fargate launch type, the platform version the service revision uses.

Type: String

Required: No

serviceArn

The ARN of the service for the service revision.

Type: String

Required: No

serviceConnectConfiguration

The Service Connect configuration of your Amazon ECS service. 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.

Type: ServiceConnectConfiguration object

Required: No

serviceRegistries

The service registries (for Service Discovery) the service revision uses.

Type: Array of ServiceRegistry objects

Required: No

serviceRevisionArn

The ARN of the service revision.

Type: String

Required: No

taskDefinition

The task definition the service revision uses.

Type: String

Required: No

volumeConfigurations

The volumes that are configured at deployment that the service revision uses.

Type: Array of ServiceVolumeConfiguration objects

Required: No

vpcLatticeConfigurations

The VPC Lattice configuration for the service revision.

Type: Array of VpcLatticeConfiguration objects

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: