toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final targetTrackingScalingPolicyConfiguration =
      this.targetTrackingScalingPolicyConfiguration;
  final policyName = this.policyName;
  return {
    'TargetTrackingScalingPolicyConfiguration':
        targetTrackingScalingPolicyConfiguration,
    if (policyName != null) 'PolicyName': policyName,
  };
}