service
Gets an individual service
resource
Overview
Name | service |
Type | Resource |
Description | service |
Id | awscc.ecs.service |
Fields
Name | Datatype | Description |
---|---|---|
service_arn | string | |
capacity_provider_strategy | array | |
cluster | string | |
deployment_configuration | object | |
deployment_controller | object | |
desired_count | integer | |
enable_ecs_managed_tags | boolean | |
enable_execute_command | boolean | |
health_check_grace_period_seconds | integer | |
launch_type | string | |
load_balancers | array | |
name | string | |
network_configuration | object | |
placement_constraints | array | |
placement_strategies | array | |
platform_version | string | |
propagate_tags | string | |
role | string | |
scheduling_strategy | string | |
service_connect_configuration | object | |
service_name | string | |
service_registries | array | |
tags | array | |
task_definition | string | |
volume_configurations | array | |
region | string | AWS 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