ServiceRevision¶
Structure Class¶
ServiceRevision
dataclass
¶
Bases: _SerdeShape
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 .
Attributes¶
capacity_provider_strategy
class-attribute
instance-attribute
¶
capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ...
The capacity provider strategy the service revision uses.
cluster_arn
class-attribute
instance-attribute
¶
cluster_arn: str | None = ...
The ARN of the cluster that hosts the service.
container_images
class-attribute
instance-attribute
¶
container_images: list[ContainerImage] | None = ...
The container images the service revision uses.
created_at
class-attribute
instance-attribute
¶
created_at: datetime | None = ...
The time that the service revision was created. The format is yyyy-mm-dd
HHss.SSSSS.
ecs_managed_resources
class-attribute
instance-attribute
¶
ecs_managed_resources: ECSManagedResources | None = ...
The resources created and managed by Amazon ECS when you create an Express service for Amazon ECS.
fargate_ephemeral_storage
class-attribute
instance-attribute
¶
fargate_ephemeral_storage: DeploymentEphemeralStorage | None = ...
The amount of ephemeral storage to allocate for the deployment.
gateway_connectors
class-attribute
instance-attribute
¶
gateway_connectors: list[GatewayConnector] | None = ...
The gateway connectors that are associated with the service revision.
guard_duty_enabled
class-attribute
instance-attribute
¶
guard_duty_enabled: bool = ...
Indicates whether Runtime Monitoring is turned on.
launch_type
class-attribute
instance-attribute
¶
launch_type: str | None = ...
The launch type the service revision uses.
load_balancers
class-attribute
instance-attribute
¶
load_balancers: list[LoadBalancer] | None = ...
The load balancers the service revision uses.
monitoring
class-attribute
instance-attribute
¶
monitoring: MonitoringConfiguration | None = ...
The optional monitoring configuration for the service, which defines the
resolution for the service-level CPUUtilization and
MemoryUtilization Amazon CloudWatch metrics. When not specified,
Amazon ECS uses the default resolution of 60 seconds.
network_configuration
class-attribute
instance-attribute
¶
network_configuration: NetworkConfiguration | None = ...
The network configuration for a task or service.
overrides
class-attribute
instance-attribute
¶
overrides: ServiceRevisionOverrides | None = ...
The effective runtime overrides that Amazon ECS applies to this service revision. This value is present only when Amazon ECS detects a difference between the task definition and the actual runtime configuration.
platform_family
class-attribute
instance-attribute
¶
platform_family: str | None = ...
The platform family the service revision uses.
platform_version
class-attribute
instance-attribute
¶
platform_version: str | None = ...
For the Fargate launch type, the platform version the service revision uses.
resolved_configuration
class-attribute
instance-attribute
¶
resolved_configuration: ResolvedConfiguration | None = ...
The resolved configuration for the service revision which contains the actual resources your service revision uses, such as which target groups serve traffic.
service_arn
class-attribute
instance-attribute
¶
service_arn: str | None = ...
The ARN of the service for the service revision.
service_connect_configuration
class-attribute
instance-attribute
¶
service_connect_configuration: ServiceConnectConfiguration | None = ...
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.
service_registries
class-attribute
instance-attribute
¶
service_registries: list[ServiceRegistry] | None = ...
The service registries (for Service Discovery) the service revision uses.
service_revision_arn
class-attribute
instance-attribute
¶
service_revision_arn: str | None = ...
The ARN of the service revision.
task_definition
class-attribute
instance-attribute
¶
task_definition: str | None = ...
The task definition the service revision uses.
volume_configurations
class-attribute
instance-attribute
¶
volume_configurations: list[ServiceVolumeConfiguration] | None = ...
The volumes that are configured at deployment that the service revision uses.
vpc_lattice_configurations
class-attribute
instance-attribute
¶
vpc_lattice_configurations: list[VpcLatticeConfiguration] | None = ...
The VPC Lattice configuration for the service revision.