TaskDefinitionMountPoint.fromMap constructor

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

Implementation

factory TaskDefinitionMountPoint.fromMap(Map<String, dynamic> map) {
  return TaskDefinitionMountPoint(
    containerPath: (() { final guardedValue = map['containerPath']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    readOnly: (() { final guardedValue = map['readOnly']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    sourceVolume: (() { final guardedValue = map['sourceVolume']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}