AssociationOutputLocation.fromMap constructor

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

Implementation

factory AssociationOutputLocation.fromMap(Map<String, dynamic> map) {
  return AssociationOutputLocation(
    s3BucketName: pulumi.Input.fromValue(map['s3BucketName'] as String),
    s3KeyPrefix: (() { final guardedValue = map['s3KeyPrefix']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    s3Region: (() { final guardedValue = map['s3Region']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}