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