DistributionConfigurationDistributionLaunchTemplateConfiguration.fromMap constructor

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

Implementation

factory DistributionConfigurationDistributionLaunchTemplateConfiguration.fromMap(Map<String, dynamic> map) {
  return DistributionConfigurationDistributionLaunchTemplateConfiguration(
    accountId: (() { final guardedValue = map['accountId']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    default_: (() { final guardedValue = map['default']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    launchTemplateId: pulumi.Input.fromValue(map['launchTemplateId'] as String),
  );
}