NatGatewayConfiguration.fromMap constructor
NatGatewayConfiguration.fromMap(
- Map<String, dynamic> map
)
Implementation
factory NatGatewayConfiguration.fromMap(Map<String, dynamic> map) {
return NatGatewayConfiguration(
elasticIpAllocationIds: (() { final guardedValue = map['elasticIpAllocationIds']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
strategy: pulumi.Input.fromValue(NatGatewayStrategy.fromValue(map['strategy']! as String)),
);
}