AutoScalingTargetTrackingScalingPolicyConfigurationDescription.fromJson constructor

AutoScalingTargetTrackingScalingPolicyConfigurationDescription.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AutoScalingTargetTrackingScalingPolicyConfigurationDescription.fromJson(
    Map<String, dynamic> json) {
  return AutoScalingTargetTrackingScalingPolicyConfigurationDescription(
    targetValue: json['TargetValue'] as double,
    disableScaleIn: json['DisableScaleIn'] as bool?,
    scaleInCooldown: json['ScaleInCooldown'] as int?,
    scaleOutCooldown: json['ScaleOutCooldown'] as int?,
  );
}