GetBudgetNotification.fromMap constructor

GetBudgetNotification.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetBudgetNotification.fromMap(Map<String, dynamic> map) {
  return GetBudgetNotification(
    comparisonOperator: pulumi.Input.fromValue(map['comparisonOperator'] as String),
    notificationType: pulumi.Input.fromValue(map['notificationType'] as String),
    subscriberEmailAddresses: pulumi.Input.fromValue((map['subscriberEmailAddresses'] as List).cast<String>()),
    subscriberSnsTopicArns: pulumi.Input.fromValue((map['subscriberSnsTopicArns'] as List).cast<String>()),
    threshold: pulumi.Input.fromValue((map['threshold'] as num).toDouble()),
    thresholdType: pulumi.Input.fromValue(map['thresholdType'] as String),
  );
}