ConfigurationSetEventDestinationArgs.fromMap constructor

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

Implementation

factory ConfigurationSetEventDestinationArgs.fromMap(Map<String, dynamic> map) {
  return ConfigurationSetEventDestinationArgs(
    configurationSetName: pulumi.Input.fromValue(map['configurationSetName'] as String),
    eventDestination: pulumi.Input.fromValue(ConfigurationSetEventDestinationEventDestination.fromMap((map['eventDestination']! as Map).cast<String, dynamic>())),
    eventDestinationName: pulumi.Input.fromValue(map['eventDestinationName'] as String),
    region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}