OutboundConnectionArgs.fromMap constructor

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

Implementation

factory OutboundConnectionArgs.fromMap(Map<String, dynamic> map) {
  return OutboundConnectionArgs(
    acceptConnection: (() { final guardedValue = map['acceptConnection']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    connectionAlias: pulumi.Input.fromValue(map['connectionAlias'] as String),
    connectionMode: (() { final guardedValue = map['connectionMode']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    connectionProperties: (() { final guardedValue = map['connectionProperties']; if (guardedValue == null) return null; return pulumi.Input.fromValue(OutboundConnectionConnectionProperties.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    localDomainInfo: pulumi.Input.fromValue(OutboundConnectionLocalDomainInfo.fromMap((map['localDomainInfo']! as Map).cast<String, dynamic>())),
    region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    remoteDomainInfo: pulumi.Input.fromValue(OutboundConnectionRemoteDomainInfo.fromMap((map['remoteDomainInfo']! as Map).cast<String, dynamic>())),
  );
}