toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'arn': ?arn,
'associatePublicIpAddress': ?associatePublicIpAddress,
'ebsBlockDevices': ?(() { final guardedValue = ebsBlockDevices; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetLaunchConfigurationEbsBlockDevice, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'ebsOptimized': ?ebsOptimized,
'enableMonitoring': ?enableMonitoring,
'ephemeralBlockDevices': ?(() { final guardedValue = ephemeralBlockDevices; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetLaunchConfigurationEphemeralBlockDevice, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'iamInstanceProfile': ?iamInstanceProfile,
'id': ?id,
'imageId': ?imageId,
'instanceType': ?instanceType,
'keyName': ?keyName,
'metadataOptions': ?(() { final guardedValue = metadataOptions; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetLaunchConfigurationMetadataOption, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'name': ?name,
'placementTenancy': ?placementTenancy,
'region': ?region,
'rootBlockDevices': ?(() { final guardedValue = rootBlockDevices; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetLaunchConfigurationRootBlockDevice, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'securityGroups': ?securityGroups,
'spotPrice': ?spotPrice,
'userData': ?userData,
};
}