BatchEnvironmentConfigExecutionConfig.fromMap constructor

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

Implementation

factory BatchEnvironmentConfigExecutionConfig.fromMap(Map<String, dynamic> map) {
  return BatchEnvironmentConfigExecutionConfig(
    authenticationConfig: (() { final guardedValue = map['authenticationConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(BatchEnvironmentConfigExecutionConfigAuthenticationConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    kmsKey: (() { final guardedValue = map['kmsKey']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    networkTags: (() { final guardedValue = map['networkTags']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
    networkUri: (() { final guardedValue = map['networkUri']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    serviceAccount: (() { final guardedValue = map['serviceAccount']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    stagingBucket: (() { final guardedValue = map['stagingBucket']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    subnetworkUri: (() { final guardedValue = map['subnetworkUri']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    ttl: (() { final guardedValue = map['ttl']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}