CustomPluginLocationS3.fromMap constructor

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

Implementation

factory CustomPluginLocationS3.fromMap(Map<String, dynamic> map) {
  return CustomPluginLocationS3(
    bucketArn: pulumi.Input.fromValue(map['bucketArn'] as String),
    fileKey: pulumi.Input.fromValue(map['fileKey'] as String),
    objectVersion: (() { final guardedValue = map['objectVersion']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}