GetServiceResult class

Result data returned by getService.

Constructors

GetServiceResult({String? arn, String? availabilityZoneRebalancing, List<GetServiceCapacityProviderStrategy>? capacityProviderStrategies, String? clusterArn, String? createdAt, String? createdBy, List<GetServiceDeploymentConfiguration>? deploymentConfigurations, List<GetServiceDeploymentController>? deploymentControllers, List<GetServiceDeployment>? deployments, int? desiredCount, bool? enableEcsManagedTags, bool? enableExecuteCommand, List<GetServiceEvent>? events, int? healthCheckGracePeriodSeconds, String? iamRole, String? id, String? launchType, List<GetServiceLoadBalancer>? loadBalancers, List<GetServiceNetworkConfiguration>? networkConfigurations, List<GetServiceOrderedPlacementStrategy>? orderedPlacementStrategies, int? pendingCount, List<GetServicePlacementConstraint>? placementConstraints, String? platformFamily, String? platformVersion, String? propagateTags, String? region, int? runningCount, String? schedulingStrategy, String? serviceName, List<GetServiceServiceRegistry>? serviceRegistries, String? status, Map<String, String>? tags, String? taskDefinition, List<GetServiceTaskSet>? taskSets})
Creates a new GetServiceResult. arn ARN of the task set availabilityZoneRebalancing Whether Availability Zone rebalancing is enabled capacityProviderStrategies Capacity provider strategy for the service. See capacityProviderStrategy Block for details. clusterArn Optional. createdAt Time when task set was created (RFC3339 format) createdBy Principal that created the service deploymentConfigurations Deployment configuration for the service. See deploymentConfiguration Block for details. deploymentControllers Deployment controller configuration. See deploymentController Block for details. deployments Current deployments for the service. See deployments Block for details. desiredCount Desired number of tasks enableEcsManagedTags Whether ECS managed tags are enabled enableExecuteCommand Whether execute command functionality is enabled events Recent service events. See events Block for details. healthCheckGracePeriodSeconds Grace period for health checks iamRole ARN of the IAM role associated with the service id The provider-assigned unique ID for this managed resource. launchType Launch type for the ECS Service loadBalancers Load balancers for the ECS Service. See loadBalancer Block for details. networkConfigurations Network configuration for the service. See networkConfiguration Block for details. orderedPlacementStrategies Placement strategy for tasks. See orderedPlacementStrategy Block for details. pendingCount Number of pending tasks placementConstraints Placement constraints for tasks. See placementConstraints Block for details. platformFamily Platform family for Fargate tasks platformVersion Platform version for Fargate tasks propagateTags Whether tags are propagated from task definition or service region Optional. runningCount Number of running tasks schedulingStrategy Scheduling strategy for the ECS Service serviceName Optional. serviceRegistries Service discovery registries. See serviceRegistries Block for details. status Task set status tags Resource tags. taskDefinition Task definition ARN taskSets Task sets for the service. See taskSets Block for details.
const
GetServiceResult.fromMap(Map<String, dynamic> map)
factory

Properties

arn → String?
ARN of the task set
final
availabilityZoneRebalancing → String?
Whether Availability Zone rebalancing is enabled
final
capacityProviderStrategies → List<GetServiceCapacityProviderStrategy>?
Capacity provider strategy for the service. See capacityProviderStrategy Block for details.
final
clusterArn → String?
final
createdAt → String?
Time when task set was created (RFC3339 format)
final
createdBy → String?
Principal that created the service
final
deploymentConfigurations → List<GetServiceDeploymentConfiguration>?
Deployment configuration for the service. See deploymentConfiguration Block for details.
final
deploymentControllers → List<GetServiceDeploymentController>?
Deployment controller configuration. See deploymentController Block for details.
final
deployments → List<GetServiceDeployment>?
Current deployments for the service. See deployments Block for details.
final
desiredCount → int?
Desired number of tasks
final
enableEcsManagedTags → bool?
Whether ECS managed tags are enabled
final
enableExecuteCommand → bool?
Whether execute command functionality is enabled
final
events → List<GetServiceEvent>?
Recent service events. See events Block for details.
final
hashCode → int
The hash code for this object.
no setterinherited
healthCheckGracePeriodSeconds → int?
Grace period for health checks
final
iamRole → String?
ARN of the IAM role associated with the service
final
id → String?
The provider-assigned unique ID for this managed resource.
final
launchType → String?
Launch type for the ECS Service
final
loadBalancers → List<GetServiceLoadBalancer>?
Load balancers for the ECS Service. See loadBalancer Block for details.
final
networkConfigurations → List<GetServiceNetworkConfiguration>?
Network configuration for the service. See networkConfiguration Block for details.
final
orderedPlacementStrategies → List<GetServiceOrderedPlacementStrategy>?
Placement strategy for tasks. See orderedPlacementStrategy Block for details.
final
pendingCount → int?
Number of pending tasks
final
placementConstraints → List<GetServicePlacementConstraint>?
Placement constraints for tasks. See placementConstraints Block for details.
final
platformFamily → String?
Platform family for Fargate tasks
final
platformVersion → String?
Platform version for Fargate tasks
final
propagateTags → String?
Whether tags are propagated from task definition or service
final
region → String?
final
runningCount → int?
Number of running tasks
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schedulingStrategy → String?
Scheduling strategy for the ECS Service
final
serviceName → String?
final
serviceRegistries → List<GetServiceServiceRegistry>?
Service discovery registries. See serviceRegistries Block for details.
final
status → String?
Task set status
final
tags → Map<String, String>?
Resource tags.
final
taskDefinition → String?
Task definition ARN
final
taskSets → List<GetServiceTaskSet>?
Task sets for the service. See taskSets Block for details.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited