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.
arnARN of the task setavailabilityZoneRebalancingWhether Availability Zone rebalancing is enabledcapacityProviderStrategiesCapacity provider strategy for the service. SeecapacityProviderStrategyBlock for details.clusterArnOptional.createdAtTime when task set was created (RFC3339 format)createdByPrincipal that created the servicedeploymentConfigurationsDeployment configuration for the service. SeedeploymentConfigurationBlock for details.deploymentControllersDeployment controller configuration. SeedeploymentControllerBlock for details.deploymentsCurrent deployments for the service. SeedeploymentsBlock for details.desiredCountDesired number of tasksenableEcsManagedTagsWhether ECS managed tags are enabledenableExecuteCommandWhether execute command functionality is enabledeventsRecent service events. SeeeventsBlock for details.healthCheckGracePeriodSecondsGrace period for health checksiamRoleARN of the IAM role associated with the serviceidThe provider-assigned unique ID for this managed resource.launchTypeLaunch type for the ECS ServiceloadBalancersLoad balancers for the ECS Service. SeeloadBalancerBlock for details.networkConfigurationsNetwork configuration for the service. SeenetworkConfigurationBlock for details.orderedPlacementStrategiesPlacement strategy for tasks. SeeorderedPlacementStrategyBlock for details.pendingCountNumber of pending tasksplacementConstraintsPlacement constraints for tasks. SeeplacementConstraintsBlock for details.platformFamilyPlatform family for Fargate tasksplatformVersionPlatform version for Fargate taskspropagateTagsWhether tags are propagated from task definition or serviceregionOptional.runningCountNumber of running tasksschedulingStrategyScheduling strategy for the ECS ServiceserviceNameOptional.serviceRegistriesService discovery registries. SeeserviceRegistriesBlock for details.statusTask set statustagsResource tags.taskDefinitionTask definition ARNtaskSetsTask sets for the service. SeetaskSetsBlock 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
capacityProviderStrategyBlock 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
deploymentConfigurationBlock for details.final -
deploymentControllers
→ List<
GetServiceDeploymentController> ? -
Deployment controller configuration. See
deploymentControllerBlock for details.final -
deployments
→ List<
GetServiceDeployment> ? -
Current deployments for the service. See
deploymentsBlock 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
eventsBlock 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
loadBalancerBlock for details.final -
networkConfigurations
→ List<
GetServiceNetworkConfiguration> ? -
Network configuration for the service. See
networkConfigurationBlock for details.final -
orderedPlacementStrategies
→ List<
GetServiceOrderedPlacementStrategy> ? -
Placement strategy for tasks. See
orderedPlacementStrategyBlock for details.final - pendingCount → int?
-
Number of pending tasks
final
-
placementConstraints
→ List<
GetServicePlacementConstraint> ? -
Placement constraints for tasks. See
placementConstraintsBlock 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
serviceRegistriesBlock for details.final - status → String?
-
Task set status
final
-
Resource tags.
final
- taskDefinition → String?
-
Task definition ARN
final
-
taskSets
→ List<
GetServiceTaskSet> ? -
Task sets for the service. See
taskSetsBlock 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