CustomRoutingEndpointGroupArgs.fromMap constructor
CustomRoutingEndpointGroupArgs.fromMap(
- Map<String, dynamic> map
)
Implementation
factory CustomRoutingEndpointGroupArgs.fromMap(Map<String, dynamic> map) {
return CustomRoutingEndpointGroupArgs(
destinationConfigurations: pulumi.Input.fromValue(pulumi.Input.decodeList<CustomRoutingEndpointGroupDestinationConfiguration>(map['destinationConfigurations']!, (value) => CustomRoutingEndpointGroupDestinationConfiguration.fromMap((value as Map).cast<String, dynamic>()))),
endpointConfigurations: (() { final guardedValue = map['endpointConfigurations']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<CustomRoutingEndpointGroupEndpointConfiguration>(guardedValue, (value) => CustomRoutingEndpointGroupEndpointConfiguration.fromMap((value as Map).cast<String, dynamic>()))); })(),
endpointGroupRegion: (() { final guardedValue = map['endpointGroupRegion']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
listenerArn: pulumi.Input.fromValue(map['listenerArn'] as String),
);
}