Skip to main content

service

Gets an individual service resource

Overview

Nameservice
TypeResource
Descriptionservice
Idawscc.ecs.service

Fields

NameDatatypeDescription
service_arnstring
capacity_provider_strategyarray
clusterstring
deployment_configurationobject
deployment_controllerobject
desired_countinteger
enable_ecs_managed_tagsboolean
enable_execute_commandboolean
health_check_grace_period_secondsinteger
launch_typestring
load_balancersarray
namestring
network_configurationobject
placement_constraintsarray
placement_strategiesarray
platform_versionstring
propagate_tagsstring
rolestring
scheduling_strategystring
service_connect_configurationobject
service_namestring
service_registriesarray
tagsarray
task_definitionstring
volume_configurationsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
service_arn,
capacity_provider_strategy,
cluster,
deployment_configuration,
deployment_controller,
desired_count,
enable_ecs_managed_tags,
enable_execute_command,
health_check_grace_period_seconds,
launch_type,
load_balancers,
name,
network_configuration,
placement_constraints,
placement_strategies,
platform_version,
propagate_tags,
role,
scheduling_strategy,
service_connect_configuration,
service_name,
service_registries,
tags,
task_definition,
volume_configurations
FROM awscc.ecs.service
WHERE data__Identifier = '<ServiceArn>|<Cluster>';

Permissions

To operate on the service resource, the following permissions are required:

Read

ecs:DescribeServices

Update

ecs:DescribeServices,
ecs:ListTagsForResource,
ecs:TagResource,
ecs:UntagResource,
ecs:UpdateService

Delete

ecs:DeleteService,
ecs:DescribeServices