EcsServiceSchema
Hierarchy
- BaseResourceSchema
- EcsServiceSchema
Index
Properties
inheritedlocalResourceId
The ID the resource was created with, unique within its scope.
inheritedparents
The resources this one is built on top of.
properties
Input properties.
properties.assignPublicIp: The public IP address type. Valid values areENABLEDorDISABLED.properties.awsAccountId: The AWS account ID.properties.awsRegionId: The AWS region ID.properties.clusterName: The name of the cluster the service runs in.properties.desiredCount: The desired number of tasks.properties.loadBalancers: The load balancers to use. See EcsServiceLoadBalancerSchema for options.properties.serviceName: The name of the service.
Type declaration
assignPublicIp: ENABLED | DISABLED
awsAccountId: string
awsRegionId: string
clusterName: string
desiredCount: number
loadBalancers: EcsServiceLoadBalancerSchema[]
serviceName: string
inheritedresourceId
The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash
of its scope when it has one.
response
Saved response.
response.serviceArn: The ARN of the service.
Type declaration
optionalserviceArn?: string
inheritedscope
The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.
inheritedtags
The tags applied to the resource.
Type declaration
[key string]: string
EcsServiceSchemais the schema of theEcsServiceresource: an ECS service, which keeps a number of tasks of one task definition running. Terraform provisions it asaws_ecs_service.Resources/EcsService
parents - This resource has parents.
resourceId - The resource id is of format
ecs-service-<execution-id>