interface IMonitorableFleet
Language | Type name |
---|---|
![]() | aws_rfdk.IMonitorableFleet |
![]() | aws-rfdk » IMonitorableFleet |
Implemented by
Worker
Interface for the fleet which can be registered to Health Monitor.
This declares methods to be implemented by different kind of fleets like ASG, Spot etc.
Properties
Name | Type | Description |
---|---|---|
connections | Connections | The network connections associated with this resource. |
target | number | This field expects the maximum instance count this fleet can have. |
target | IMetric | This field expects the base capacity metric of the fleet against which, the healthy percent will be calculated. |
target | Construct | This field expects the scope in which to create the monitoring resource like TargetGroups, Listener etc. |
target | IApplication | This field expects the component of type IApplicationLoadBalancerTarget which can be attached to Application Load Balancer for monitoring. |
target | IPolicy | This field expects a policy which can be attached to the lambda execution role so that it is capable of suspending the fleet. |
connections
Type:
Connections
The network connections associated with this resource.
targetCapacity
Type:
number
This field expects the maximum instance count this fleet can have.
eg.: maxCapacity for an ASG
targetCapacityMetric
Type:
IMetric
This field expects the base capacity metric of the fleet against which, the healthy percent will be calculated.
eg.: GroupDesiredCapacity for an ASG
targetScope
Type:
Construct
This field expects the scope in which to create the monitoring resource like TargetGroups, Listener etc.
targetToMonitor
Type:
IApplication
This field expects the component of type IApplicationLoadBalancerTarget which can be attached to Application Load Balancer for monitoring.
eg. An AutoScalingGroup
targetUpdatePolicy
Type:
IPolicy
This field expects a policy which can be attached to the lambda execution role so that it is capable of suspending the fleet.
eg.: autoscaling:UpdateAutoScalingGroup permission for an ASG