UserStackAssociationArgs.fromMap constructor

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

Implementation

factory UserStackAssociationArgs.fromMap(Map<String, dynamic> map) {
  return UserStackAssociationArgs(
    authenticationType: pulumi.Input.fromValue(map['authenticationType'] as String),
    region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    sendEmailNotification: (() { final guardedValue = map['sendEmailNotification']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    stackName: pulumi.Input.fromValue(map['stackName'] as String),
    userName: pulumi.Input.fromValue(map['userName'] as String),
  );
}