GetLaunchTemplateInstanceMarketOption.fromMap constructor
GetLaunchTemplateInstanceMarketOption.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetLaunchTemplateInstanceMarketOption.fromMap(Map<String, dynamic> map) {
return GetLaunchTemplateInstanceMarketOption(
marketType: pulumi.Input.fromValue(map['marketType'] as String),
spotOptions: pulumi.Input.fromValue(pulumi.Input.decodeList<GetLaunchTemplateInstanceMarketOptionSpotOption>(map['spotOptions']!, (value) => GetLaunchTemplateInstanceMarketOptionSpotOption.fromMap((value as Map).cast<String, dynamic>()))),
);
}